summaryrefslogtreecommitdiffstats
path: root/telephony/java/com/android/internal
diff options
context:
space:
mode:
authorJonathan Basseri <misterikkit@google.com>2015-02-25 13:01:52 -0800
committerJonathan Basseri <misterikkit@google.com>2015-04-15 16:06:51 -0700
commit3031bf961103ecc1caa32449a3cdb95575042278 (patch)
tree09662903f974666fc906839ffc56d0913253dd38 /telephony/java/com/android/internal
parent1cf9b6bec12c027a0d551540a6e01f3ac2d0a9d4 (diff)
downloadframeworks_base-3031bf961103ecc1caa32449a3cdb95575042278.zip
frameworks_base-3031bf961103ecc1caa32449a3cdb95575042278.tar.gz
frameworks_base-3031bf961103ecc1caa32449a3cdb95575042278.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/android/internal')
-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);
+}