Home
last modified time | relevance | path

Searched refs:waitForBroadcast (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java58 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()
DScannerNotificationReceiver.java46 public void waitForBroadcast() throws InterruptedException { in waitForBroadcast() method in ScannerNotificationReceiver
DMediaScannerTest.java560 finishedReceiver.waitForBroadcast(); in startMediaScanAndWait()
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java59 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/
DCustomizationRestrictionsTest.java77 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()
DScreenCaptureDisabledTest.java79 assertTrue(mReceiver.waitForBroadcast()); in startTestActivity()
92 public boolean waitForBroadcast() throws Exception { in waitForBroadcast() method in ScreenCaptureDisabledTest.ScreenCaptureBroadcastReceiver
DPermissionsTest.java243 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/
DDisableContextTest.java76 waitForBroadcast(); in testContextAndScreenshotOff()
88 waitForBroadcast(); in testContextAndScreenshotOff()
100 waitForBroadcast(); in testContextAndScreenshotOff()
DAssistTestBase.java173 protected boolean waitForBroadcast() throws Exception { in waitForBroadcast() method in AssistTestBase
/cts/tests/tests/net/src/android/net/wifi/cts/
DScanResultTest.java119 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/
DSystemUpdatePolicyTest.java119 waitForBroadcast(); in testPolicy()
133 private void waitForBroadcast() { in waitForBroadcast() method in SystemUpdatePolicyTest
/cts/tests/tests/net/src/android/net/cts/
DConnectivityReceiver.java40 static boolean waitForBroadcast() { in waitForBroadcast() method in ConnectivityReceiver
DConnectivityManagerTest.java399 assertFalse(ConnectivityReceiver.waitForBroadcast()); in testConnectivityChanged_manifestRequestOnly_shouldNotReceiveIntent()
414 assertTrue(ConnectivityReceiver.waitForBroadcast()); in testConnectivityChanged_whenRegistered_shouldReceiveIntent()