Home
last modified time | relevance | path

Searched refs:WaitForBroadcast (Results 1 – 4 of 4) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerFgsBgStartTest.java44 import android.app.cts.android.app.cts.tools.WaitForBroadcast;
172 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBG()
196 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBG()
230 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBG()
279 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBGTwoProcesses()
307 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationStartFromBGTwoProcesses()
359 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationPendingIntent()
382 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationPendingIntent()
396 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationPendingIntent()
426 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsLocationPendingIntent()
[all …]
DActivityManagerApi29Test.java42 import android.app.cts.android.app.cts.tools.WaitForBroadcast;
252 WaitForBroadcast waiter = new WaitForBroadcast(sInstrumentation.getTargetContext()); in testAppOpsHistoricalOps()
259 waiter = new WaitForBroadcast(sInstrumentation.getTargetContext()); in testAppOpsHistoricalOps()
DActivityManagerProcessStateTest.java46 import android.app.cts.android.app.cts.tools.WaitForBroadcast;
976 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testBackgroundCheckActivityService()
1235 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testBgRestrictedForegroundService()
2334 BiConsumer<WatchUidRunner, WaitForBroadcast> checkKillResult) throws Exception { in testFgsStickyInternal()
2351 WaitForBroadcast waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsStickyInternal()
2373 waiter = new WaitForBroadcast(mInstrumentation.getTargetContext()); in testFgsStickyInternal()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWaitForBroadcast.java28 public class WaitForBroadcast { class
37 synchronized (WaitForBroadcast.this) {
40 WaitForBroadcast.this.notifyAll();
45 public WaitForBroadcast(Context context) { in WaitForBroadcast() method in WaitForBroadcast