Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnContextTest.java59 mDcTracker); in setUp()
146 verify(mDcTracker, times(1)).setEnabled(eq(DctConstants.APN_DEFAULT_ID), eq(true)); in testNetworkRequest()
148 verify(mDcTracker, times(1)).setEnabled(eq(DctConstants.APN_DEFAULT_ID), eq(true)); in testNetworkRequest()
151 verify(mDcTracker, times(1)).setEnabled(eq(DctConstants.APN_DEFAULT_ID), eq(false)); in testNetworkRequest()
153 verify(mDcTracker, times(1)).setEnabled(eq(DctConstants.APN_DEFAULT_ID), eq(false)); in testNetworkRequest()
DDcControllerTest.java88 mDcc = DcController.makeDcc(mPhone, mDcTracker, mDataServiceManager, mHandler); in onLooperPrepared()
149 verify(mDcTracker, times(1)).sendStopNetStatPoll(eq(DctConstants.Activity.DORMANT)); in testDataDormant()
DDataConnectionTest.java171 mDcc = DcController.makeDcc(mPhone, mDcTracker, manager, h); in onLooperPrepared()
173 mDc = DataConnection.makeDataConnection(mPhone, 0, mDcTracker, manager, in onLooperPrepared()
205 doReturn(true).when(mDcTracker).isDataEnabled(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java48 private final DcTracker mDcTracker; field in TelephonyNetworkFactory
83 mDcTracker = dcTracker; in TelephonyNetworkFactory()
167 mDcTracker.requestNetwork(networkRequest, localLog); in applyRequests()
169 mDcTracker.releaseNetwork(networkRequest, localLog); in applyRequests()
246 mDcTracker.requestNetwork(networkRequest, localLog); in onNeedNetworkFor()
277 mDcTracker.releaseNetwork(networkRequest, localLog); in onReleaseNetworkFor()
DApnContext.java82 private final DcTracker mDcTracker; field in ApnContext
119 mDcTracker = tracker; in ApnContext()
421 mDcTracker.setEnabled(apnIdForApnName(mApnType), true); in requestNetwork()
441 mDcTracker.setEnabled(apnIdForApnName(mApnType), false); in releaseNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java253 public DcTracker mDcTracker; field in Phone
2779 if (mDcTracker == null) { in getActiveApnTypes()
2783 return mDcTracker.getActiveApnTypes(); in getActiveApnTypes()
2792 return mDcTracker.hasMatchedTetherApnSetting(); in hasMatchedTetherApnSetting()
2800 return mDcTracker.getActiveApnString(apnType); in getActiveApnHost()
2807 return mDcTracker.getLinkProperties(apnType); in getLinkProperties()
2814 return mDcTracker.getNetworkCapabilities(apnType); in getNetworkCapabilities()
2823 return ((mDcTracker != null) && (mDcTracker.isDataAllowed(null))); in isDataAllowed()
2833 return ((mDcTracker != null) && (mDcTracker.isDataAllowed(reasons))); in isDataAllowed()
3023 return mDcTracker.getPcscfAddress(apnType); in getPcscfAddress()
[all …]
DGsmCdmaPhone.java227 mDcTracker = mTelephonyComponentFactory.makeDcTracker(this); in GsmCdmaPhone()
536 switch (mDcTracker.getState(apnType)) { in getDataConnectionState()
563 switch (mDcTracker.getActivity()) { in getDataActivityState()
2002 return mDcTracker.getDataRoamingEnabled(); in getDataRoamingEnabled()
2007 mDcTracker.setDataRoamingEnabledByUser(enable); in setDataRoamingEnabled()
2052 return mDcTracker.isUserDataEnabled(); in isUserDataEnabled()
2057 return mDcTracker.isDataEnabled(); in isDataEnabled()
2062 mDcTracker.setUserDataEnabled(enable); in setUserDataEnabled()
3001 mDcTracker.setInternalDataEnabled(true); in handleExitEmergencyCallbackMode()
DGsmCdmaCallTracker.java176 mPhone.mDcTracker.setInternalDataEnabled(true); in updatePhoneType()
373 mPhone.mDcTracker.setInternalDataEnabled(false); in setIsInEmergencyCall()
1577 mPhone.mDcTracker.setInternalDataEnabled(true); in checkAndEnableDataCallAfterEmergencyCallDropped()
DPhoneFactory.java261 sContext, i, sPhones[i].mDcTracker); in makeDefaultPhone()
DProxyController.java187 return mPhones[phoneId].mDcTracker.isDisconnected(); in isDataDisconnected()
DServiceStateTracker.java438 DcTracker dcTracker = mPhone.mDcTracker;
2508 DcTracker dcTracker = mPhone.mDcTracker; in setPowerStateToDesired()
2512 DcTracker dcTracker = mPhone.mDcTracker; in setPowerStateToDesired()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java299 doReturn(DctConstants.State.IDLE).when(mDcTracker).getState( in testGetDataConnectionState()
306 doReturn(DctConstants.State.CONNECTED).when(mDcTracker).getState( in testGetDataConnectionState()
747 verify(mDcTracker).setInternalDataEnabled(true); in testEmergencyCallbackMessages()
835 verify(mDcTracker).setInternalDataEnabled(true); in testModemResetInEmergencyCallbackMessages()
DTelephonyTest.java128 protected DcTracker mDcTracker; field in TelephonyTest
341 doReturn(mDcTracker).when(mTelephonyComponentFactory) in setUp()
DServiceStateTrackerTest.java166 mPhone.mDcTracker = mDct; in setUp()