Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java81 public void waitForBroadcast() throws Exception { in waitForBroadcast() method in CustomizationRestrictionsTest.BroadcastReceiverRegistrator
82 mReceiver.waitForBroadcast(); in waitForBroadcast()
94 public void waitForBroadcast() throws Exception { in waitForBroadcast() method in CustomizationRestrictionsTest.BlockingBroadcastReceiver
125 bcast.waitForBroadcast(); in testDisallowSetWallpaper_allowed()
133 bcast.waitForBroadcast(); in testDisallowSetWallpaper_allowed()
140 bcast.waitForBroadcast(); in testDisallowSetWallpaper_allowed()
DNetworkLoggingTest.java129 mReceiver.waitForBroadcast(); in testRetrieveNetworkLogs_forceNetworkLogs_receiveNetworkLogs()
237 private void waitForBroadcast() throws InterruptedException { in waitForBroadcast() method in NetworkLoggingTest.NetworkLogsReceiver
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerNotificationTest.java55 startedReceiver.waitForBroadcast(); in testMediaScannerNotification()
56 finishedReceiver.waitForBroadcast(); in testMediaScannerNotification()
70 startedReceiver.waitForBroadcast(); in testMediaScannerNotification()
71 finishedReceiver.waitForBroadcast(); in testMediaScannerNotification()
81 startedReceiver.waitForBroadcast(); in testMediaScannerNotification()
82 finishedReceiver.waitForBroadcast(); in testMediaScannerNotification()
DScannerNotificationReceiver.java46 public void waitForBroadcast() throws InterruptedException { in waitForBroadcast() method in ScannerNotificationReceiver
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DBaseProxyTest.java65 mReceiver.waitForBroadcast(); in registerAndWaitForStickyBroadcast()
85 return mReceiver.waitForBroadcast(); in setProxyAndWaitForBroadcast()
172 public boolean waitForBroadcast() throws Exception { in waitForBroadcast() method in BaseProxyTest.ProxyBroadcastReceiver
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DScanResultTest.java209 waitForBroadcast(TIMEOUT_MSEC, STATE_WIFI_CHANGED); in setWifiEnabled()
213 private static boolean waitForBroadcast(long timeout, int expectedState) throws Exception { in waitForBroadcast() method in ScanResultTest
275 if (waitForBroadcast(SCAN_WAIT_MSEC, STATE_SCAN_RESULTS_AVAILABLE)) { in scanAndWait()
389 waitForBroadcast(SCAN_WAIT_MSEC * 2, STATE_SCAN_RESULTS_AVAILABLE)); in testScanThrottling()
394 waitForBroadcast(SCAN_WAIT_MSEC, STATE_SCAN_FAILURE)); in testScanThrottling()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DPermissionBroadcastReceiver.java50 public int waitForBroadcast() throws Exception { in waitForBroadcast() method in PermissionBroadcastReceiver
DPermissionUtils.java85 int actual = receiver.waitForBroadcast(); in assertBroadcastReceived()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetPayloadToggleActivity.java173 waitForBroadcast(); in onNewIntent()
190 private void waitForBroadcast() { in waitForBroadcast() method in SharesheetPayloadToggleActivity
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DCarrierRoamingSatelliteSmsTest.java249 assertTrue(sendReceiver.waitForBroadcast(1)); in sendMessage()
269 assertTrue(receivedReceiver.waitForBroadcast(1)); in receiveMessage()
DCarrierRoamingSatelliteTestBase.java324 public boolean waitForBroadcast(int expectedNumberOfEvents) { in waitForBroadcast() method in CarrierRoamingSatelliteTestBase.SmsMmsBroadcastReceiver
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DWorkProfileNetworkLoggingDelegateTest.java113 DelegateTestUtils.DelegatedLogsReceiver.waitForBroadcast(); in testRetrieveNetworkLogs_forceNetworkLogs_receiveNetworkLogs()
DDelegateTestUtils.java119 public static void waitForBroadcast() throws InterruptedException { in waitForBroadcast() method in DelegateTestUtils.DelegatedLogsReceiver
/cts/tests/tests/content/src/android/content/pm/cts/
DResourcesHardeningTest.java368 pidDetector.waitForBroadcast(RESPONSE_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in start()
378 if (finishDetector.waitForBroadcast(SPIN_SLEEP_MS, TimeUnit.MILLISECONDS)) { in start()
/cts/tests/tests/content/HelloWorldApp/src_res_hardening_lib/com/example/helloworld/lib/
DTestUtils.java271 public boolean waitForBroadcast(long timeout, TimeUnit unit) in waitForBroadcast() method in TestUtils.BroadcastDetector