Searched refs:runToEndOfTasks (Results 1 – 7 of 7) sorted by relevance
205 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 …]
19 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()
160 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()
83 public static void runToEndOfTasks(Looper looper) { in runToEndOfTasks() method in TestUtils85 shadowLooper.runToEndOfTasks(); in runToEndOfTasks()
19 import static com.android.server.backup.testing.TestUtils.runToEndOfTasks;97 runToEndOfTasks(backupThread.getLooper()); in createUserBackupManagerServiceAndRunTasks()
416 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()
2629 mShadowBackupLooper.runToEndOfTasks(); in setUpAgent()