Home
last modified time | relevance | path

Searched refs:await (Results 1 – 25 of 62) sorted by relevance

123

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DActivityResultMultiplexedLatch.java53 public int await() throws InterruptedException { in await() method in ActivityResultMultiplexedLatch.Latch
54 mEntry.latch.await(); in await()
DSuspendStateMonitor.java50 latch.await(); in waitForWakeUp()
53 boolean countZero = latch.await(numSeconds, TimeUnit.SECONDS); in waitForWakeUp()
/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java118 return mIdleLatch.await(TIMEOUT, TimeUnit.MILLISECONDS); in hasIdleHandlerBeenCalled()
142 latch1.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle()
161 latch2.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle()
370 readerDone.await(TIMEOUT, TimeUnit.MILLISECONDS); in testFileDescriptorCallbacks()
378 writerSawError.await(TIMEOUT, TimeUnit.MILLISECONDS); in testFileDescriptorCallbacks()
433 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks1()
460 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks1()
515 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks2()
542 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks2()
618 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks3()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
DMockJobService.java83 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution()
93 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout()
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java87 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution()
97 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout()
/cts/tests/tests/graphics/src/android/opengl/cts/
DOpenGlEsVersionCtsActivity.java80 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getVersionString()
87 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getExtensionsString()
94 mSurfaceCreatedLatch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS); in getAepEs31Support()
DEglConfigCtsActivity.java94 if (!mFinishedDrawing.await(3, TimeUnit.SECONDS)) { in waitToFinishDrawing()
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/
DCaptureActivity.java31 mLatch.await(); in waitForCompletion()
/cts/tests/acceleration/src/android/acceleration/cts/
DAcceleratedView.java56 if (mDrawLatch.await(1, TimeUnit.SECONDS)) { in isCanvasHardwareAccelerated()
/cts/tests/tests/assist/src/android/assist/cts/
DLifecycleTest.java89 if (!mHasResumedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnResume()
95 if (mActivityLifecycleLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitAndSeeIfLifecycleMethodsAreTriggered()
DAssistStructureTest.java77 if (!mHasResumedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnResume()
DFlagSecureTest.java74 if (!mHasResumedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnResume()
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryClassLaunchActivity.java68 mLatch.await(5, TimeUnit.SECONDS); in getResult()
/cts/tests/tests/media/src/android/media/cts/
DScannerNotificationReceiver.java47 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForBroadcast()
/cts/tests/tests/security/src/android/security/cts/
DClonedSecureRandomTest.java134 if (!mLatch.await(ANSWER_TIMEOUT_SECONDS, TimeUnit.SECONDS)) { in testCheckForDuplicateOutput()
165 … } while (!serviceStopLatch.await(100, TimeUnit.MILLISECONDS) && tries++ < MAX_SHUTDOWN_TRIES); in testCheckForDuplicateOutput()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoActivity.java49 mDone.await(); in waitForAcitityToFinish()
66 done.await(); in runIterations()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyChainTest.java81 waiter.await(); in testGetPrivateKeyOnMainThreadFails()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCameraUtils.java89 mLatch.await(OPEN_TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForResult()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java107 if (!latch.await(latchTimeoutMs, TimeUnit.MILLISECONDS)) { in addAccountAndVerifyInitSync()
131 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS); in cancelSync()
147 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS); in requestSync()
/cts/tests/tests/widget/src/android/widget/cts/
DQuickContactBadgeTest.java74 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testPrioritizedMimetype()
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGLES20NativeActivityTwo.java43 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn()
DOpenGLES20ActivityTwo.java43 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java491 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testAddAccountWithCallbackAndHandler()
811 latch1.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()
850 latch2.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()
1102 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithCallback_Options_Handler_DefaultToken_Success()
1162 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithCallback_Options_Handler_CustomToken_Success()
1233 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithCallbackAndHandler()
1293 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAuthTokenWithOptionsAndCallbackAndHandler()
1509 latch.await(3 * LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testConfirmCredentialsWithCallbackAndHandler()
1591 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testUpdateCredentialsWithCallbackAndHandler()
1647 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testEditPropertiesWithCallbackAndHandler()
[all …]
/cts/suite/cts/deviceTests/ui/src/com/android/cts/ui/
DScrollingActivity.java75 result = mLatchStop.await(WAIT_TIMEOUT_IN_SECS, TimeUnit.SECONDS); in doScroll()
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_QuickContactsTest.java81 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testPrioritizedMimeTypeAndExcludedMimeTypes()

123