OSDN Git Service

Add IApnSourceService.aidl
authorJordan Liu <jminjie@google.com>
Tue, 23 May 2017 20:07:07 +0000 (13:07 -0700)
committerJordan Liu <jminjie@google.com>
Thu, 8 Jun 2017 22:56:38 +0000 (15:56 -0700)
This service is bound to by TelephonyProvider on devices where we don't
use the apns-conf.xml file.

Bug: 37283190
Test: manual
Change-Id: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
Merged-In: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508

Android.mk
telephony/java/com/android/internal/telephony/IApnSourceService.aidl [new file with mode: 0644]

index 435d571..5f759cb 100644 (file)
@@ -464,6 +464,7 @@ LOCAL_SRC_FILES += \
         telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
         telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
        telephony/java/com/android/ims/ImsConfigListener.aidl \
+       telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
        telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
        telephony/java/com/android/internal/telephony/IMms.aidl \
        telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
diff --git a/telephony/java/com/android/internal/telephony/IApnSourceService.aidl b/telephony/java/com/android/internal/telephony/IApnSourceService.aidl
new file mode 100644 (file)
index 0000000..07bb18b
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2017 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.internal.telephony;
+
+import android.content.ContentValues;
+
+interface IApnSourceService {
+    /** Retreive APNs. */
+    ContentValues[] getApns();
+}