Home
last modified time | relevance | path

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

123456

/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
51 sendBroadcast(intent); in sendBroadcast()
/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.java682 sendBroadcast(intent); in notifyError()
687 sendBroadcast(intent); in notifyMismatchSecure()
692 sendBroadcast(intent); in notifyMismatchInsecure()
697 sendBroadcast(intent); in notifyBluetoothDisabled()
703 sendBroadcast(intent); in notifyConnected()
709 sendBroadcast(intent); in notifyDisconnected()
715 sendBroadcast(intent); in notifyServicesDiscovered()
727 sendBroadcast(intent); in notifyMtuChanged()
734 sendBroadcast(intent); in notifyCharacteristicRead()
740 sendBroadcast(intent); in notifyCharacteristicWrite()
[all …]
DBleServerService.java286 sendBroadcast(intent); in notifyBluetoothDisabled()
291 sendBroadcast(intent); in notifyMismatchSecure()
378 sendBroadcast(intent); in notifyOpenFail()
386 sendBroadcast(intent); in notifyAddServiceFail()
394 sendBroadcast(intent); in notifyAdvertiseUnsupported()
402 sendBroadcast(intent); in notifyConnected()
412 sendBroadcast(intent); in notifyDisconnected()
420 sendBroadcast(intent); in notifyServiceAdded()
435 sendBroadcast(intent); in notifyMtuRequest()
443 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()
DBleCocClientService.java294 sendBroadcast(intent); in notifyError()
299 sendBroadcast(intent); in notifyMismatchSecure()
304 sendBroadcast(intent); in notifyMismatchInsecure()
309 sendBroadcast(intent); in notifyBluetoothDisabled()
315 sendBroadcast(intent); in notifyConnected()
330 sendBroadcast(intent); in notifyDisconnected()
450 sendBroadcast(intent);
547 sendBroadcast(intent); in handleMessageRead()
581 sendBroadcast(intent); in handleMessageWrite()
619 sendBroadcast(intent); in notifyLeCocClientConnected()
[all …]
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()
DBleEncryptedServerService.java195 sendBroadcast(intent); in notifyBluetoothDisabled()
203 sendBroadcast(intent); in notifyOpenFail()
211 sendBroadcast(intent); in notifyAdvertiseUnsupported()
238 sendBroadcast(intent); in notifyCharacteristicWriteRequest()
247 sendBroadcast(intent); in notifyCharacteristicReadRequest()
256 sendBroadcast(intent); in notifyDescriptorWriteRequest()
265 sendBroadcast(intent); in notifyDescriptorReadRequest()
DBleScannerService.java179 sendBroadcast(powerIntent); in onScanResult()
189 sendBroadcast(newIntent); in onScanResult()
197 sendBroadcast(responseIntent); in onScanResult()
219 sendBroadcast(scanIntent); in onScanResult()
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java226 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
231 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
236 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
242 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
248 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
254 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
259 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
264 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
/cts/tests/tests/libcorefileio/src/android/cts/
DLockHoldingService.java134 sendBroadcast(responseIntent); in acquireLock()
155 sendBroadcast(heldIntent); in acquireLockAndThenWaitThenRelease()
173 sendBroadcast(releaseIntent); in acquireLockAndThenWaitThenRelease()
189 sendBroadcast(intent); in onDestroy()
/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/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibBroadcastReceiverTest.java62 sContext.sendBroadcast(intent); in receiveBroadcast_logsBroadcastReceivedEvent()
75 sContext.sendBroadcast(intent); in receiveBroadcast_withGeneratedBroadcastReceiverClass_logsBroadcastReceivedEventWithCorrectClassName()
88 sContext.sendBroadcast(intent); in receiveBroadcast_logsIntent()
/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/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceReferenceTest.java194 sContext.sendBroadcast(INTENT); in registerReceiver_receivesBroadcast()
210 sContext.sendBroadcast(INTENT); in registerReceiver_multipleIntentFilters_receivesAllMatchingBroadcasts()
211 sContext.sendBroadcast(INTENT_2); in registerReceiver_multipleIntentFilters_receivesAllMatchingBroadcasts()
242 sContext.sendBroadcast(INTENT); in stop_registeredReceiver_doesNotReceiveBroadcast()
258 sContext.sendBroadcast(INTENT); in unregisterReceiver_registeredReceiver_doesNotReceiveBroadcast()
275 sContext.sendBroadcast(INTENT); in unregisterReceiver_doesNotUnregisterOtherReceivers()
276 sContext.sendBroadcast(INTENT_2); in unregisterReceiver_doesNotUnregisterOtherReceivers()
308 sContext.sendBroadcast(INTENT); in registerReceiver_appIsKilled_stillReceivesBroadcast()
/cts/tests/tests/permission3/src/android/permission3/cts/
DPermissionTapjackingTest.kt51 context.sendBroadcast(Intent(ACTION_SHOW_OVERLAY) in testTapjackGrantDialog_fullOverlay()
76 context.sendBroadcast(Intent(ACTION_SHOW_OVERLAY) in testTapjackGrantDialog_partialOverlay()
107 context.sendBroadcast(Intent(ACTION_HIDE_OVERLAY)) in tryClicking()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java147 mContext.sendBroadcast(intent); in testBackgroundActivityBlocked()
185 mContext.sendBroadcast(new Intent(ACTION_FINISH_ACTIVITY)); in testBackgroundActivityNotBlockedWithinGracePeriod()
190 mContext.sendBroadcast(secondIntent); in testBackgroundActivityNotBlockedWithinGracePeriod()
205 mContext.sendBroadcast(intent); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted()
224 mContext.sendBroadcast(intent); in testBackgroundActivityNotBlockedWhenForegroundActivityExists()
262 mContext.sendBroadcast(getLaunchActivitiesBroadcast(APP_A_BACKGROUND_ACTIVITY)); in testActivityBroughtToTopOfTaskWhenLaunchedInTheBackground()
307 mContext.sendBroadcast(getLaunchActivitiesBroadcast(APP_B_FOREGROUND_ACTIVITY)); in testActivityNotBlockedFromBgActivityInFgTask()
318 mContext.sendBroadcast(new Intent(ACTION_LAUNCH_BACKGROUND_ACTIVITIES) in testActivityNotBlockedFromBgActivityInFgTask()
387 mContext.sendBroadcast(getLaunchActivitiesBroadcast(APP_A_BACKGROUND_ACTIVITY, in testSecondActivityBlockedWhenBackgroundActivityLaunch()
501 mContext.sendBroadcast(intent); in testDeviceOwner()
[all …]
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestJobService.java36 sendBroadcast(reportJobStartIntent); in onStartJob()
45 sendBroadcast(reportJobStopIntent); in onStopJob()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityStartService.java73 sendBroadcast(reply); in attemptStartService()
77 sendBroadcast(reply); in attemptStartService()
/cts/tests/tests/permission/src/android/permission/cts/
DNoBroadcastPackageRemovedPermissionTest.java67 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED)); in testSendBroadcast()
74 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED), in testSendBroadcast()
/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/tests/permission2/src/android/permission2/cts/
DProtectedBroadcastsTest.java97 getContext().sendBroadcast(intent); in testSendProtectedBroadcasts()
112 getContext().sendBroadcast(intent); in testSendProtectedTelephonyBroadcasts()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java268 mContext.sendBroadcast(intent); in installCaCert()
277 mContext.sendBroadcast(intent); in removeCaCert()
286 mContext.sendBroadcast(intent); in verifyCaCert()
320 mContext.sendBroadcast(intent); in installKeyPair()
328 mContext.sendBroadcast(intent); in readEnrollmentId()

123456