diff options
author | Wink Saville <wink@google.com> | 2014-04-15 22:04:10 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2014-04-15 22:04:10 -0700 |
commit | 070e061a289d771e62b58379eaed153fd285b04f (patch) | |
tree | dbc82d648122cb348396e7385bcc77c075a6ff67 /telephony/java/com | |
parent | dc800e85138f3ab57303a879b3e1abd109b90247 (diff) | |
download | frameworks_base-070e061a289d771e62b58379eaed153fd285b04f.zip frameworks_base-070e061a289d771e62b58379eaed153fd285b04f.tar.gz frameworks_base-070e061a289d771e62b58379eaed153fd285b04f.tar.bz2 |
Add LISTEN_DATA_CONNECTIPON_REAL_TIME_INFO as listen event
Also added DataConnectionRealTimeInfo structure which passed as a
parameter to onDataConnectionRealTimeInfoChanged.
Change-Id: Iadcbf9765af57c125bcdf74e3fc652ed6c8f7d42
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl | 2 | ||||
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl b/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl index f228d4e..3f36645 100644 --- a/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl +++ b/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl @@ -20,6 +20,7 @@ import android.os.Bundle; import android.telephony.ServiceState; import android.telephony.SignalStrength; import android.telephony.CellInfo; +import android.telephony.DataConnectionRealTimeInfo; import android.telephony.PreciseCallState; import android.telephony.PreciseDataConnectionState; @@ -39,5 +40,6 @@ oneway interface IPhoneStateListener { void onCellInfoChanged(in List<CellInfo> cellInfo); void onPreciseCallStateChanged(in PreciseCallState callState); void onPreciseDataConnectionStateChanged(in PreciseDataConnectionState dataConnectionState); + void onDataConnectionRealTimeInfoChanged(in DataConnectionRealTimeInfo dcRtInfo); } diff --git a/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl b/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl index 546ce17..8ea9b0d 100644 --- a/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl @@ -20,9 +20,10 @@ import android.content.Intent; import android.net.LinkProperties; import android.net.LinkCapabilities; import android.os.Bundle; +import android.telephony.CellInfo; +import android.telephony.DataConnectionRealTimeInfo; import android.telephony.ServiceState; import android.telephony.SignalStrength; -import android.telephony.CellInfo; import com.android.internal.telephony.IPhoneStateListener; interface ITelephonyRegistry { @@ -46,4 +47,5 @@ interface ITelephonyRegistry { void notifyDisconnectCause(int disconnectCause, int preciseDisconnectCause); void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause); + void notifyDataConnectionRealTimeInfo(in DataConnectionRealTimeInfo dcRtInfo); } |