/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21129/src/android/security/cts/CVE_2023_21129/ |
D | DeviceTest.java | 51 Semaphore broadcastReceived = new Semaphore(0); in testBubbleNotification() local 65 broadcastReceived.release(); in testBubbleNotification() 92 broadcastReceived.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)); in testBubbleNotification()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21088/src/android/security/cts/CVE_2023_21088/ |
D | DeviceTest.java | 48 CompletableFuture<String> broadcastReceived = new CompletableFuture<String>(); in testCVE_2023_21088() local 60 broadcastReceived.complete(pocActivityStatus); in testCVE_2023_21088() 75 String pocActivityStatus = broadcastReceived.get(timeoutMs, TimeUnit.MILLISECONDS); in testCVE_2023_21088()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2023_20916/ |
D | CVE_2023_20916.java | 77 final Semaphore broadcastReceived = new Semaphore(0); in testPocCVE_2023_20916() local 84 broadcastReceived.release(); in testPocCVE_2023_20916() 102 broadcastReceived.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testPocCVE_2023_20916()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/test-app/src/android/security/cts/CVE_2023_21272_test/ |
D | DeviceTest.java | 79 Semaphore broadcastReceived = new Semaphore(0); in testCVE_2023_21272() local 90 broadcastReceived.release(); in testCVE_2023_21272() 118 broadcastReceived.tryAcquire(5_000 /* waitMs */, TimeUnit.MILLISECONDS)); in testCVE_2023_21272()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21251/src/android/security/cts/CVE_2023_21251/ |
D | DeviceTest.java | 56 Semaphore broadcastReceived = new Semaphore(0); in testPocCVE_2023_21251() local 62 broadcastReceived.release(); in testPocCVE_2023_21251() 79 broadcastReceived.tryAcquire(timeout, TimeUnit.MILLISECONDS)); in testPocCVE_2023_21251()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2024_23713/ |
D | CVE_2024_23713.java | 74 CompletableFuture<String> broadcastReceived = new CompletableFuture<>(); in testPocCVE_2024_23713() local 80 broadcastReceived.complete( in testPocCVE_2024_23713() 112 String exception = broadcastReceived.get(10_000L /* timeout */, TimeUnit.MILLISECONDS); in testPocCVE_2024_23713()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/broadcastreceivers/ |
D | BroadcastReceiverEvents.kt | 33 fun broadcastReceived(): BroadcastReceivedEventQuery method
|
/cts/tests/tests/security/src/android/security/cts/CVE_2024_0024/ |
D | CVE_2024_0024.java | 90 CompletableFuture<String> broadcastReceived = new CompletableFuture<String>(); in grantSmsPermission() local 96 broadcastReceived.complete( in grantSmsPermission() 109 String exception = broadcastReceived.get(10_000L /* timeout */, TimeUnit.MILLISECONDS); in grantSmsPermission()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20917/src/android/security/cts/CVE_2023_20917/ |
D | DeviceTest.java | 64 Semaphore broadcastReceived = new Semaphore(0); in testCVE_2023_20917() local 75 broadcastReceived.release(); in testCVE_2023_20917() 149 broadcastReceived.tryAcquire(waitMS, TimeUnit.MILLISECONDS)); in testCVE_2023_20917()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21144/src/android/security/cts/CVE_2023_21144/ |
D | DeviceTest.java | 103 Semaphore broadcastReceived = new Semaphore(0); in testPocCVE_2023_21144() local 109 broadcastReceived.release(); in testPocCVE_2023_21144() 124 broadcastReceived.tryAcquire(timeout, TimeUnit.MILLISECONDS)); in testPocCVE_2023_21144()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0053/src/android/security/cts/CVE_2024_0053/ |
D | DeviceTest.java | 134 CompletableFuture<String> broadcastReceived = new CompletableFuture<>(); in testPocCVE_2024_0053() local 140 broadcastReceived.complete(intent.getStringExtra("exception")); in testPocCVE_2024_0053() 174 String exception = broadcastReceived.get(10_000 /* timeout */, TimeUnit.MILLISECONDS); in testPocCVE_2024_0053()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/ |
D | PolicySetResultUtils.java | 40 final Intent receivedIntent = deviceState.dpc().events().broadcastReceived() in assertPolicySetResultReceived()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | DevicePolicyManagementRoleHolderTest.java | 144 EventLogsSubject.assertThat(sDeviceState.dpmRoleHolder().events().broadcastReceived() in profileRemoved_roleHolderReceivesBroadcast() 161 EventLogsSubject.assertThat(sDeviceState.dpmRoleHolder().events().broadcastReceived() in profileEntersQuietMode_roleHolderReceivesBroadcast() 181 EventLogsSubject.assertThat(sDeviceState.dpmRoleHolder().events().broadcastReceived() in profileStarted_roleHolderReceivesBroadcast()
|
D | LostModeLocationTest.java | 118 final Intent receivedIntent = sDeviceState.dpc().events().broadcastReceived() in sendLostModeLocationUpdate_returnTrueAndSendLocationUpdate() 143 final Intent receivedIntent = sDeviceState.dpc().events().broadcastReceived() in sendLostModeLocationUpdate_sendMostRecentLocation()
|
D | CheckFinancedTest.java | 156 assertThat(sDeviceState.dpc().events().broadcastReceived() in deviceFinancingStateChanged_roleAdded_ReceivesBroadcast()
|
D | ApplicationRestrictionsTest.java | 306 assertThat(testApp.events().broadcastReceived().whereIntent().action().isEqualTo( in setApplicationRestrictions_restrictionsChangedBroadcastIsReceived() 480 assertThat(testApp.events().broadcastReceived().whereIntent().action().isEqualTo( in roleHolderSetApplicationRestrictionsOnParent_successWithBroadcastSent()
|
D | DelegationScopesTest.java | 473 EventLogsSubject.assertThat(testApp.events().broadcastReceived() in setDelegatedScopes_delegatedPackageReceivesScopesFromBroadcast()
|
D | CrossProfileAppsTest.java | 1043 assertThat(parentTestApp.events().broadcastReceived() in setCrossProfilePackages_packageRemoved_packageReceivesBroadcast() 1046 assertThat(workTestApp.events().broadcastReceived() in setCrossProfilePackages_packageRemoved_packageReceivesBroadcast()
|
D | ProvisioningTest.kt | 1347 val event = personalInstance.events().broadcastReceived() in <lambda>() 1377 val event = personalInstance.events().broadcastReceived() in <lambda>()
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppInstanceTest.java | 198 assertThat(testAppInstance.events().broadcastReceived() in registerReceiver_receivesBroadcast() 213 assertThat(testAppInstance.events().broadcastReceived() in registerReceiver_multipleIntentFilters_receivesAllMatchingBroadcasts() 216 assertThat(testAppInstance.events().broadcastReceived() in registerReceiver_multipleIntentFilters_receivesAllMatchingBroadcasts()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CarrierConfigManagerTest.java | 617 Boolean broadcastReceived = queue.poll(BROADCAST_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testExtraRebroadcastOnUnlock() local 618 assertNotNull(broadcastReceived); in testExtraRebroadcastOnUnlock() 619 assertTrue(broadcastReceived); in testExtraRebroadcastOnUnlock()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastTest.java | 1177 ConditionVariable broadcastReceived = new ConditionVariable(false); in registerBlockingReceiver() local 1182 broadcastReceived.open(); in registerBlockingReceiver() 1185 return broadcastReceived; in registerBlockingReceiver()
|
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/ |
D | WorkProfileTelephonyTest.java | 186 assertThat(smsApp.events().broadcastReceived().whereIntent().action().isEqualTo( in sendTextMessage_fromWorkProfile_allManagedSubscriptions_smsSentSuccessfully() 244 personalSmsApp.events().broadcastReceived() in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppEvents.kt | 152 override fun broadcastReceived(): BroadcastReceivedEventQuery = method in com.android.bedstead.testapp.TestAppEvents
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandInstallTest.java | 2000 final CompletableFuture<Boolean> broadcastReceived = new CompletableFuture<>(); in runPackageVerifierTestSync() local 2008 broadcastReceived.complete(true); in runPackageVerifierTestSync() 2040 broadcastReceived.get(VERIFICATION_BROADCAST_RECEIVED_TIMEOUT_MS, TimeUnit.MILLISECONDS); in runPackageVerifierTestSync()
|