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.java98 import com.android.internal.telephony.DctConstants;
252 private static final DctConstants.State[] DATA_CONNECTION_STATE_PRIORITIES = {
253 DctConstants.State.IDLE,
254 DctConstants.State.DISCONNECTING,
255 DctConstants.State.CONNECTING,
256 DctConstants.State.CONNECTED,
364 sendMessage(obtainMessage(DctConstants.EVENT_SIM_STATE_UPDATED, simState, 0));
378 sendEmptyMessage(DctConstants.EVENT_CARRIER_CONFIG_CHANGED);
439 DctConstants.EVENT_ROAMING_SETTING_CHANGE); in registerSettingsObserver()
442 DctConstants.EVENT_DEVICE_PROVISIONED_CHANGE); in registerSettingsObserver()
[all …]
DApnContext.java29 import com.android.internal.telephony.DctConstants;
58 private DctConstants.State mState;
119 mState = DctConstants.State.IDLE; in ApnContext()
197 setState(DctConstants.State.IDLE); in releaseDataConnection()
290 public synchronized void setState(DctConstants.State s) { in setState()
298 if (mState == DctConstants.State.FAILED) { in setState()
310 public synchronized DctConstants.State getState() { in getState()
319 DctConstants.State currentState = getState(); in isDisconnected()
320 return ((currentState == DctConstants.State.IDLE) || in isDisconnected()
321 currentState == DctConstants.State.FAILED); in isDisconnected()
[all …]
DDcController.java36 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;
886 notifyAllWithEvent(alreadySent, DctConstants.EVENT_DATA_SETUP_COMPLETE_ERROR, in notifyConnectCompleted()
921 notifyAllWithEvent(alreadySent, DctConstants.EVENT_DISCONNECT_DONE, reason); in notifyDisconnectCompleted()
1168 ? DctConstants.RAT_NAME_NR_NSA_MMWAVE : DctConstants.RAT_NAME_NR_NSA; in updateLinkBandwidthsFromCarrierConfig()
1203 ? DctConstants.RAT_NAME_NR_NSA_MMWAVE : DctConstants.RAT_NAME_NR_NSA; in updateLinkBandwidthsFromModem()
1753 if (isBandwidthSourceKey(DctConstants.BANDWIDTH_SOURCE_CARRIER_CONFIG_KEY)) { in processMessage()
1912 notifyAllWithEvent(null, DctConstants.EVENT_DISCONNECT_DONE, in enter()
2130 notifyAllWithEvent(null, DctConstants.EVENT_DATA_SETUP_COMPLETE, in enter()
2370 if (isBandwidthSourceKey(DctConstants.BANDWIDTH_SOURCE_CARRIER_CONFIG_KEY)) { in processMessage()
2392 if (isBandwidthSourceKey(DctConstants.BANDWIDTH_SOURCE_CARRIER_CONFIG_KEY)) { in processMessage()
[all …]
DDcNetworkAgent.java40 import com.android.internal.telephony.DctConstants;
206 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;
603 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_DEFAULT)); in verifyDataConnected()
628 mDct.sendEmptyMessage(DctConstants.EVENT_CARRIER_CONFIG_CHANGED); in sendInitializationEvents()
632 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_SIM_STATE_UPDATED, in sendInitializationEvents()
637 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_CONNECTION_ATTACHED, null)); in sendInitializationEvents()
704 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_ENABLED_CHANGED, ar)); in testDataRetry()
742 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_RECONNECT, in testDataRetry()
787 mDct.sendMessage(mDct.obtainMessage(DctConstants.EVENT_DATA_ENABLED_CHANGED, ar)); in testUserDisableData()
797 assertEquals(DctConstants.State.IDLE, mDct.getState(PhoneConstants.APN_TYPE_DEFAULT)); in testUserDisableData()
798 assertEquals(DctConstants.State.CONNECTED, mDct.getState(PhoneConstants.APN_TYPE_IMS)); 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.java27 import com.android.internal.telephony.DctConstants;
187 apnContext.setState(DctConstants.State.RETRYING); in onDataSetupCompleteError()
195 apnContext.setState(DctConstants.State.FAILED); in onDataSetupCompleteError()
279 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.java423 doReturn(DctConstants.State.IDLE).when(mDcTracker).getState( in testGetDataConnectionState()
430 doReturn(DctConstants.State.CONNECTED).when(mDcTracker).getState( in testGetDataConnectionState()
/frameworks/base/config/
Dpreloaded-classes4733 com.android.internal.telephony.DctConstants$Activity
4734 com.android.internal.telephony.DctConstants$State
Dboot-image-profile.txt21963 HSPLcom/android/internal/telephony/DctConstants$Activity;-><init>(Ljava/lang/String;I)V
21964 HSPLcom/android/internal/telephony/DctConstants$Activity;->values()[Lcom/android/internal/telephony…
21965 HSPLcom/android/internal/telephony/DctConstants$State;-><init>(Ljava/lang/String;I)V
21966 HSPLcom/android/internal/telephony/DctConstants$State;->values()[Lcom/android/internal/telephony/Dc…
23101 …telephony/dataconnection/ApnContext;->getState()Lcom/android/internal/telephony/DctConstants$State;
23124 …elephony/dataconnection/ApnContext;->setState(Lcom/android/internal/telephony/DctConstants$State;)V
23293 …hony/dataconnection/DcTracker;->getActivity()Lcom/android/internal/telephony/DctConstants$Activity;
23298 …ony/dataconnection/DcTracker;->getOverallState()Lcom/android/internal/telephony/DctConstants$State;
23300 …nection/DcTracker;->getState(Ljava/lang/String;)Lcom/android/internal/telephony/DctConstants$State;
23334 …onnection/DcTracker;->sendStartNetStatPoll(Lcom/android/internal/telephony/DctConstants$Activity;)V
[all …]