Home
last modified time | relevance | path

Searched refs:mAccessNetworksManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DAccessNetworksManagerTest.java69 private AccessNetworksManager mAccessNetworksManager; field in AccessNetworksManagerTest
156 mAccessNetworksManager = in setUp()
161 mAccessNetworksManager, mMockedDataConfigManager); in setUp()
168 mAccessNetworksManager = null; in tearDown()
181 assertThat(mAccessNetworksManager.isAnyApnOnIwlan()).isFalse(); in testQualifiedNetworkTypesChanged()
182 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_IMS)) in testQualifiedNetworkTypesChanged()
184 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_MMS)) in testQualifiedNetworkTypesChanged()
186 assertThat(mAccessNetworksManager.isAnyApnOnIwlan()).isFalse(); in testQualifiedNetworkTypesChanged()
192 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_IMS)) in testQualifiedNetworkTypesChanged()
194 assertThat(mAccessNetworksManager.getPreferredTransport(ApnSetting.TYPE_MMS)) in testQualifiedNetworkTypesChanged()
[all …]
DDataNetworkControllerTest.java742 doReturn(transport).when(mAccessNetworksManager) in updateTransport()
749 doReturn(transport).when(mAccessNetworksManager) in reconnectTransport()
977 mDataNetworkControllerUT, mAccessNetworksManager); in setUp()
984 verify(mAccessNetworksManager).registerCallback(callbackCaptor.capture()); in setUp()
1059 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mAccessNetworksManager) in setUp()
1579 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mAccessNetworksManager) in testPsRestrictedAllowIwlan()
1744 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mAccessNetworksManager) in testIsNetworkRequestSatisfiedByTransportCellularTransportRequest()
2240 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mAccessNetworksManager) in testUnmeteredRequestPreferredOnIwlan()
2253 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mAccessNetworksManager) in testUnmeteredRequestPreferredOnIwlan()
2606 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mAccessNetworksManager) in testOnSinglePdnArbitrationExemptIms()
[all …]
DDataNetworkTest.java417 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mAccessNetworksManager) in setUp()
996 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mAccessNetworksManager) in testCreateDataNetworkOnIwlan()
1216 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mAccessNetworksManager) in testNetworkRequestDetachedBeforePduSessionIdAllocated()
2350 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mAccessNetworksManager) in setupIwlanDataNetwork()
2430 verify(mAccessNetworksManager).registerCallback( in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2434 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mAccessNetworksManager) in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
2474 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mAccessNetworksManager) in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DTelephonyNetworkFactory.java75 private final AccessNetworksManager mAccessNetworksManager; field in TelephonyNetworkFactory
101 mAccessNetworksManager = mPhone.getAccessNetworksManager(); in TelephonyNetworkFactory()
211 transport = mAccessNetworksManager in getTransportTypeFromNetworkRequest()
DDataNetworkController.java279 private final AccessNetworksManager mAccessNetworksManager; field in DataNetworkController
900 mAccessNetworksManager = phone.getAccessNetworksManager(); in DataNetworkController()
901 for (int transport : mAccessNetworksManager.getAvailableTransports()) { in DataNetworkController()
1036 mAccessNetworksManager.registerCallback(new AccessNetworksManagerCallback(this::post) { in onRegisterAllEvents()
1040 int preferredTransport = mAccessNetworksManager in onRegisterAllEvents()
1581 int transport = mAccessNetworksManager.getPreferredTransportByNetworkCapability( in evaluateNetworkRequest()
1987 == mAccessNetworksManager.getPreferredTransportByNetworkCapability( in evaluateDataNetwork()
2034 int preferredTransport = mAccessNetworksManager in evaluateDataNetwork()
2855 int transport = mAccessNetworksManager.getPreferredTransportByNetworkCapability( in setupDataNetwork()
3129 int preferredTransport = mAccessNetworksManager.getPreferredTransportByNetworkCapability( in onDataNetworkSetupRetry()
[all …]
DDataNetwork.java585 private final AccessNetworksManager mAccessNetworksManager; field in DataNetwork
1024 mAccessNetworksManager = phone.getAccessNetworksManager(); in DataNetwork()
1053 for (int transportType : mAccessNetworksManager.getAvailableTransports()) { in DataNetwork()
1229 for (int transport : mAccessNetworksManager.getAvailableTransports()) {
1279 mAccessNetworksManager.registerCallback(mAccessNetworksManagerCallback);
1294 mAccessNetworksManager.unregisterCallback(mAccessNetworksManagerCallback);
1312 for (int transport : mAccessNetworksManager.getAvailableTransports()) {
2437 .filter(cap -> mAccessNetworksManager.getPreferredTransportByNetworkCapability(cap)
2497 if (mAccessNetworksManager.getPreferredTransportByNetworkCapability(
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java255 protected AccessNetworksManager mAccessNetworksManager; field in TelephonyTest
542 mAccessNetworksManager = Mockito.mock(AccessNetworksManager.class); in setUp()
682 doReturn(mAccessNetworksManager).when(mTelephonyComponentFactory) in setUp()
727 doReturn(mAccessNetworksManager).when(mPhone).getAccessNetworksManager(); in setUp()
847 .when(mAccessNetworksManager).getAvailableTransports(); in setUp()
DServiceStateTrackerTest.java2542 when(mAccessNetworksManager.isAnyApnOnIwlan()).thenReturn(false); in testRilDataTechnologyChangeTransportPreference()
2561 when(mAccessNetworksManager.isAnyApnOnIwlan()).thenReturn(true); in testRilDataTechnologyChangeTransportPreference()
3406 when(mAccessNetworksManager.isAnyApnOnIwlan()).thenReturn(false); in testOnChangingPreferredOnIwlan()
3421 when(mAccessNetworksManager.isAnyApnOnIwlan()).thenReturn(true); in testOnChangingPreferredOnIwlan()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java611 private final AccessNetworksManager mAccessNetworksManager; field in ServiceStateTracker
671 mAccessNetworksManager = mPhone.getAccessNetworksManager(); in ServiceStateTracker()
675 for (int transportType : mAccessNetworksManager.getAvailableTransports()) { in ServiceStateTracker()
743 boolean isIwlanPreferred = mAccessNetworksManager.isAnyApnOnIwlan(); in ServiceStateTracker()
753 mAccessNetworksManager.registerCallback(mAccessNetworksManagerCallback); in ServiceStateTracker()
783 for (int transport : mAccessNetworksManager.getAvailableTransports()) { in updatePhoneType()
856 for (int transport : mAccessNetworksManager.getAvailableTransports()) { in updatePhoneType()
899 mAccessNetworksManager.unregisterCallback(mAccessNetworksManagerCallback); in dispose()
2192 boolean isIwlanPreferred = mAccessNetworksManager.isAnyApnOnIwlan(); in combinePsRegistrationStates()
3476 for (int transport : mAccessNetworksManager.getAvailableTransports()) { in pollStateDone()
[all …]
DPhone.java376 protected AccessNetworksManager mAccessNetworksManager; field in Phone
5489 if (mAccessNetworksManager != null) { in dump()
5490 mAccessNetworksManager.dump(fd, pw, args); in dump()
DGsmCdmaPhone.java366 mAccessNetworksManager = mTelephonyComponentFactory in GsmCdmaPhone()
809 return mAccessNetworksManager; in getAccessNetworksManager()