Home
last modified time | relevance | path

Searched refs:waitForBroadcast (Results 1 – 10 of 10) 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/tests/tests/assist/src/android/assist/cts/
DDisableContextTest.java72 waitForBroadcast(); in testContextAndScreenshotOff()
84 waitForBroadcast(); in testContextAndScreenshotOff()
96 waitForBroadcast(); in testContextAndScreenshotOff()
DAssistTestBase.java165 protected boolean waitForBroadcast() throws Exception { in waitForBroadcast() method in AssistTestBase
/cts/suite/cts/hostTests/uihost/control/src/com/android/cts/taskswitching/control/
DTaskswitchingDeviceTest.java80 assertTrue(mReceiverA.waitForBroadcast(TASK_SWITCHING_WAIT_TIME)); in testMeasureTaskSwitching()
82 assertTrue(mReceiverB.waitForBroadcast(TASK_SWITCHING_WAIT_TIME)); in testMeasureTaskSwitching()
105 public boolean waitForBroadcast(long timeoutInSec) throws InterruptedException { in waitForBroadcast() method in TaskswitchingDeviceTest.AppBroadcastReceiver
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DScreenCaptureDisabledTest.java79 assertTrue(mReceiver.waitForBroadcast()); in startTestActivity()
92 public boolean waitForBroadcast() throws Exception { in waitForBroadcast() method in ScreenCaptureDisabledTest.ScreenCaptureBroadcastReceiver
DPermissionsTest.java241 assertEquals(expected, mReceiver.waitForBroadcast()); in assertPermissionRequest()
256 assertEquals(expected, mReceiver.waitForBroadcast()); in assertPermissionGrantState()
312 public int waitForBroadcast() throws Exception { in waitForBroadcast() method in PermissionsTest.PermissionBroadcastReceiver
/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