Home
last modified time | relevance | path

Searched refs:DctConstants (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java99 import com.android.internal.telephony.DctConstants;
253 private static final DctConstants.State[] DATA_CONNECTION_STATE_PRIORITIES = {
254 DctConstants.State.IDLE,
255 DctConstants.State.DISCONNECTING,
256 DctConstants.State.CONNECTING,
257 DctConstants.State.CONNECTED,
365 sendMessage(obtainMessage(DctConstants.EVENT_SIM_STATE_UPDATED, simState, 0));
379 sendEmptyMessage(DctConstants.EVENT_CARRIER_CONFIG_CHANGED);
440 DctConstants.EVENT_ROAMING_SETTING_CHANGE); in registerSettingsObserver()
443 DctConstants.EVENT_DEVICE_PROVISIONED_CHANGE); in registerSettingsObserver()
[all …]
DApnContext.java30 import com.android.internal.telephony.DctConstants;
59 private DctConstants.State mState;
120 mState = DctConstants.State.IDLE; in ApnContext()
198 setState(DctConstants.State.IDLE); in releaseDataConnection()
291 public synchronized void setState(DctConstants.State s) { in setState()
299 if (mState == DctConstants.State.FAILED) { in setState()
311 public synchronized DctConstants.State getState() { in getState()
320 DctConstants.State currentState = getState(); in isDisconnected()
321 return ((currentState == DctConstants.State.IDLE) || in isDisconnected()
322 currentState == DctConstants.State.FAILED); in isDisconnected()
[all …]
DDcController.java33 import com.android.internal.telephony.DctConstants;
444 mDct.sendStopNetStatPoll(DctConstants.Activity.DORMANT); in onDataStateChanged()
452 mDct.sendStartNetStatPoll(DctConstants.Activity.NONE); in onDataStateChanged()
DDataConnection.java70 import com.android.internal.telephony.DctConstants;
869 notifyAllWithEvent(alreadySent, DctConstants.EVENT_DATA_SETUP_COMPLETE_ERROR, in notifyConnectCompleted()
904 notifyAllWithEvent(alreadySent, DctConstants.EVENT_DISCONNECT_DONE, reason); in notifyDisconnectCompleted()
1150 ? DctConstants.RAT_NAME_NR_NSA_MMWAVE : DctConstants.RAT_NAME_NR_NSA; in updateLinkBandwidthsFromCarrierConfig()
1185 ? DctConstants.RAT_NAME_NR_NSA_MMWAVE : DctConstants.RAT_NAME_NR_NSA; in updateLinkBandwidthsFromModem()
1735 if (isBandwidthSourceKey(DctConstants.BANDWIDTH_SOURCE_CARRIER_CONFIG_KEY)) { in processMessage()
1894 notifyAllWithEvent(null, DctConstants.EVENT_DISCONNECT_DONE, in enter()
2112 notifyAllWithEvent(null, DctConstants.EVENT_DATA_SETUP_COMPLETE, in enter()
2352 if (isBandwidthSourceKey(DctConstants.BANDWIDTH_SOURCE_CARRIER_CONFIG_KEY)) { in processMessage()
2374 if (isBandwidthSourceKey(DctConstants.BANDWIDTH_SOURCE_CARRIER_CONFIG_KEY)) { in processMessage()
[all …]
DDcNetworkAgent.java39 import com.android.internal.telephony.DctConstants;
199 Message msg = dct.obtainMessage(DctConstants.EVENT_NETWORK_STATUS_CHANGED, in onValidationStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java90 import com.android.internal.telephony.DctConstants;
599 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in verifyDataConnected()
600 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_DEFAULT)); in verifyDataConnected()
625 mDct.sendEmptyMessage(DctConstants.EVENT_CARRIER_CONFIG_CHANGED); in sendInitializationEvents()
629 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_SIM_STATE_UPDATED, in sendInitializationEvents()
634 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in sendInitializationEvents()
701 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_ENABLED_CHANGED, ar)); in testDataRetry()
739 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_RECONNECT, in testDataRetry()
784 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_ENABLED_CHANGED, ar)); in testUserDisableData()
793 assertEquals(DctConstants.State.CONNECTED, mDct.getOverallState()); in testUserDisableData()
[all …]
DApnContextTest.java35 import com.android.internal.telephony.DctConstants;
100 mApnContext.setState(DctConstants.State.DISCONNECTING); in testState()
101 assertEquals(DctConstants.State.DISCONNECTING, mApnContext.getState()); in testState()
105 mApnContext.setState(DctConstants.State.RETRYING); in testState()
109 mApnContext.setState(DctConstants.State.FAILED); in testState()
111 mApnContext.setState(DctConstants.State.IDLE); in testState()
DDcControllerTest.java46 import com.android.internal.telephony.DctConstants;
146 verify(mDcTracker, times(1)).sendStopNetStatPoll(eq(DctConstants.Activity.DORMANT)); in testDataDormant()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/
DVendorDataResetEventTracker.java18 import com.android.internal.telephony.DctConstants;
69 case DctConstants.EVENT_DATA_RAT_CHANGED: {
83 case DctConstants.EVENT_RADIO_OFF_OR_NOT_AVAILABLE: {
124 mTransportType, mHandler, DctConstants.EVENT_DATA_RAT_CHANGED, null); in startResetEventTracker()
126 DctConstants.EVENT_RADIO_OFF_OR_NOT_AVAILABLE, null); in startResetEventTracker()
DVendorDcTracker.java34 import com.android.internal.telephony.DctConstants;
202 apnContext.setState(DctConstants.State.RETRYING); in onDataSetupCompleteError()
210 apnContext.setState(DctConstants.State.FAILED); in onDataSetupCompleteError()
294 sendMessage(obtainMessage(DctConstants.EVENT_TRY_SETUP_DATA, apnContext));
/frameworks/base/telephony/java/com/android/internal/telephony/
DDctConstants.java25 public class DctConstants { class
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java419 doReturn(DctConstants.State.IDLE).when(mDcTracker).getState( in testGetDataConnectionState()
426 doReturn(DctConstants.State.CONNECTED).when(mDcTracker).getState( in testGetDataConnectionState()
/frameworks/base/config/
Dpreloaded-classes8584 com.android.internal.telephony.DctConstants$Activity
8585 com.android.internal.telephony.DctConstants$State
Dboot-image-profile.txt49107 Lcom/android/internal/telephony/DctConstants$Activity;
49108 Lcom/android/internal/telephony/DctConstants$State;