/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerNotificationTest.java | 58 startedReceiver.waitForBroadcast(); in testMediaScannerNotification() 59 finishedReceiver.waitForBroadcast(); in testMediaScannerNotification() 73 startedReceiver.waitForBroadcast(); in testMediaScannerNotification() 74 finishedReceiver.waitForBroadcast(); in testMediaScannerNotification() 84 startedReceiver.waitForBroadcast(); in testMediaScannerNotification() 85 finishedReceiver.waitForBroadcast(); in testMediaScannerNotification()
|
D | ScannerNotificationReceiver.java | 46 public void waitForBroadcast() throws InterruptedException { in waitForBroadcast() method in ScannerNotificationReceiver
|
D | MediaScannerTest.java | 560 finishedReceiver.waitForBroadcast(); in startMediaScanAndWait()
|
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/ |
D | TaskSwitchingDeviceTest.java | 59 assertTrue(mReceiverA.waitForBroadcast(TASK_SWITCHING_WAIT_TIME)); in setUp() 62 assertTrue(mReceiverB.waitForBroadcast(TASK_SWITCHING_WAIT_TIME)); in setUp() 82 assertTrue(mReceiverA.waitForBroadcast(TASK_SWITCHING_WAIT_TIME)); in testMeasureTaskSwitching() 84 assertTrue(mReceiverB.waitForBroadcast(TASK_SWITCHING_WAIT_TIME)); in testMeasureTaskSwitching() 109 public boolean waitForBroadcast(long timeoutInSec) throws InterruptedException { in waitForBroadcast() method in TaskSwitchingDeviceTest.AppBroadcastReceiver
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CustomizationRestrictionsTest.java | 77 public void waitForBroadcast() throws Exception { in waitForBroadcast() method in CustomizationRestrictionsTest.BroadcastReceiverRegistrator 78 mReceiver.waitForBroadcast(); in waitForBroadcast() 90 public void waitForBroadcast() throws Exception { in waitForBroadcast() method in CustomizationRestrictionsTest.BlockingBroadcastReceiver 135 bcast.waitForBroadcast(); in testDisallowSetWallpaper_allowed() 143 bcast.waitForBroadcast(); in testDisallowSetWallpaper_allowed() 150 bcast.waitForBroadcast(); in testDisallowSetWallpaper_allowed()
|
D | ScreenCaptureDisabledTest.java | 79 assertTrue(mReceiver.waitForBroadcast()); in startTestActivity() 92 public boolean waitForBroadcast() throws Exception { in waitForBroadcast() method in ScreenCaptureDisabledTest.ScreenCaptureBroadcastReceiver
|
D | PermissionsTest.java | 243 assertEquals(expected, mReceiver.waitForBroadcast()); in assertPermissionRequest() 258 assertEquals(expected, mReceiver.waitForBroadcast()); in assertPermissionGrantState() 314 public int waitForBroadcast() throws Exception { in waitForBroadcast() method in PermissionsTest.PermissionBroadcastReceiver
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | DisableContextTest.java | 76 waitForBroadcast(); in testContextAndScreenshotOff() 88 waitForBroadcast(); in testContextAndScreenshotOff() 100 waitForBroadcast(); in testContextAndScreenshotOff()
|
D | AssistTestBase.java | 173 protected boolean waitForBroadcast() throws Exception { in waitForBroadcast() method in AssistTestBase
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | ScanResultTest.java | 119 waitForBroadcast(TIMEOUT_MSEC, STATE_WIFI_CHANGED); in setWifiEnabled() 123 private void waitForBroadcast(long timeout, int expectedState) throws Exception { in waitForBroadcast() method in ScanResultTest 147 waitForBroadcast(SCAN_WAIT_MSEC, STATE_SCAN_RESULTS_AVAILABLE); in scanAndWait()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SystemUpdatePolicyTest.java | 119 waitForBroadcast(); in testPolicy() 133 private void waitForBroadcast() { in waitForBroadcast() method in SystemUpdatePolicyTest
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityReceiver.java | 40 static boolean waitForBroadcast() { in waitForBroadcast() method in ConnectivityReceiver
|
D | ConnectivityManagerTest.java | 399 assertFalse(ConnectivityReceiver.waitForBroadcast()); in testConnectivityChanged_manifestRequestOnly_shouldNotReceiveIntent() 414 assertTrue(ConnectivityReceiver.waitForBroadcast()); in testConnectivityChanged_whenRegistered_shouldReceiveIntent()
|