Home
last modified time | relevance | path

Searched refs:mTransportManager (Results 1 – 21 of 21) 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.java340 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WLAN).when(mTransportManager) in testHandoverNoLiveData()
DDcTrackerTest.java1224 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.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.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.java301 private final TransportManager mTransportManager; field in UserBackupManagerService
625 mTransportManager = checkNotNull(transportManager, "transportManager cannot be null"); in UserBackupManagerService()
626 mTransportManager.setOnTransportRegisteredListener(this::onTransportRegistered); in UserBackupManagerService()
629 mTransportManager::registerTransports, INITIALIZATION_DELAY_MILLIS); in UserBackupManagerService()
700 return mTransportManager; in getTransportManager()
1270 () -> mTransportManager.onPackageChanged(packageName, components));
1321 () -> mTransportManager.onPackageAdded(packageName));
1343 () -> mTransportManager.onPackageRemoved(packageName));
1714 mTransportManager.getTransportDirName( in requestBackup()
1715 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
2530 if (mTransportManager != null) { in notifyAllActiveDataConnections()
2531 for (int transportType : mTransportManager.getAvailableTransports()) { in notifyAllActiveDataConnections()
3301 if (mTransportManager == null || mDcTrackers == null) { in getActiveApnTypes()
3307 for (int transportType : mTransportManager.getAvailableTransports()) { in getActiveApnTypes()
3333 if (mTransportManager != null) { in getActiveApnHost()
3334 int transportType = mTransportManager.getCurrentTransport( in getActiveApnHost()
3348 if (mTransportManager != null) { in getLinkProperties()
3349 int transport = mTransportManager.getCurrentTransport( in getLinkProperties()
3362 if (mTransportManager != null) { in getNetworkCapabilities()
[all …]
DServiceStateTracker.java605 private final TransportManager mTransportManager; field in ServiceStateTracker
647 mTransportManager = mPhone.getTransportManager(); in ServiceStateTracker()
649 for (int transportType : mTransportManager.getAvailableTransports()) { in ServiceStateTracker()
729 for (int transport : mTransportManager.getAvailableTransports()) { in updatePhoneType()
802 for (int transport : mTransportManager.getAvailableTransports()) { in updatePhoneType()
2099 boolean isIwlanPreferred = mTransportManager.isAnyApnPreferredOnIwlan(); in combinePsRegistrationStates()
3217 mTransportManager.getAvailableTransports().length); in pollStateDone()
3219 mTransportManager.getAvailableTransports().length); in pollStateDone()
3221 mTransportManager.getAvailableTransports().length); in pollStateDone()
3223 mTransportManager.getAvailableTransports().length); in pollStateDone()
[all …]
DGsmCdmaPhone.java268 mTransportManager = mTelephonyComponentFactory.inject(TransportManager.class.getName()) in GsmCdmaPhone()
287 for (int transport : mTransportManager.getAvailableTransports()) { in GsmCdmaPhone()
586 return mTransportManager; in getTransportManager()
626 int currentTransport = mTransportManager.getCurrentTransport( in getActiveDcTrackerForApn()
686 int currentTransport = mTransportManager.getCurrentTransport( in getDataConnectionState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java255 protected TransportManager mTransportManager; field in TelephonyTest
483 doReturn(mTransportManager).when(mTelephonyComponentFactory) in setUp()
514 doReturn(mTransportManager).when(mPhone).getTransportManager(); in setUp()
597 .when(mTransportManager).getAvailableTransports(); in setUp()
598 doReturn(AccessNetworkConstants.TRANSPORT_TYPE_WWAN).when(mTransportManager) in setUp()
DServiceStateTrackerTest.java2153 when(mTransportManager.isAnyApnPreferredOnIwlan()).thenReturn(false); in testRilDataTechnologyChangeTransportPreference()
2172 when(mTransportManager.isAnyApnPreferredOnIwlan()).thenReturn(true); in testRilDataTechnologyChangeTransportPreference()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java756 doReturn(true).when(mTransportManager).isInLegacyMode(); in testRoamingToOutOfService()
781 doReturn(true).when(mTransportManager).isInLegacyMode(); in testRoamingChangeForLteInLegacyMode()
805 doReturn(true).when(mTransportManager).isInLegacyMode(); in testDataOnlyRoamingCellToIWlanInLegacyMode()
830 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.java176 @Mock private TransportManager mTransportManager; field in KeyValueBackupTaskTest
229 USER_ID, mContext, mBaseStateDir, mDataDir, mTransportManager)); in setUp()
233 mTransportManager, in setUp()
2405 TransportTestUtils.setUpTransport(mTransportManager, transport); in setUpTransport()