summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorJake Hamby <jhamby@google.com>2014-03-03 13:27:20 -0800
committerJake Hamby <jhamby@google.com>2014-03-03 13:27:20 -0800
commit4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c (patch)
tree3ec3e712e95f61c9faeb0a3b3b12e4e0baee84f3 /telephony/java/com
parent03c6628f40a2e56a214990da127242707ff02b73 (diff)
downloadframeworks_base-4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c.zip
frameworks_base-4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c.tar.gz
frameworks_base-4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c.tar.bz2
Add get/setPreferredNetworkType() for OMA DM client.
Add get/setPreferredNetworkType() commands for OMA DM client. Bug: 8847590 Change-Id: Ia898d712b90ec583d61efe7385a5a1844d8beff1
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl17
1 files changed, 17 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index 554a9cb..7c338ac 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -403,4 +403,21 @@ interface ITelephony {
* @return true on success; false on any failure.
*/
boolean nvResetConfig(int resetType);
+
+ /**
+ * Get the preferred network type.
+ * Used for device configuration by some CDMA operators.
+ *
+ * @return the preferred network type, defined in RILConstants.java.
+ */
+ int getPreferredNetworkType();
+
+ /**
+ * Set the preferred network type.
+ * Used for device configuration by some CDMA operators.
+ *
+ * @param networkType the preferred network type, defined in RILConstants.java.
+ * @return true on success; false on any failure.
+ */
+ boolean setPreferredNetworkType(int networkType);
}