/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | ActivityResultMultiplexedLatch.java | 53 public int await() throws InterruptedException { in await() method in ActivityResultMultiplexedLatch.Latch 54 mEntry.latch.await(); in await()
|
D | SuspendStateMonitor.java | 50 latch.await(); in waitForWakeUp() 53 boolean countZero = latch.await(numSeconds, TimeUnit.SECONDS); in waitForWakeUp()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 118 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/ |
D | MockJobService.java | 83 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/ |
D | MockJobService.java | 87 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/ |
D | OpenGlEsVersionCtsActivity.java | 80 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()
|
D | EglConfigCtsActivity.java | 94 if (!mFinishedDrawing.await(3, TimeUnit.SECONDS)) { in waitToFinishDrawing()
|
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/ |
D | CaptureActivity.java | 31 mLatch.await(); in waitForCompletion()
|
/cts/tests/acceleration/src/android/acceleration/cts/ |
D | AcceleratedView.java | 56 if (mDrawLatch.await(1, TimeUnit.SECONDS)) { in isCanvasHardwareAccelerated()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | LifecycleTest.java | 89 if (!mHasResumedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnResume() 95 if (mActivityLifecycleLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitAndSeeIfLifecycleMethodsAreTriggered()
|
D | AssistStructureTest.java | 77 if (!mHasResumedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnResume()
|
D | FlagSecureTest.java | 74 if (!mHasResumedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnResume()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassLaunchActivity.java | 68 mLatch.await(5, TimeUnit.SECONDS); in getResult()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ScannerNotificationReceiver.java | 47 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForBroadcast()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ClonedSecureRandomTest.java | 134 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/ |
D | DeviceInfoActivity.java | 49 mDone.await(); in waitForAcitityToFinish() 66 done.await(); in runIterations()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyChainTest.java | 81 waiter.await(); in testGetPrivateKeyOnMainThreadFails()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CameraUtils.java | 89 mLatch.await(OPEN_TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForResult()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 107 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/ |
D | QuickContactBadgeTest.java | 74 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testPrioritizedMimetype()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | OpenGLES20NativeActivityTwo.java | 43 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn()
|
D | OpenGLES20ActivityTwo.java | 43 result = mLatch.await(10L, TimeUnit.SECONDS); in waitForFrameDrawn()
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountManagerTest.java | 491 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/ |
D | ScrollingActivity.java | 75 result = mLatchStop.await(WAIT_TIMEOUT_IN_SECS, TimeUnit.SECONDS); in doScroll()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_QuickContactsTest.java | 81 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testPrioritizedMimeTypeAndExcludedMimeTypes()
|