Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnContextTest.java57 mApnContext = new ApnContext(mPhone, ApnSetting.TYPE_DEFAULT, TAG, mDcTracker, 1); in setUp()
121 verify(mDcTracker, times(1)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal()
131 verify(mDcTracker, times(2)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal()
135 verify(mDcTracker, never()).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal()
139 verify(mDcTracker, times(1)).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestNormal()
148 verify(mDcTracker, times(1)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach()
158 verify(mDcTracker, times(2)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach()
162 verify(mDcTracker, times(1)).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach()
166 verify(mDcTracker, times(1)).disableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestDetach()
175 verify(mDcTracker, times(1)).enableApn(eq(ApnSetting.TYPE_DEFAULT), in testNetworkRequestHandover()
[all …]
DDcControllerTest.java106 mDcc = DcController.makeDcc(mPhone, mDcTracker, mDataServiceManager, in setUp()
146 verify(mDcTracker, times(1)).sendStopNetStatPoll(eq(DctConstants.Activity.DORMANT)); in testDataDormant()
DTelephonyNetworkFactoryTest.java155 }).when(mDcTracker).requestNetwork(any(), anyInt(), any()); in setUp()
160 }).when(mDcTracker).releaseNetwork(any(), anyInt()); in setUp()
DDataConnectionTest.java260 mDcc = DcController.makeDcc(mPhone, mDcTracker, manager, h, ""); in onLooperPrepared()
262 mDc = DataConnection.makeDataConnection(mPhone, 0, mDcTracker, manager, in onLooperPrepared()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java75 private final DcTracker mDcTracker; field in ApnContext
124 mDcTracker = tracker; in ApnContext()
421 mDcTracker.enableApn(ApnSetting.getApnTypesBitmaskFromString(mApnType), type, in requestNetwork()
447 mDcTracker.disableApn(ApnSetting.getApnTypesBitmaskFromString(mApnType), type); in releaseNetwork()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java179 protected DcTracker mDcTracker; field in TelephonyTest
459 doReturn(mDcTracker).when(mTelephonyComponentFactory) in setUp()
516 doReturn(mDcTracker).when(mPhone).getDcTracker(anyInt()); in setUp()
DGsmCdmaPhoneTest.java423 doReturn(DctConstants.State.IDLE).when(mDcTracker).getState( in testGetDataConnectionState()
430 doReturn(DctConstants.State.CONNECTED).when(mDcTracker).getState( in testGetDataConnectionState()
DServiceStateTrackerTest.java232 doReturn(true).when(mDcTracker).areAllDataDisconnected(); in setUp()