Home
last modified time | relevance | path

Searched refs:sendBroadcast (Results 1 – 25 of 260) sorted by relevance

1234567891011

/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/
DNoRestartActivity.java36 sendBroadcast(); in onCreate()
43 sendBroadcast(); in onNewIntent()
46 private void sendBroadcast() { in sendBroadcast() method in NoRestartActivity
52 sendBroadcast(intent); in sendBroadcast()
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastDeliveryGroupTest.java51 cmdReceiver1.sendBroadcast(intent1, null /* options */); in testDeliveryGroupPolicy_policyAll()
52 cmdReceiver1.sendBroadcast(intent2, null /* options */); in testDeliveryGroupPolicy_policyAll()
85 cmdReceiver1.sendBroadcast(intent1, null /* options */); in testDeliveryGroupPolicy_withForceDelay_policyAll()
86 cmdReceiver1.sendBroadcast(intent2, null /* options */); in testDeliveryGroupPolicy_withForceDelay_policyAll()
117 cmdReceiver1.sendBroadcast(intent1, options.toBundle()); in testDeliveryGroupPolicy_policyMostRecent()
118 cmdReceiver1.sendBroadcast(intent2, options.toBundle()); in testDeliveryGroupPolicy_policyMostRecent()
154 cmdReceiver1.sendBroadcast(intent1, options.toBundle()); in testDeliveryGroupPolicy_withForceDelay_policyMostRecent()
155 cmdReceiver1.sendBroadcast(intent2, options.toBundle()); in testDeliveryGroupPolicy_withForceDelay_policyMostRecent()
174 getContext().sendBroadcast(testIntent); in initializeQueue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleEncryptedClientService.java165 sendBroadcast(intent); in notifyBluetoothDisabled()
170 sendBroadcast(intent); in notifyDisconnected()
361 sendBroadcast(intent);
394 sendBroadcast(intent);
403 sendBroadcast(intent);
407 sendBroadcast(intent);
430 sendBroadcast(intent);
437 sendBroadcast(intent);
443 sendBroadcast(intent);
447 sendBroadcast(intent);
[all …]
DBleAdvertiserService.java200 sendBroadcast(new Intent(BLE_ADV_NOT_SUPPORT)); in handleIntent()
220 sendBroadcast(new Intent(BLE_START_ADVERTISE)); in handleIntent()
223 sendBroadcast(new Intent(BLE_STOP_ADVERTISE)); in handleIntent()
250 sendBroadcast(new Intent(BLE_START_POWER_LEVEL)); in handleIntent()
253 sendBroadcast(new Intent(BLE_STOP_POWER_LEVEL)); in handleIntent()
260 sendBroadcast(new Intent(BLE_START_SCANNABLE)); in handleIntent()
267 sendBroadcast(new Intent(BLE_START_UNSCANNABLE)); in handleIntent()
270 sendBroadcast(new Intent(BLE_STOP_SCANNABLE)); in handleIntent()
273 sendBroadcast(new Intent(BLE_STOP_UNSCANNABLE)); in handleIntent()
DBleClientService.java779 sendBroadcast(intent); in notifyError()
784 sendBroadcast(intent); in notifyMismatchSecure()
789 sendBroadcast(intent); in notifyMismatchInsecure()
794 sendBroadcast(intent); in notifyBluetoothDisabled()
800 sendBroadcast(intent); in notifyConnected()
806 sendBroadcast(intent); in notifyDisconnected()
812 sendBroadcast(intent); in notifyServicesDiscovered()
824 sendBroadcast(intent); in notifyMtuChanged()
831 sendBroadcast(intent); in notifyCharacteristicRead()
837 sendBroadcast(intent); in notifyCharacteristicWrite()
[all …]
DBleServerService.java286 sendBroadcast(intent); in notifyBluetoothDisabled()
291 sendBroadcast(intent); in notifyMismatchSecure()
375 sendBroadcast(intent); in notifyOpenFail()
383 sendBroadcast(intent); in notifyAddServiceFail()
391 sendBroadcast(intent); in notifyAdvertiseUnsupported()
400 sendBroadcast(intent); in notifyConnected()
409 sendBroadcast(intent); in notifyDisconnected()
417 sendBroadcast(intent); in notifyServiceAdded()
426 sendBroadcast(intent); in notifyMtuRequest()
434 sendBroadcast(intent); in notifyCharacteristicReadRequest()
[all …]
DBleCocServerService.java234 sendBroadcast(intent); in notifyBluetoothDisabled()
239 sendBroadcast(intent); in notifyMismatchSecure()
358 sendBroadcast(intent); in notifyOpenFail()
366 sendBroadcast(intent); in notifyAddServiceFail()
374 sendBroadcast(intent); in notifyAdvertiseUnsupported()
382 sendBroadcast(intent); in notifyConnected()
390 sendBroadcast(intent); in notifyDisconnected()
536 sendBroadcast(intent); in leCheckConnectionType()
561 sendBroadcast(intent); in processChatStateChange()
565 sendBroadcast(intent); in processChatStateChange()
[all …]
DBleConnectionPriorityServerService.java124 sendBroadcast(intent); in notifyBluetoothDisabled()
129 sendBroadcast(intent); in notifyTestStart()
137 sendBroadcast(intent); in notifyOpenFail()
145 sendBroadcast(intent); in notifyAdvertiseUnsupported()
224 sendBroadcast(intent); in notifyMeasurementFinished()
DBleConnectionPriorityClientService.java138 sendBroadcast(intent); in notifyBluetoothDisabled()
244 sendBroadcast(intent);
288 sendBroadcast(intent);
331 sendBroadcast(intent); in notifyMismatchSecure()
336 sendBroadcast(intent); in notifyMismatchInsecure()
341 sendBroadcast(intent); in notifyDisconnect()
DBleCocClientService.java292 sendBroadcast(intent); in notifyError()
297 sendBroadcast(intent); in notifyMismatchSecure()
302 sendBroadcast(intent); in notifyMismatchInsecure()
307 sendBroadcast(intent); in notifyBluetoothDisabled()
313 sendBroadcast(intent); in notifyConnected()
328 sendBroadcast(intent); in notifyDisconnected()
448 sendBroadcast(intent);
544 sendBroadcast(intent); in handleMessageRead()
578 sendBroadcast(intent); in handleMessageWrite()
616 sendBroadcast(intent); in notifyLeCocClientConnected()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DNewDocumentTestActivity.java29 sendBroadcast(new Intent(NOTIFY_RESUME)); in onResume()
34 sendBroadcast(new Intent(NOTIFY_NEW_INTENT)); in onNewIntent()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20475/target-app/src/android/security/cts/CVE_2022_20475_target/
DTargetActivity.java29 sendBroadcast(new Intent(getString(R.string.bcastActionTarget))); in onCreate()
38 sendBroadcast(new Intent(getString(R.string.bcastActionTarget))); in onResume()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibBroadcastReceiverTest.java61 sContext.sendBroadcast(intent); in receiveBroadcast_logsBroadcastReceivedEvent()
74 sContext.sendBroadcast(intent); in receiveBroadcast_withGeneratedBroadcastReceiverClass_logsBroadcastReceivedEventWithCorrectClassName()
87 sContext.sendBroadcast(intent); in receiveBroadcast_logsIntent()
/cts/tests/accessibilityservice/test-apps/NonProxySeparateApp/src/foo/bar/proxy/
DNonProxySeparateAppActivity.java45 enabled -> sendBroadcast(createIntentWithAction(ACCESSIBILITY_STATE) in onCreate()
56 sendBroadcast(createIntentWithAction(ACCESSIBILITY_SERVICE_STATE) in onCreate()
61 enabled -> sendBroadcast(createIntentWithAction(TOUCH_EXPLORATION_STATE) in onCreate()
/cts/tests/tests/content/HelloWorldApp/src_res_hardening/com/example/helloworld/
DTestActivity.java45 sendBroadcast(pidResponse); in onCreate()
72 sendBroadcast(failureMessage); in runTest()
80 sendBroadcast(successMessage); in runTest()
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestJobService.java36 sendBroadcast(reportJobStartIntent); in onStartJob()
45 sendBroadcast(reportJobStopIntent); in onStopJob()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/
DPocActivity.java44 sendBroadcast( in onResume()
51 sendBroadcast( in onResume()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/
DPocActivity.java44 sendBroadcast( in onResume()
51 sendBroadcast( in onResume()
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/lib/src/android/media/audio/cts/audiorecordpermissiontests/common/
DSimpleActivity.kt45 sendBroadcast(Intent(PREFIX + ACTION_ACTIVITY_FINISHED) in onCreate()
58 sendBroadcast(Intent(PREFIX + ACTION_ACTIVITY_STARTED).setPackage(TARGET_PACKAGE)) in onResume()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityStartService.java73 sendBroadcast(reply); in attemptStartService()
77 sendBroadcast(reply); in attemptStartService()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0602/src/android/security/cts/CVE_2021_0602/
DPocActivity.java50 sendBroadcast( in onResume()
56 sendBroadcast( in onResume()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBroadcastMessenger.java67 private static void sendBroadcast(@NonNull Intent i, @NonNull Context context, in sendBroadcast() method in BroadcastMessenger
73 context.sendBroadcast(i); in sendBroadcast()
83 sendBroadcast(i, context, broadcastSuffix, /*receiverPackage=*/ null); in send()
91 sendBroadcast(i, context, broadcastSuffix, receiverPackage); in sendPing()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DHideOverlayWindowsActivity.java52 sendBroadcast(new Intent(PONG));
59 sendBroadcast(new Intent(REPORT_TOUCH).putExtra(MOTION_EVENT_EXTRA, event)); in dispatchTouchEvent()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileNotificationListenerService.java48 LocalBroadcastManager.getInstance(this).sendBroadcast( in onListenerConnected()
59 LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent(action)); in sendBroadcastForNotification()
/cts/tests/framework/base/locale/TestApp/src/android/localemanager/cts/app/
DMainActivity.java77 sendBroadcast(constructResultIntent(TEST_APP_CREATION_INFO_PROVIDER_ACTION, in onCreate()
100 sendBroadcast(constructResultIntent(TEST_APP_CREATION_INFO_PROVIDER_ACTION, in onCreate()
123 sendBroadcast(constructResultIntent(TEST_APP_CONFIG_CHANGED_INFO_PROVIDER_ACTION, in onConfigurationChanged()

1234567891011