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.java55 private final String mTransportName; field in ActiveRestoreSession
70 mTransportName = transportName; in ActiveRestoreSession()
101 mTransportName, "RestoreSession.getAvailableRestoreSets()"); in getAvailableRestoreSets()
164 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restoreAll()
165 Slog.e(TAG, "Transport " + mTransportName + " not registered"); in restoreAll()
255 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackages()
256 Slog.e(TAG, "Transport " + mTransportName + " not registered"); in restorePackages()
332 if (!mTransportManager.isTransportRegistered(mTransportName)) { in restorePackage()
333 Slog.e(TAG, "Transport " + mTransportName + " not registered"); in restorePackage()
384 mTransportManager.getTransportClient(mTransportName, callerLogString); in sendRestoreToHandlerLocked()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java107 private String mTransportName; field in UserBackupManagerServiceTest
120 mTransportName = mTransport.transportName; in setUp()
158 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString()
162 String destination = backupManagerService.getDestinationString(mTransportName); in testDestinationString()
174 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_whenTransportNotRegistered()
178 String destination = backupManagerService.getDestinationString(mTransportName); in testDestinationString_whenTransportNotRegistered()
190 when(mTransportManager.getTransportCurrentDestinationString(eq(mTransportName))) in testDestinationString_withoutPermission()
196 () -> backupManagerService.getDestinationString(mTransportName)); in testDestinationString_withoutPermission()
426 assertThat(getSettingsTransport()).isNotEqualTo(mTransportName); in testSelectBackupTransportAsync_whenTransportGetsUnregistered()
552 mTransportName, in testUpdateTransportAttributes_whenTransportUidEqualsCallingUid_callsTransportManager()
[all …]