Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DActivityManagerFgsBgStartTest.java172 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBG() local
173 waiter.prepare(ACTION_START_FGSL_RESULT); in testFgsLocationStartFromBG()
187 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBG()
196 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBG()
197 waiter.prepare(ACTION_START_FGS_RESULT); in testFgsLocationStartFromBG()
210 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBG()
230 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBG()
231 waiter.prepare(ACTION_START_FGSL_RESULT); in testFgsLocationStartFromBG()
244 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBG()
279 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBGTwoProcesses() local
[all …]
DActivityManagerApi29Test.java252 WaitForBroadcast waiter = new WaitForBroadcast(sInstrumentation.getTargetContext()); in testAppOpsHistoricalOps() local
253 waiter.prepare(ACTION_SIMPLE_ACTIVITY_START_RESULT); in testAppOpsHistoricalOps()
257 waiter.doWait(WAITFOR_MSEC); in testAppOpsHistoricalOps()
259 waiter = new WaitForBroadcast(sInstrumentation.getTargetContext()); in testAppOpsHistoricalOps()
260 waiter.prepare(ACTION_SERVICE_START_RESULT); in testAppOpsHistoricalOps()
262 waiter.doWait(WAITFOR_MSEC); in testAppOpsHistoricalOps()
DActivityManagerProcessStateTest.java976 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testBackgroundCheckActivityService() local
977 waiter.prepare(ACTION_SIMPLE_ACTIVITY_START_SERVICE_RESULT); in testBackgroundCheckActivityService()
980 Intent resultIntent = waiter.doWait(WAIT_TIME * 2); in testBackgroundCheckActivityService()
1235 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testBgRestrictedForegroundService() local
1236 waiter.prepare(ACTION_SIMPLE_ACTIVITY_START_FG_SERVICE_RESULT); in testBgRestrictedForegroundService()
1242 Intent resultIntent = waiter.doWait(WAIT_TIME); in testBgRestrictedForegroundService()
2224 (uidWatcher, waiter) -> { in testFgsSticky1()
2229 waiter.doWait(WAITFOR_MSEC); in testFgsSticky1()
2242 (uidWatcher, waiter) -> { in testFgsSticky2()
2247 waiter.doWait(WAITFOR_MSEC); in testFgsSticky2()
[all …]
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java380 Runnable waiter = new Runnable() { in runOnUiThread() local
388 synchronized (waiter) { in runOnUiThread()
390 mHandler.post(waiter); in runOnUiThread()
392 waiter.wait(TIMEOUT); in runOnUiThread()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java582 Runnable waiter = new Runnable() { in runOnUiThread() local
590 synchronized (waiter) { in runOnUiThread()
592 mUiHandler.post(waiter); in runOnUiThread()
594 waiter.wait(UI_TIMEOUT_MS); in runOnUiThread()