Home
last modified time | relevance | path

Searched refs:waiter (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java263 Runnable waiter = new Runnable() { in runOnUiThread() local
271 synchronized (waiter) { in runOnUiThread()
273 mHandler.post(waiter); in runOnUiThread()
275 waiter.wait(TIMEOUT); in runOnUiThread()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java581 Runnable waiter = new Runnable() { in runOnUiThread() local
589 synchronized (waiter) { in runOnUiThread()
591 mUiHandler.post(waiter); in runOnUiThread()
593 waiter.wait(UI_TIMEOUT_MS); in runOnUiThread()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java926 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testBackgroundCheckActivityService() local
927 waiter.prepare(ACTION_SIMPLE_ACTIVITY_START_SERVICE_RESULT); in testBackgroundCheckActivityService()
930 Intent resultIntent = waiter.doWait(WAIT_TIME); in testBackgroundCheckActivityService()
1177 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testBgRestrictedForegroundService() local
1178 waiter.prepare(ACTION_SIMPLE_ACTIVITY_START_FG_SERVICE_RESULT); in testBgRestrictedForegroundService()
1184 Intent resultIntent = waiter.doWait(WAIT_TIME); in testBgRestrictedForegroundService()