diff options
author | Narayan Kamath <narayan@google.com> | 2014-02-13 03:59:35 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-13 03:59:35 -0800 |
commit | 40f12d98248a8b4a6a34fc43538e349bda4289ef (patch) | |
tree | 25410ebf4aa407776c823a5c7295c18b5a9b4c4d /telephony/java/com | |
parent | 78d659870fda5e2c195d2b548a1e9a018cb3afc3 (diff) | |
parent | 005151484546fb0bf7f83c5a6ee065715230bf26 (diff) | |
download | frameworks_base-40f12d98248a8b4a6a34fc43538e349bda4289ef.zip frameworks_base-40f12d98248a8b4a6a34fc43538e349bda4289ef.tar.gz frameworks_base-40f12d98248a8b4a6a34fc43538e349bda4289ef.tar.bz2 |
am 00515148: resolved conflicts for merge of 396b9e79 to master
* commit '005151484546fb0bf7f83c5a6ee065715230bf26':
Telephony API extension v2
Diffstat (limited to 'telephony/java/com')
3 files changed, 11 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl b/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl index 3a04ceb..f228d4e 100644 --- a/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl +++ b/telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl @@ -20,6 +20,8 @@ import android.os.Bundle; import android.telephony.ServiceState; import android.telephony.SignalStrength; import android.telephony.CellInfo; +import android.telephony.PreciseCallState; +import android.telephony.PreciseDataConnectionState; oneway interface IPhoneStateListener { void onServiceStateChanged(in ServiceState serviceState); @@ -35,5 +37,7 @@ oneway interface IPhoneStateListener { void onSignalStrengthsChanged(in SignalStrength signalStrength); void onOtaspChanged(in int otaspMode); void onCellInfoChanged(in List<CellInfo> cellInfo); + void onPreciseCallStateChanged(in PreciseCallState callState); + void onPreciseDataConnectionStateChanged(in PreciseDataConnectionState dataConnectionState); } diff --git a/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl b/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl index 59c8472..546ce17 100644 --- a/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl @@ -41,4 +41,9 @@ interface ITelephonyRegistry { void notifyCellLocation(in Bundle cellLocation); void notifyOtaspChanged(in int otaspMode); void notifyCellInfo(in List<CellInfo> cellInfo); + void notifyPreciseCallState(int ringingCallState, int foregroundCallState, + int backgroundCallState); + void notifyDisconnectCause(int disconnectCause, int preciseDisconnectCause); + void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, + String failCause); } diff --git a/telephony/java/com/android/internal/telephony/PhoneConstants.java b/telephony/java/com/android/internal/telephony/PhoneConstants.java index ade024f..2dc48c5 100644 --- a/telephony/java/com/android/internal/telephony/PhoneConstants.java +++ b/telephony/java/com/android/internal/telephony/PhoneConstants.java @@ -74,6 +74,8 @@ public class PhoneConstants { public static final String PHONE_NAME_KEY = "phoneName"; public static final String FAILURE_REASON_KEY = "reason"; public static final String STATE_CHANGE_REASON_KEY = "reason"; + public static final String DATA_NETWORK_TYPE_KEY = "networkType"; + public static final String DATA_FAILURE_CAUSE_KEY = "failCause"; public static final String DATA_APN_TYPE_KEY = "apnType"; public static final String DATA_APN_KEY = "apn"; public static final String DATA_LINK_PROPERTIES_KEY = "linkProperties"; |