Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTransportManagerTest.java59 private TransportManager mTransportManager; field in TransportManagerTest
71 mTransportManager = new TransportManager(mPhone); in onLooperPrepared()
94 mTransportManager.registerForHandoverNeededEvent(mTestHandler, EVENT_HANDOVER_NEEDED); in testHandoverNeeded()
101 mTransportManager.obtainMessage(1 /* EVENT_QUALIFIED_NETWORKS_CHANGED */, in testHandoverNeeded()
108 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
115 mTransportManager.obtainMessage(1 /* EVENT_QUALIFIED_NETWORKS_CHANGED */, in testHandoverNeeded()
134 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
141 mTransportManager.obtainMessage(1 /* EVENT_QUALIFIED_NETWORKS_CHANGED */, in testHandoverNeeded()
159 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
163 mTransportManager.getCurrentTransport(ApnSetting.TYPE_IMS)); in testHandoverNeeded()
[all …]
DDcTrackerTest.java1232 doReturn(true).when(mTransportManager).isInLegacyMode(); in testTrySetupDefaultOnIWLAN()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java99 @Mock private TransportManager mTransportManager; field in UserBackupManagerServiceTest
158 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString()
174 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_whenTransportNotRegistered()
190 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_withoutPermission()
206 setUpCurrentTransport(mTransportManager, mTransport); in testIsAppEligibleForBackup_whenAppNotEligible()
222 TransportMock transportMock = setUpCurrentTransport(mTransportManager, backupTransport()); in testIsAppEligibleForBackup_whenAppEligible()
230 verify(mTransportManager) in testIsAppEligibleForBackup_whenAppEligible()
241 setUpCurrentTransport(mTransportManager, mTransport); in testIsAppEligibleForBackup_withoutPermission()
259 TransportMock transportMock = setUpCurrentTransport(mTransportManager, mTransport); in testFilterAppsEligibleForBackup()
269 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.java60 @Mock private TransportManager mTransportManager; field in SetupObserverTest
80 mTransportManager); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java55 private final TransportManager mTransportManager; field in ActiveRestoreSession
70 mTransportManager = backupManagerService.getTransportManager(); in ActiveRestoreSession()
101 mTransportManager.getTransportClient( in getAvailableRestoreSets()
117 TransportManager transportManager = mTransportManager; in getAvailableRestoreSets()
165 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restoreAll()
256 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackages()
333 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackage()
385 mTransportManager.getTransportClient(mTransportName, callerLogString); in sendRestoreToHandlerLocked()
402 TransportManager transportManager = mTransportManager; in sendRestoreToHandlerLocked()
DPerformUnifiedRestoreTask.java84 private final TransportManager mTransportManager; field in PerformUnifiedRestoreTask
179 mTransportManager = backupManagerService.getTransportManager(); in PerformUnifiedRestoreTask()
368 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.java254 private final TransportManager mTransportManager; field in UserBackupManagerService
577 mTransportManager = checkNotNull(transportManager, "transportManager cannot be null"); in UserBackupManagerService()
578 mTransportManager.setOnTransportRegisteredListener(this::onTransportRegistered); in UserBackupManagerService()
581 mTransportManager::registerTransports, INITIALIZATION_DELAY_MILLIS); in UserBackupManagerService()
643 return mTransportManager; in getTransportManager()
1201 () -> mTransportManager.onPackageChanged(packageName, components));
1252 () -> mTransportManager.onPackageAdded(packageName));
1274 () -> mTransportManager.onPackageRemoved(packageName));
1645 mTransportManager.getTransportDirName( in requestBackup()
1646 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
140 mTransportManager, in setUp()
201 verify(mTransportManager) in testGetAvailableRestoreSets()
234 verify(mTransportManager) in testGetAvailableRestoreSets_forNullRestoreSets()
252 verify(mTransportManager) in testRestoreAll()
340 verify(mTransportManager) in testRestorePackages_for2Packages()
462 verify(mTransportManager) in testRestorePackage_whenCallerIsPackage()
592 return TransportTestUtils.setUpTransport(mTransportManager, transport); in setUpTransport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java318 protected TransportManager mTransportManager; field in Phone
3001 if (mTransportManager != null) { in getActiveApnTypes()
3003 for (int transportType : mTransportManager.getAvailableTransports()) { in getActiveApnTypes()
3033 if (mTransportManager != null) { in getActiveApnHost()
3034 int transportType = mTransportManager.getCurrentTransport( in getActiveApnHost()
3048 if (mTransportManager != null) { in getLinkProperties()
3049 int transport = mTransportManager.getCurrentTransport( in getLinkProperties()
3062 if (mTransportManager != null) { in getNetworkCapabilities()
3063 int transportType = mTransportManager.getCurrentTransport( in getNetworkCapabilities()
3091 if (mTransportManager != null) { in isDataAllowed()
[all …]
DServiceStateTracker.java559 private final TransportManager mTransportManager; field in ServiceStateTracker
600 mTransportManager = mPhone.getTransportManager(); in ServiceStateTracker()
602 for (int transportType : mTransportManager.getAvailableTransports()) { in ServiceStateTracker()
682 for (int transport : mTransportManager.getAvailableTransports()) { in updatePhoneType()
755 for (int transport : mTransportManager.getAvailableTransports()) { in updatePhoneType()
2001 boolean isIwlanPreferred = mTransportManager.isAnyApnPreferredOnIwlan(); in combinePsRegistrationStates()
3042 mTransportManager.getAvailableTransports().length); in pollStateDone()
3044 mTransportManager.getAvailableTransports().length); in pollStateDone()
3046 mTransportManager.getAvailableTransports().length); in pollStateDone()
3048 mTransportManager.getAvailableTransports().length); in pollStateDone()
[all …]
DGsmCdmaPhone.java241 mTransportManager = mTelephonyComponentFactory.inject(TransportManager.class.getName()) in GsmCdmaPhone()
252 for (int transport : mTransportManager.getAvailableTransports()) { in GsmCdmaPhone()
560 return mTransportManager; in getTransportManager()
609 int currentTransport = mTransportManager.getCurrentTransport( in getDataConnectionState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java82 private final TransportManager mTransportManager; field in TelephonyNetworkFactory
94 mTransportManager = mPhone.getTransportManager(); in TelephonyNetworkFactory()
108 mTransportManager.registerForHandoverNeededEvent(mInternalHandler, in TelephonyNetworkFactory()
199 return mTransportManager.getCurrentTransport(apnType); in getTransportTypeFromNetworkRequest()
320 if (mTransportManager.getCurrentTransport(apnType) == targetTransport) { in onDataHandoverNeeded()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java222 protected TransportManager mTransportManager; field in TelephonyTest
420 doReturn(mTransportManager).when(mTelephonyComponentFactory) in setUp()
449 doReturn(mTransportManager).when(mPhone).getTransportManager(); in setUp()
526 .when(mTransportManager).getAvailableTransports(); in setUp()
527 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mTransportManager) in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java673 doReturn(true).when(mTransportManager).isInLegacyMode(); in testRoamingToOutOfService()
698 doReturn(true).when(mTransportManager).isInLegacyMode(); in testRoamingChangeForLteInLegacyMode()
722 doReturn(true).when(mTransportManager).isInLegacyMode(); in testDataOnlyRoamingCellToIWlanInLegacyMode()
747 doReturn(true).when(mTransportManager).isInLegacyMode(); in testCellVoiceDataChangeToWlanInLegacyMode()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java236 private final TransportManager mTransportManager; field in KeyValueBackupTask
303 mTransportManager = backupManagerService.getTransportManager(); in KeyValueBackupTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java177 @Mock private TransportManager mTransportManager; field in KeyValueBackupTaskTest
230 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp()
234 mTransportManager, in setUp()
2406 TransportTestUtils.setUpTransport(mTransportManager, transport); in setUpTransport()