Home
last modified time | relevance | path

Searched refs:DataState (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java104 Phone.DataState state) { in notifyDataConnection()
109 Phone.DataState state) { in doNotifyDataConnection()
118 if (state == Phone.DataState.CONNECTED) { in doNotifyDataConnection()
205 public static int convertDataState(Phone.DataState state) { in convertDataState()
222 public static Phone.DataState convertDataState(int state) { in convertDataState()
225 return Phone.DataState.CONNECTING; in convertDataState()
227 return Phone.DataState.CONNECTED; in convertDataState()
229 return Phone.DataState.SUSPENDED; in convertDataState()
231 return Phone.DataState.DISCONNECTED; in convertDataState()
DPhoneNotifier.java38 Phone.DataState state); in notifyDataConnection()
DPhone.java75 enum DataState { enum
273 DataState getDataConnectionState(); in getDataConnectionState()
281 DataState getDataConnectionState(String apnType); in getDataConnectionState()
DDataConnectionTracker.java776 mPhone.notifyDataConnection(reason, apnIdToType(apnId), Phone.DataState.CONNECTING); in notifyApnIdUpToCurrent()
780 mPhone.notifyDataConnection(reason, apnIdToType(apnId), Phone.DataState.CONNECTING); in notifyApnIdUpToCurrent()
781 mPhone.notifyDataConnection(reason, apnIdToType(apnId), Phone.DataState.CONNECTED); in notifyApnIdUpToCurrent()
788 mPhone.notifyDataConnection(reason, apnIdToType(apnId), Phone.DataState.DISCONNECTED); in notifyApnIdDisconnected()
DPhoneBase.java816 Phone.DataState state) { in notifyDataConnection()
1140 public DataState getDataConnectionState() { in getDataConnectionState()
DPhoneProxy.java159 public DataState getDataConnectionState() { in getDataConnectionState()
163 public DataState getDataConnectionState(String apnType) { in getDataConnectionState()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCDMALTEPhone.java103 public DataState getDataConnectionState(String apnType) { in getDataConnectionState()
104 DataState ret = DataState.DISCONNECTED; in getDataConnectionState()
110 ret = DataState.DISCONNECTED; in getDataConnectionState()
112 ret = DataState.DISCONNECTED; in getDataConnectionState()
117 ret = DataState.DISCONNECTED; in getDataConnectionState()
123 ret = DataState.SUSPENDED; in getDataConnectionState()
125 ret = DataState.CONNECTED; in getDataConnectionState()
132 ret = DataState.CONNECTING; in getDataConnectionState()
DCDMAPhone.java618 public DataState getDataConnectionState(String apnType) { in getDataConnectionState()
619 DataState ret = DataState.DISCONNECTED; in getDataConnectionState()
625 ret = DataState.DISCONNECTED; in getDataConnectionState()
629 ret = DataState.DISCONNECTED; in getDataConnectionState()
632 ret = DataState.DISCONNECTED; in getDataConnectionState()
637 ret = DataState.DISCONNECTED; in getDataConnectionState()
644 ret = DataState.SUSPENDED; in getDataConnectionState()
646 ret = DataState.CONNECTED; in getDataConnectionState()
653 ret = DataState.CONNECTING; in getDataConnectionState()
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhoneBase.java150 public DataState getDataConnectionState() { in getDataConnectionState()
151 return DataState.DISCONNECTED; in getDataConnectionState()
154 public DataState getDataConnectionState(String apnType) { in getDataConnectionState()
155 return DataState.DISCONNECTED; in getDataConnectionState()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGSMPhone.java290 public DataState getDataConnectionState(String apnType) { in getDataConnectionState()
291 DataState ret = DataState.DISCONNECTED; in getDataConnectionState()
297 ret = DataState.DISCONNECTED; in getDataConnectionState()
302 ret = DataState.DISCONNECTED; in getDataConnectionState()
308 ret = DataState.DISCONNECTED; in getDataConnectionState()
313 ret = DataState.DISCONNECTED; in getDataConnectionState()
320 ret = DataState.SUSPENDED; in getDataConnectionState()
322 ret = DataState.CONNECTED; in getDataConnectionState()
329 ret = DataState.CONNECTING; in getDataConnectionState()
DGsmDataConnectionTracker.java470 mPhone.notifyDataConnection(reason, type, Phone.DataState.CONNECTING); in notifyApnIdUpToCurrent()
474 mPhone.notifyDataConnection(reason, type, Phone.DataState.CONNECTING); in notifyApnIdUpToCurrent()
475 mPhone.notifyDataConnection(reason, type, Phone.DataState.CONNECTED); in notifyApnIdUpToCurrent()
739 Phone.DataState.DISCONNECTED); in notifyOffApnsOfAvailability()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestPhoneNotifier.java51 Phone.DataState state) { in notifyDataConnection()
/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java62 private Phone.DataState mMobileDataState;
114 mMobileDataState = Phone.DataState.DISCONNECTED; in startMonitoring()
194 Phone.DataState state = Enum.valueOf(Phone.DataState.class, in onReceive()