/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionTest.java | 101 mActivity.returnLatch.await(1500, TimeUnit.MILLISECONDS)); in testOnSharedElementsArrived() 102 assertTrue(mActivity.reenterLatch.await(300, TimeUnit.MILLISECONDS)); in testOnSharedElementsArrived() 149 mActivity.returnLatch.await(2000, TimeUnit.MILLISECONDS)); 150 assertTrue("Reenter transition didn't finish", latch.await(1000, TimeUnit.MILLISECONDS)); 151 assertTrue(mActivity.reenterLatch.await(300, TimeUnit.MILLISECONDS)); 183 mActivity.returnLatch.await(1500, TimeUnit.MILLISECONDS)); 184 assertTrue(mActivity.reenterLatch.await(300, TimeUnit.MILLISECONDS)); 217 mActivity.returnLatch.await(1500, TimeUnit.MILLISECONDS)); 218 assertTrue("Reenter transition didn't finish", latch.await(1000, TimeUnit.MILLISECONDS)); 219 assertTrue(mActivity.reenterLatch.await(300, TimeUnit.MILLISECONDS)); [all …]
|
/cts/tests/tests/location/src/android/location/cts/ |
D | GnssNavigationMessageRegistrationTest.java | 97 mTestGnssNavigationMessageListener.await(); in testGnssNavigationMessageRegistration() 120 mLocationListener.await(); in testGnssNavigationMessageRegistration() 128 mGpsStatusListener.await(); in testGnssNavigationMessageRegistration()
|
D | GnssMeasurementRegistrationTest.java | 96 mMeasurementListener.await(); in testGnssMeasurementRegistration() 122 mLocationListener.await(); in testGnssMeasurementRegistration()
|
D | TestUtils.java | 42 if (latch.await(STANDARD_WAIT_TIME_MS, TimeUnit.MILLISECONDS)) { in waitFor()
|
D | TestGnssStatusCallback.java | 89 public boolean await() throws InterruptedException { in await() method in TestGnssStatusCallback
|
D | TestLocationListener.java | 64 public boolean await() throws InterruptedException { in await() method in TestLocationListener
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | LocalVoiceInteractionTest.java | 68 VoiceInteractionTestReceiver.sServiceStartedLatch.await(5, TimeUnit.SECONDS); in testLifecycle() 73 if (!mLatchStart.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testLifecycle() 78 if (!mLatchStop.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testLifecycle()
|
D | VoiceInteractionTest.java | 90 VoiceInteractionTestReceiver.sServiceStartedLatch.await(5, TimeUnit.SECONDS); in testAll() 96 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testAll()
|
/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/tests/tests/transition/src/android/transition/cts/ |
D | TransitionManagerTest.java | 111 assertFalse(mListener.startLatch.await(50, TimeUnit.MILLISECONDS)); in testSetTransition1() 129 assertFalse(mListener.startLatch.await(100, TimeUnit.MILLISECONDS)); in testSetTransition2() 154 assertFalse(mListener.startLatch.await(50, TimeUnit.MILLISECONDS)); in testSetTransition2() 178 assertFalse(mListener.startLatch.await(100, TimeUnit.MILLISECONDS)); in testEndTransitionsBeforeStarted() 179 assertFalse(mListener.endLatch.await(10, TimeUnit.MILLISECONDS)); in testEndTransitionsBeforeStarted()
|
D | SlideEdgeTest.java | 93 assertTrue(listener.startLatch.await(1, TimeUnit.SECONDS)); in testSlideOut() 133 assertTrue(listener.endLatch.await(1, TimeUnit.SECONDS)); in testSlideOut() 188 assertTrue(listener.startLatch.await(1, TimeUnit.SECONDS)); in testSlideIn() 229 assertTrue(listener.endLatch.await(1, TimeUnit.SECONDS)); in testSlideIn()
|
D | BaseTransitionTest.java | 65 assertTrue(listener.startLatch.await(4000, TimeUnit.MILLISECONDS)); in waitForStart() 75 listener.endLatch.await(waitMillis, TimeUnit.MILLISECONDS); in waitForEnd()
|
/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/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()
|
D | TriggerContentJobService.java | 125 final boolean executed = mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitExecution() 154 return !mLatch.await(DEFAULT_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitTimeout()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | FocusChangeTest.java | 75 if (!mHasGainedFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToGainFocus() 82 if (!mHasLostFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToLoseFocus()
|
D | WebViewTest.java | 80 if (!mHasResumedLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForOnResume() 87 if (!mTestWebViewLatch.await(Utils.ACTIVITY_ONRESUME_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForTestActivity()
|
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()
|
/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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DynamicSensorDiscoveryTestActivity.java | 185 ret = mConnectLatch.await(CONNECTION_TIMEOUT_SEC, TimeUnit.SECONDS); in waitForConnection() 199 ret = mDisconnectLatch.await(DISCONNECTION_TIMEOUT_SEC, TimeUnit.SECONDS); in waitForDisconnection() 232 ret = eventLatch.await(EVENT_TIMEOUT_SEC, TimeUnit.SECONDS); in waitForSensorEvent()
|
/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/ |
D | AcceleratedView.java | 56 if (mDrawLatch.await(1, TimeUnit.SECONDS)) { in isCanvasHardwareAccelerated()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityManagerMemoryClassLaunchActivity.java | 68 mLatch.await(5, TimeUnit.SECONDS); in getResult()
|