Home
last modified time | relevance | path

Searched refs:mTransportName (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java84 private String mTransportName; field in PerformInitializeTaskTest
91 mTransportName = mTransport.transportName; in setUp()
105 PerformInitializeTask performInitializeTask = createPerformInitializeTask(mTransportName); in testRun_callsTransportCorrectly()
117 PerformInitializeTask performInitializeTask = createPerformInitializeTask(mTransportName); in testRun_callsBackupManagerCorrectly()
122 .recordInitPending(false, mTransportName, mTransport.transportDirName); in testRun_callsBackupManagerCorrectly()
131 PerformInitializeTask performInitializeTask = createPerformInitializeTask(mTransportName); in testRun_callsObserverAndListenerCorrectly()
135 verify(mObserver).onResult(eq(mTransportName), eq(TRANSPORT_OK)); in testRun_callsObserverAndListenerCorrectly()
144 PerformInitializeTask performInitializeTask = createPerformInitializeTask(mTransportName); in testRun_whenInitializeDeviceFails()
151 .recordInitPending(true, mTransportName, mTransport.transportDirName); in testRun_whenInitializeDeviceFails()
159 PerformInitializeTask performInitializeTask = createPerformInitializeTask(mTransportName); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java64 private final String mTransportName; field in ActiveRestoreSession
81 mTransportName = transportName; in ActiveRestoreSession()
113 mTransportName, "RestoreSession.getAvailableRestoreSets()"); in getAvailableRestoreSets()
177 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restoreAll()
178 Slog.e(TAG, "Transport " + mTransportName + " not registered"); in restoreAll()
270 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackages()
271 Slog.e(TAG, "Transport " + mTransportName + " not registered"); in restorePackages()
371 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackage()
372 Slog.e(TAG, "Transport " + mTransportName + " not registered"); in restorePackage()
424 mTransportManager.getTransportClient(mTransportName, callerLogString); in sendRestoreToHandlerLocked()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java124 private String mTransportName; field in UserBackupManagerServiceTest
137 mTransportName = mTransport.transportName; in setUp()
175 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString()
179 String destination = backupManagerService.getDestinationString(mTransportName); in testDestinationString()
191 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_whenTransportNotRegistered()
195 String destination = backupManagerService.getDestinationString(mTransportName); in testDestinationString_whenTransportNotRegistered()
207 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_withoutPermission()
213 () -> backupManagerService.getDestinationString(mTransportName)); in testDestinationString_withoutPermission()
463 assertThat(getSettingsTransport()).isNotEqualTo(mTransportName); in testSelectBackupTransportAsync_whenTransportGetsUnregistered()
606 mTransportName, in testUpdateTransportAttributes_whenTransportUidEqualsCallingUid_callsTransportManager()
[all …]