Home
last modified time | relevance | path

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

12345

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionTest.java101 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/
DGnssNavigationMessageRegistrationTest.java97 mTestGnssNavigationMessageListener.await(); in testGnssNavigationMessageRegistration()
120 mLocationListener.await(); in testGnssNavigationMessageRegistration()
128 mGpsStatusListener.await(); in testGnssNavigationMessageRegistration()
DGnssMeasurementRegistrationTest.java96 mMeasurementListener.await(); in testGnssMeasurementRegistration()
122 mLocationListener.await(); in testGnssMeasurementRegistration()
DTestUtils.java42 if (latch.await(STANDARD_WAIT_TIME_MS, TimeUnit.MILLISECONDS)) { in waitFor()
DTestGnssStatusCallback.java89 public boolean await() throws InterruptedException { in await() method in TestGnssStatusCallback
DTestLocationListener.java64 public boolean await() throws InterruptedException { in await() method in TestLocationListener
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DLocalVoiceInteractionTest.java68 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()
DVoiceInteractionTest.java90 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/
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/tests/tests/transition/src/android/transition/cts/
DTransitionManagerTest.java111 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()
DSlideEdgeTest.java93 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()
DBaseTransitionTest.java65 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/
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/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()
DTriggerContentJobService.java125 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/
DFocusChangeTest.java75 if (!mHasGainedFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToGainFocus()
82 if (!mHasLostFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToLoseFocus()
DWebViewTest.java80 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()
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()
/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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDynamicSensorDiscoveryTestActivity.java185 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/
DCaptureActivity.java31 mLatch.await(); in waitForCompletion()
/cts/tests/acceleration/src/android/acceleration/
DAcceleratedView.java56 if (mDrawLatch.await(1, TimeUnit.SECONDS)) { in isCanvasHardwareAccelerated()
/cts/tests/app/app/src/android/app/stubs/
DActivityManagerMemoryClassLaunchActivity.java68 mLatch.await(5, TimeUnit.SECONDS); in getResult()

12345