Searched refs:mDcTracker (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnContextTest.java | 57 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 …]
|
D | TelephonyNetworkFactoryTest.java | 160 }).when(mDcTracker).requestNetwork(any(), anyInt(), any()); in setUp() 165 }).when(mDcTracker).releaseNetwork(any(), anyInt()); in setUp() 377 Mockito.reset(mDcTracker); in testHandoverActivatingData() 378 doReturn(mDataConnection).when(mDcTracker).getDataConnectionByApnType(anyString()); in testHandoverActivatingData() 387 verify(mDcTracker, times(1)).releaseNetwork(any(), eq(1)); in testHandoverActivatingData() 388 verify(mDcTracker, times(1)).requestNetwork(any(), eq(1), any()); in testHandoverActivatingData()
|
D | DcControllerTest.java | 106 mDcc = DcController.makeDcc(mPhone, mDcTracker, mDataServiceManager, in setUp() 146 verify(mDcTracker, times(1)).sendStopNetStatPoll(eq(DctConstants.Activity.DORMANT)); in testDataDormant()
|
D | DataConnectionTest.java | 257 mDcc = DcController.makeDcc(mPhone, mDcTracker, manager, h, ""); in onLooperPrepared() 259 mDc = DataConnection.makeDataConnection(mPhone, 0, mDcTracker, manager, in onLooperPrepared()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnContext.java | 76 private final DcTracker mDcTracker; field in ApnContext 125 mDcTracker = tracker; in ApnContext() 422 mDcTracker.enableApn(ApnSetting.getApnTypesBitmaskFromString(mApnType), type, in requestNetwork() 448 mDcTracker.disableApn(ApnSetting.getApnTypesBitmaskFromString(mApnType), type); in releaseNetwork()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 182 protected DcTracker mDcTracker; field in TelephonyTest 468 doReturn(mDcTracker).when(mTelephonyComponentFactory) in setUp() 523 doReturn(mDcTracker).when(mPhone).getDcTracker(anyInt()); in setUp()
|
D | GsmCdmaPhoneTest.java | 419 doReturn(DctConstants.State.IDLE).when(mDcTracker).getState( in testGetDataConnectionState() 426 doReturn(DctConstants.State.CONNECTED).when(mDcTracker).getState( in testGetDataConnectionState()
|
D | ServiceStateTrackerTest.java | 232 doReturn(true).when(mDcTracker).isDisconnected(); in setUp()
|