Home
last modified time | relevance | path

Searched refs:runToEndOfTasks (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
H A DActiveRestoreSessionTest.java205 mShadowBackupLooper.runToEndOfTasks(); in testGetAvailableRestoreSets()
224 mShadowBackupLooper.runToEndOfTasks(); in testGetAvailableRestoreSets_forEmptyRestoreSets()
239 mShadowBackupLooper.runToEndOfTasks(); in testGetAvailableRestoreSets_forNullRestoreSets()
259 mShadowBackupLooper.runToEndOfTasks(); in testRestoreAll()
303 mShadowBackupLooper.runToEndOfTasks(); in testRestoreAll_whenSessionEnded()
332 mShadowBackupLooper.runToEndOfTasks(); in testRestoreAll_whenRestoreInProgress_addsToPendingRestores()
347 mShadowBackupLooper.runToEndOfTasks(); in testRestorePackages_for2Packages()
369 mShadowBackupLooper.runToEndOfTasks(); in testRestorePackages_for2Packages_createsSystemRestoreTask()
382 mShadowBackupLooper.runToEndOfTasks(); in testRestorePackages_for1Package()
398 mShadowBackupLooper.runToEndOfTasks(); in testRestorePackages_for1Package_createsNonSystemRestoreTask()
[all …]
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
H A DRemoteCallTest.java19 import static com.android.server.backup.testing.TestUtils.runToEndOfTasks;
142 runToEndOfTasks(Looper.getMainLooper()); in testCall_whenTimesOutBeforeCallbackIsCalled_returnsTimeOut()
154 runToEndOfTasks(Looper.getMainLooper()); in testCall_whenTimesOutBeforeCancelIsCalled_returnsTimeOut()
174 runToEndOfTasks(Looper.getMainLooper()); in testCall_whenCallbackIsCalledBeforeTimeOut_returnsResult()
217 runToEndOfTasks(Looper.getMainLooper()); in testCall_whenCancelIsCalledBeforeTimeOutButAfterCall_returnsCancel()
248 runToEndOfTasks(Looper.getMainLooper()); in testExecute_whenTimesOutBeforeCallback_returnsTimeOut()
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
H A DTransportConnectionTest.java160 mShadowMainLooper.runToEndOfTasks(); in testConnectAsync_callsListenerWhenConnected()
174 mShadowMainLooper.runToEndOfTasks(); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected()
191 mShadowMainLooper.runToEndOfTasks(); in testConnectAsync_whenAlreadyConnected_callsListener()
208 mShadowMainLooper.runToEndOfTasks(); in testConnectAsync_whenFrameworkDoesntBind_callsListener()
263 mShadowMainLooper.runToEndOfTasks(); in testConnectAsync_callsListenerIfBindingDies()
276 mShadowMainLooper.runToEndOfTasks(); in testConnectAsync_whenPendingConnection_callsListenersIfBindingDies()
541 mShadowWorkerLooper.runToEndOfTasks(); in runInWorkerThread()
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
H A DTestUtils.java83 public static void runToEndOfTasks(Looper looper) { in runToEndOfTasks() method in TestUtils
85 shadowLooper.runToEndOfTasks(); in runToEndOfTasks()
H A DBackupManagerServiceTestUtils.java19 import static com.android.server.backup.testing.TestUtils.runToEndOfTasks;
97 runToEndOfTasks(backupThread.getLooper()); in createUserBackupManagerServiceAndRunTasks()
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/
H A DUserBackupManagerServiceTest.java416 mShadowBackupLooper.runToEndOfTasks(); in testSelectBackupTransportAsync()
440 mShadowBackupLooper.runToEndOfTasks(); in testSelectBackupTransportAsync_whenRegistrationFails()
462 mShadowBackupLooper.runToEndOfTasks(); in testSelectBackupTransportAsync_whenTransportGetsUnregistered()
969 mShadowBackupLooper.runToEndOfTasks(); in testRequestBackup_whenPackageIsKeyValue()
993 mShadowBackupLooper.runToEndOfTasks(); in testRequestBackup_whenPackageIsFullBackup()
1062 mShadowBackupLooper.runToEndOfTasks(); in testCreateAndInitializeService_postRegisterTransports()
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
H A DKeyValueBackupTaskTest.java2629 mShadowBackupLooper.runToEndOfTasks(); in setUpAgent()