Searched refs:waitForReceiver (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | BroadcastReceiverTest.java | 119 public synchronized void waitForReceiver(long timeout) in waitForReceiver() method in BroadcastReceiverTest.MockReceiverInternal 184 internalReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testOnReceive() 203 internalReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testManifestReceiverPackage() 232 internalReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testManifestReceiverComponent() 260 internalReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testManifestReceiverPermission() 286 internalReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testNoManifestReceiver() 321 internalOrderReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testAbortBroadcast() 352 lastReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testDisabledBroadcastReceiver() 367 internalReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testPeekService() 378 internalReceiver.waitForReceiver(SEND_BROADCAST_TIMEOUT); in testPeekService()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 146 waitForReceiver(InstrumentationRegistry.getContext(), 59_000, resultsLatch, null); in performBleScan() 197 waitForReceiver(context, 10_000, latch, null); in testCameraState() 269 waitForReceiver(context, 59_000, latch, null); in testGpsScan() 309 waitForReceiver(context, 120_000, latch, null); in testSyncState() 317 waitForReceiver(context, 120_000, latch, null); in testSyncState() 337 waitForReceiver(context, 2_500, latch, null); in testScheduledJob() 369 waitForReceiver(null, 120_000, latch, null); in testWakelockLoad() 383 waitForReceiver(context, 10_000, onReceiveLatch, receiver); in testWakeupAlarm() 432 waitForReceiver(context, 60_000, onReceiveLatch, receiver); in testWifiScan() 513 private static void waitForReceiver(Context ctx, in waitForReceiver() method in AtomTests
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsBgVsFgActions.java | 246 waitForReceiver(ctx, 59_000, latch, null); in doGpsUpdate() 271 waitForReceiver(null, 60_000, latch, null); in doScheduleJob() 354 private static void waitForReceiver(Context ctx, in waitForReceiver() method in BatteryStatsBgVsFgActions
|