Home
last modified time | relevance | path

Searched refs:mTransportManager (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTransportManagerTest.java61 private TransportManager mTransportManager; field in TransportManagerTest
66 mTransportManager = new TransportManager(mPhone); in setUp()
78 mTransportManager.registerForHandoverNeededEvent(mTestHandler, EVENT_HANDOVER_NEEDED); in testHandoverNeeded()
85 mTransportManager.obtainMessage(1 /* EVENT_QUALIFIED_NETWORKS_CHANGED */, in testHandoverNeeded()
92 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
99 mTransportManager.obtainMessage(1 /* EVENT_QUALIFIED_NETWORKS_CHANGED */, in testHandoverNeeded()
118 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
125 mTransportManager.obtainMessage(1 /* EVENT_QUALIFIED_NETWORKS_CHANGED */, in testHandoverNeeded()
143 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
147 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
[all …]
DTelephonyNetworkFactoryTest.java345 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mTransportManager) in testHandoverNoLiveData()
DDcTrackerTest.java1211 doReturn(true).when(mTransportManager).isInLegacyMode(); in testTrySetupDefaultOnIWLAN()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java114 @Mock private TransportManager mTransportManager; field in UserBackupManagerServiceTest
173 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString()
189 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_whenTransportNotRegistered()
205 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_withoutPermission()
221 setUpCurrentTransport(mTransportManager, mTransport); in testIsAppEligibleForBackup_whenAppNotEligible()
237 TransportMock transportMock = setUpCurrentTransport(mTransportManager, backupTransport()); in testIsAppEligibleForBackup_whenAppEligible()
245 verify(mTransportManager) in testIsAppEligibleForBackup_whenAppEligible()
256 setUpCurrentTransport(mTransportManager, mTransport); in testIsAppEligibleForBackup_withoutPermission()
274 TransportMock transportMock = setUpCurrentTransport(mTransportManager, mTransport); in testFilterAppsEligibleForBackup()
284 verify(mTransportManager) in testFilterAppsEligibleForBackup()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java76 @Mock private TransportManager mTransportManager; field in PerformInitializeTaskTest
248 setUpTransports(mTransportManager, transport1, transport2); in testRun_whenOnlyOneTransportFails()
266 mTransportManager, backupTransport(), d2dTransport(), localTransport()); in testRun_withMultipleTransports()
286 verify(mTransportManager).getTransportClient(eq(transport.transportName), any()); in testRun_withMultipleTransports()
287 verify(mTransportManager) in testRun_withMultipleTransports()
297 setUpTransports(mTransportManager, transport1, transport2); in testRun_whenOnlyOneTransportFails_disposesAllTransports()
305 verify(mTransportManager) in testRun_whenOnlyOneTransportFails_disposesAllTransports()
307 verify(mTransportManager) in testRun_whenOnlyOneTransportFails_disposesAllTransports()
313 setUpTransports(mTransportManager, mTransport.unregistered()); in testRun_whenTransportNotRegistered()
318 verify(mTransportManager, never()).disposeOfTransportClient(any(), any()); in testRun_whenTransportNotRegistered()
[all …]
DSetupObserverTest.java66 @Mock private TransportManager mTransportManager; field in SetupObserverTest
86 mTransportManager); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java54 private final TransportManager mTransportManager; field in ActiveRestoreSession
69 mTransportManager = backupManagerService.getTransportManager(); in ActiveRestoreSession()
100 mTransportManager.getTransportClient( in getAvailableRestoreSets()
116 TransportManager transportManager = mTransportManager; in getAvailableRestoreSets()
164 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restoreAll()
255 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackages()
332 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackage()
384 mTransportManager.getTransportClient(mTransportName, callerLogString); in sendRestoreToHandlerLocked()
401 TransportManager transportManager = mTransportManager; in sendRestoreToHandlerLocked()
DPerformUnifiedRestoreTask.java87 private final TransportManager mTransportManager; field in PerformUnifiedRestoreTask
171 mTransportManager = null; in PerformUnifiedRestoreTask()
192 mTransportManager = backupManagerService.getTransportManager(); in PerformUnifiedRestoreTask()
383 mTransportManager.getTransportDirName(mTransportClient.getTransportComponent()); in startRestore()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformInitializeTask.java53 private final TransportManager mTransportManager; field in PerformInitializeTask
82 mTransportManager = transportManager; in PerformInitializeTask()
117 mTransportManager.getTransportClient(transportName, callerLogString); in run()
126 mTransportManager.getTransportDirName( in run()
174 mTransportManager.disposeOfTransportClient(transportClient, callerLogString); in run()
DPerformClearTask.java33 private final TransportManager mTransportManager; field in PerformClearTask
42 mTransportManager = backupManagerService.getTransportManager(); in PerformClearTask()
54 mTransportManager.getTransportDirName(mTransportClient.getTransportComponent()); in run()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java326 private final TransportManager mTransportManager; field in UserBackupManagerService
637 mTransportManager = in UserBackupManagerService()
639 mTransportManager.setOnTransportRegisteredListener(this::onTransportRegistered); in UserBackupManagerService()
642 mTransportManager::registerTransports, INITIALIZATION_DELAY_MILLIS); in UserBackupManagerService()
715 return mTransportManager; in getTransportManager()
1315 mTransportManager.onPackageChanged(
1370 () -> mTransportManager.onPackageAdded(packageName));
1398 () -> mTransportManager.onPackageRemoved(packageName));
1829 mTransportManager.getTransportDirName( in requestBackup()
1830 mTransportManager.getCurrentTransportName()); in requestBackup()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java96 @Mock private TransportManager mTransportManager; field in ActiveRestoreSessionTest
141 mTransportManager, in setUp()
202 verify(mTransportManager) in testGetAvailableRestoreSets()
235 verify(mTransportManager) in testGetAvailableRestoreSets_forNullRestoreSets()
253 verify(mTransportManager) in testRestoreAll()
341 verify(mTransportManager) in testRestorePackages_for2Packages()
463 verify(mTransportManager) in testRestorePackage_whenCallerIsPackage()
593 return TransportTestUtils.setUpTransport(mTransportManager, transport); in setUpTransport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java84 private final TransportManager mTransportManager; field in TelephonyNetworkFactory
96 mTransportManager = mPhone.getTransportManager(); in TelephonyNetworkFactory()
109 mTransportManager.registerForHandoverNeededEvent(mInternalHandler, in TelephonyNetworkFactory()
212 return mTransportManager.getCurrentTransport(apnType); in getTransportTypeFromNetworkRequest()
333 if (mTransportManager.getCurrentTransport(apnType) == targetTransport) { in onDataHandoverNeeded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java322 protected TransportManager mTransportManager; field in Phone
3309 if (mTransportManager == null || mDcTrackers == null) { in getActiveApnTypes()
3315 for (int transportType : mTransportManager.getAvailableTransports()) { in getActiveApnTypes()
3341 if (mTransportManager != null) { in getActiveApnHost()
3342 int transportType = mTransportManager.getCurrentTransport( in getActiveApnHost()
3356 if (mTransportManager != null) { in getLinkProperties()
3357 int transport = mTransportManager.getCurrentTransport( in getLinkProperties()
3370 if (mTransportManager != null) { in getNetworkCapabilities()
3371 int transportType = mTransportManager.getCurrentTransport( in getNetworkCapabilities()
3399 if (mTransportManager != null) { in isDataAllowed()
[all …]
DServiceStateTracker.java595 private final TransportManager mTransportManager; field in ServiceStateTracker
637 mTransportManager = mPhone.getTransportManager(); in ServiceStateTracker()
639 for (int transportType : mTransportManager.getAvailableTransports()) { in ServiceStateTracker()
719 for (int transport : mTransportManager.getAvailableTransports()) { in updatePhoneType()
792 for (int transport : mTransportManager.getAvailableTransports()) { in updatePhoneType()
2088 boolean isIwlanPreferred = mTransportManager.isAnyApnPreferredOnIwlan(); in combinePsRegistrationStates()
3205 mTransportManager.getAvailableTransports().length); in pollStateDone()
3207 mTransportManager.getAvailableTransports().length); in pollStateDone()
3209 mTransportManager.getAvailableTransports().length); in pollStateDone()
3211 mTransportManager.getAvailableTransports().length); in pollStateDone()
[all …]
DGsmCdmaPhone.java266 mTransportManager = mTelephonyComponentFactory.inject(TransportManager.class.getName()) in GsmCdmaPhone()
285 for (int transport : mTransportManager.getAvailableTransports()) { in GsmCdmaPhone()
598 return mTransportManager; in getTransportManager()
638 int currentTransport = mTransportManager.getCurrentTransport( in getActiveDcTrackerForApn()
698 int currentTransport = mTransportManager.getCurrentTransport( in getDataConnectionState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java260 protected TransportManager mTransportManager; field in TelephonyTest
490 doReturn(mTransportManager).when(mTelephonyComponentFactory) in setUp()
521 doReturn(mTransportManager).when(mPhone).getTransportManager(); in setUp()
607 .when(mTransportManager).getAvailableTransports(); in setUp()
608 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mTransportManager) in setUp()
DServiceStateTrackerTest.java2193 when(mTransportManager.isAnyApnPreferredOnIwlan()).thenReturn(false); in testRilDataTechnologyChangeTransportPreference()
2212 when(mTransportManager.isAnyApnPreferredOnIwlan()).thenReturn(true); in testRilDataTechnologyChangeTransportPreference()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java728 doReturn(true).when(mTransportManager).isInLegacyMode(); in testRoamingToOutOfService()
753 doReturn(true).when(mTransportManager).isInLegacyMode(); in testRoamingChangeForLteInLegacyMode()
777 doReturn(true).when(mTransportManager).isInLegacyMode(); in testDataOnlyRoamingCellToIWlanInLegacyMode()
802 doReturn(true).when(mTransportManager).isInLegacyMode(); in testCellVoiceDataChangeToWlanInLegacyMode()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java179 @Mock private TransportManager mTransportManager; field in KeyValueBackupTaskTest
233 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp()
237 mTransportManager, in setUp()
2486 TransportTestUtils.setUpTransport(mTransportManager, transport); in setUpTransport()