summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorJonathan Basseri <misterikkit@google.com>2015-02-25 13:01:52 -0800
committerJunda Liu <junda@google.com>2015-04-16 11:40:33 -0700
commit9a1c9b67c4b2426884deb60c1ff84130ab47333c (patch)
tree55d55270aaa3fc809b182b454a410b725b4e808b /telephony/java/com
parent3f2631f526d0a0ac0b57ac9f6d241bcc7aeb5f5b (diff)
downloadframeworks_base-9a1c9b67c4b2426884deb60c1ff84130ab47333c.zip
frameworks_base-9a1c9b67c4b2426884deb60c1ff84130ab47333c.tar.gz
frameworks_base-9a1c9b67c4b2426884deb60c1ff84130ab47333c.tar.bz2
Adding Carrier Config API.
UICC privileged carrier apps will extend CarrierConfigService to provide carrier-specific configuration. Apps/services will use CarrierConfigManager to read the current configuration. CarrierConfigManager also defines the set of configuration variables and their default values. Bug: b/19483786 Change-Id: I027211b43276afd6fe893ae50048c52f2aed5cf5
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl31
1 files changed, 31 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl b/telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl
new file mode 100644
index 0000000..b5cdd9a
--- /dev/null
+++ b/telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2015 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.os.Bundle;
+
+/**
+ * Interface used to interact with the CarrierConfigLoader
+ */
+interface ICarrierConfigLoader {
+
+ Bundle getConfigForSubId(int subId);
+
+ void reloadCarrierConfigForSubId(int subId);
+
+ void updateConfigForPhoneId(int phoneId, String simState);
+}