diff options
author | Steve Kondik <steve@cyngn.com> | 2015-03-27 16:46:21 -0700 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2015-10-30 14:52:38 -0700 |
commit | c80ba1917a738fc26cc77006a8b6d187c4d0bf28 (patch) | |
tree | 357136110aba95dadb0b2c04f9a8fdcc4669878d /telephony/java/com | |
parent | 2a3eb6a8b1c0501c2a222ff0a9647121cfe90329 (diff) | |
download | frameworks_base-c80ba1917a738fc26cc77006a8b6d187c4d0bf28.zip frameworks_base-c80ba1917a738fc26cc77006a8b6d187c4d0bf28.tar.gz frameworks_base-c80ba1917a738fc26cc77006a8b6d187c4d0bf28.tar.bz2 |
telephony: Add compatibility version of registrationConnected()
* Assign ids to all methods and use new AIDL feature to generate
the correct code.
* This should ensure compatibility with proprietary IMS
implementations.
Change-Id: Ic710fdbc36dde918d98f33a9d583760a08a3d4cc
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl index c139170..2e94536 100644 --- a/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl +++ b/telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl @@ -31,7 +31,7 @@ interface IImsRegistrationListener { * @param imsRadioTech the radio access technology. Valid values are {@code * RIL_RADIO_TECHNOLOGY_*} defined in {@link ServiceState}. */ - void registrationConnected(int imsRadioTech); + void registrationConnected(int imsRadioTech) = 0; /** * Notifies the application when the device is trying to connect the IMS network. @@ -39,24 +39,24 @@ interface IImsRegistrationListener { * @param imsRadioTech the radio access technology. Valid values are {@code * RIL_RADIO_TECHNOLOGY_*} defined in {@link ServiceState}. */ - void registrationProgressing(int imsRadioTech); + void registrationProgressing(int imsRadioTech) = 1; /** * Notifies the application when the device is disconnected from the IMS network. */ - void registrationDisconnected(in ImsReasonInfo imsReasonInfo); + void registrationDisconnected(in ImsReasonInfo imsReasonInfo) = 2; /** * Notifies the application when its suspended IMS connection is resumed, * meaning the connection now allows throughput. */ - void registrationResumed(); + void registrationResumed() = 3; /** * Notifies the application when its current IMS connection is suspended, * meaning there is no data throughput. */ - void registrationSuspended(); + void registrationSuspended() = 4; /** * Notifies the application when its current IMS connection is updated @@ -67,7 +67,7 @@ interface IImsRegistrationListener { * If {@code event} is 0, meaning the specified service is removed from the IMS connection. * Else ({@code event} is 1), meaning the specified service is added to the IMS connection. */ - void registrationServiceCapabilityChanged(int serviceClass, int event); + void registrationServiceCapabilityChanged(int serviceClass, int event) = 5; /** * Notifies the application when features on a particular service enabled or @@ -78,11 +78,17 @@ interface IImsRegistrationListener { * @param disabledFeatures features disabled as defined in com.android.ims.ImsConfig#FeatureConstants. */ void registrationFeatureCapabilityChanged(int serviceClass, - out int[] enabledFeatures, out int[] disabledFeatures); + out int[] enabledFeatures, out int[] disabledFeatures) = 6; /** * Updates the application with the waiting voice message count. * @param count The number of waiting voice messages. */ - void voiceMessageCountUpdate(int count); + void voiceMessageCountUpdate(int count) = 7; + + /** + * Compatibility with AOSP + */ + void registrationConnected() = 8; + void registrationProgressing() = 9; } |