Home
last modified time | relevance | path

Searched refs:broadcast (Results 1 – 21 of 21) sorted by relevance

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DRenderService.java87 Intent broadcast = new Intent(); in sendSurfacePackage() local
88 broadcast.setAction(BROADCAST_EMBED_CONTENT); in sendSurfacePackage()
89 broadcast.putExtra(EXTRAS_SURFACE_PACKAGE, surfacePackage); in sendSurfacePackage()
90 sendBroadcast(broadcast); in sendSurfacePackage()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DSyncOrderedBroadcast.java47 public int sendAndWait(Context context, Intent broadcast, int initialCode, in sendAndWait() argument
50 context.sendOrderedBroadcast(broadcast, null, mReceiver, in sendAndWait()
59 throw new IllegalStateException("Timed out waiting for broadcast " + broadcast); in sendAndWait()
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
DPermissionActivity.java84 Intent broadcast = new Intent(ACTION_PERMISSION_RESULT); in sendResultBroadcast() local
85 broadcast.putExtra(EXTRA_GRANT_STATE, result); in sendResultBroadcast()
86 sendBroadcast(broadcast); in sendResultBroadcast()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DEphemeralService.java47 .broadcast(this); in onBind()
60 .broadcast(this); in onStartCommand()
DEphemeralActivity2.java41 .broadcast(this); in onCreate()
DEphemeralActivity3.java41 .broadcast(this); in onCreate()
DEphemeralResult.java42 ((TestResult) intent.getParcelableExtra(TestResult.EXTRA_TEST_RESULT)).broadcast(this); in onCreate()
DEphemeralActivity.java53 .broadcast(this); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DExposedService.java47 .broadcast(this); in onBind()
68 .broadcast(this); in onStartCommand()
DNormalService.java51 .broadcast(this); in onStartCommand()
DExposedActivity.java55 .broadcast(this); in onCreate()
DNormalWebActivity.java57 .broadcast(this); in onCreate()
DNormalActivity.java64 .broadcast(this); in onCreate()
DExposedProvider.java69 .broadcast(getContext()); in query()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserApp/src/com/android/cts/userapp/
DUserActivity.java39 .broadcast(this); in onCreate()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java92 PendingIntent broadcast = PendingIntent.getBroadcast(getContext(), 0, in onBindSlice() local
95 return builder.addAction(broadcast, subSlice, "action").build(); in onBindSlice()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DApplicationHiddenTest.java172 private void failBroadcastNotReceived(String broadcast) { in failBroadcastNotReceived() argument
173 fail("Did not receive " + broadcast + " broadcast on user " + mContext.getUserId() in failBroadcastNotReceived()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/ImplicitlyExposedApp/src/com/android/cts/implicitapp/
DImplicitActivity.java54 .broadcast(this); in onCreate()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DStartProfilesTest.java149 Intent broadcast = broadcastReceiver.awaitForBroadcast(); in startUser_immediatelyAfterStopped_profileIsStarted() local
152 broadcast).isNotNull(); in startUser_immediatelyAfterStopped_profileIsStarted()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java1061 Intent broadcast = capture.getNextIntent(TIMEOUT_MS); in testListenProviderEnable_Broadcast() local
1062 assertThat(broadcast).isNotNull(); in testListenProviderEnable_Broadcast()
1063 assertThat(broadcast).hasAction(PROVIDERS_CHANGED_ACTION); in testListenProviderEnable_Broadcast()
1064 assertThat(broadcast).extras().string(EXTRA_PROVIDER_NAME).isEqualTo(TEST_PROVIDER); in testListenProviderEnable_Broadcast()
1065 assertThat(broadcast).extras().bool(EXTRA_PROVIDER_ENABLED).isFalse(); in testListenProviderEnable_Broadcast()
1068 broadcast = capture.getNextIntent(TIMEOUT_MS); in testListenProviderEnable_Broadcast()
1069 assertThat(broadcast).isNotNull(); in testListenProviderEnable_Broadcast()
1070 assertThat(broadcast).hasAction(PROVIDERS_CHANGED_ACTION); in testListenProviderEnable_Broadcast()
1071 assertThat(broadcast).extras().string(EXTRA_PROVIDER_NAME).isEqualTo(TEST_PROVIDER); in testListenProviderEnable_Broadcast()
1072 assertThat(broadcast).extras().bool(EXTRA_PROVIDER_ENABLED).isTrue(); in testListenProviderEnable_Broadcast()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java71 public void broadcast(Context context) { in broadcast() method in TestResult