diff options
author | ram <ram.pl@samsung.com> | 2014-07-16 21:38:42 +0530 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2014-07-24 17:36:17 +0000 |
commit | ab458a18583e5dc9984210c3b4cc01dabcb1b39f (patch) | |
tree | 1c39c73b6972f8ec9e5c6c55d3d96e6e8381c0ff /telephony | |
parent | 0bf65d2d71d20d8e3e0bd24be4bd97bb208ef443 (diff) | |
download | frameworks_base-ab458a18583e5dc9984210c3b4cc01dabcb1b39f.zip frameworks_base-ab458a18583e5dc9984210c3b4cc01dabcb1b39f.tar.gz frameworks_base-ab458a18583e5dc9984210c3b4cc01dabcb1b39f.tar.bz2 |
IMS: Adding ims on/off interface files and callback for enabled/disabled features.
Change-Id: I4e0049d605d9e7d13035c43e2504cdfb67a7a102
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl | 11 | ||||
-rw-r--r-- | telephony/java/com/android/ims/internal/IImsService.aidl | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl index 5f243a0..1413e58 100644 --- a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl @@ -55,4 +55,15 @@ interface IImsRegistrationListener { * Else ({@code event} is 1), meaning the specified service is added to the IMS connection. */ void registrationServiceCapabilityChanged(int serviceClass, int event); + + /** + * Notifies the application when features on a particular service enabled or + * disabled successfully based on user preferences. + * + * @param serviceClass a service class specified in {@link ImsServiceClass} + * @param enabledFeatures features enabled as defined in com.android.ims.ImsConfig#FeatureConstants. + * @param disabledFeatures features disabled as defined in com.android.ims.ImsConfig#FeatureConstants. + */ + void registrationFeatureCapabilityChanged(int serviceClass, + out int[] enabledFeatures, out int[] disabledFeatures); } diff --git a/telephony/java/com/android/ims/internal/IImsService.aidl b/telephony/java/com/android/ims/internal/IImsService.aidl index d992124..869cd9f 100644 --- a/telephony/java/com/android/ims/internal/IImsService.aidl +++ b/telephony/java/com/android/ims/internal/IImsService.aidl @@ -51,4 +51,15 @@ interface IImsService { * Config interface to get/set IMS service/capability parameters. */ IImsConfig getConfigInterface(); + + /** + * Used for turning on IMS when its in OFF state. + */ + void turnOnIms(); + + /** + * Used for turning off IMS when its in ON state. + * When IMS is OFF, device will behave as CSFB'ed. + */ + void turnOffIms(); } |