Home
last modified time | relevance | path

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

12

/frameworks/base/services/java/com/android/server/
DMountService.java254 mContext.sendBroadcast(intent); in handlePossibleExplicitUnmountBroadcast()
278 mContext.sendBroadcast(intent); in notifyUmsConnected()
287 mContext.sendBroadcast(intent); in notifyUmsDisconnected()
305 mContext.sendBroadcast(intent); in notifyMediaRemoved()
326 mContext.sendBroadcast(intent); in notifyMediaUnmounted()
342 mContext.sendBroadcast(intent); in notifyMediaChecking()
361 mContext.sendBroadcast(intent); in notifyMediaNoFs()
374 mContext.sendBroadcast(intent); in notifyMediaMounted()
391 mContext.sendBroadcast(intent); in notifyMediaShared()
407 mContext.sendBroadcast(intent); in notifyMediaBadRemoval()
[all …]
DBatteryService.java298 mContext.sendBroadcast(statusIntent); in update()
302 mContext.sendBroadcast(statusIntent); in update()
308 mContext.sendBroadcast(statusIntent); in update()
312 mContext.sendBroadcast(statusIntent); in update()
DHeadsetObserver.java118 mContext.sendBroadcast(intent); in update()
DAppWidgetService.java303 mContext.sendBroadcast(intent); in deleteAppWidgetLocked()
311 mContext.sendBroadcast(intent); in deleteAppWidgetLocked()
613 mContext.sendBroadcast(intent); in sendEnableIntentLocked()
621 mContext.sendBroadcast(intent); in sendUpdateIntentLocked()
DDeviceStorageMonitorService.java329 mContext.sendBroadcast(mStorageOkIntent); in cancelNotification()
DAlarmManagerService.java272 mContext.sendBroadcast(intent); in setTimeZone()
608 mContext.sendBroadcast(new Intent(Intent.ACTION_TIME_CHANGED)); in run()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DBrickDeniedTest.java30 getContext().sendBroadcast(new Intent("SHES_A_BRICK_HOUSE")); in testBrick()
31 getContext().sendBroadcast(new Intent("android.intent.action.BRICK")); in testBrick()
DSearchablesTest.java315 public void sendBroadcast(Intent intent) { in sendBroadcast() method in SearchablesTest.MyMockContext
316 mRealContext.sendBroadcast(intent); in sendBroadcast()
/frameworks/base/core/java/android/server/
DBluetoothEventLoop.java178 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in addDevice()
195 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDeviceDisappeared()
206 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDeviceDisconnectRequested()
291 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onPropertyChanged()
310 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onPropertyChanged()
324 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onPropertyChanged()
361 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDevicePropertyChanged()
368 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDevicePropertyChanged()
378 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDevicePropertyChanged()
458 mContext.sendBroadcast(intent, BLUETOOTH_ADMIN_PERM); in onRequestPairingConsent()
[all …]
DBluetoothA2dpService.java439 mContext.sendBroadcast(intent); in handleSinkStateChange()
457 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in handleSinkStateChange()
DBluetoothService.java239 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in finishDisable()
323 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in setBluetoothState()
582 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in setBondState()
1469 mContext.sendBroadcast(intent, BLUETOOTH_ADMIN_PERM); in sendUuidIntent()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/
DBroadcastTest.java373 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REGISTERED)); in testRegisteredReceivePermissionGranted()
398 getContext().sendBroadcast( in testRegisteredBroadcastPermissionGranted()
424 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_LOCAL_GRANTED)); in testLocalReceivePermissionGranted()
446 getContext().sendBroadcast( in testLocalBroadcastPermissionGranted()
470 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REMOTE_GRANTED)); in testRemoteReceivePermissionGranted()
492 getContext().sendBroadcast( in testRemoteBroadcastPermissionGranted()
516 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_FAIL_REGISTER)); in testReceiverCanNotRegister()
522 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_FAIL_BIND)); in testReceiverCanNotBind()
DLaunchpadActivity.java253 sendBroadcast(makeBroadcastIntent(BROADCAST_REGISTERED)); in onResume()
256 sendBroadcast(makeBroadcastIntent(BROADCAST_LOCAL)); in onResume()
259 sendBroadcast(makeBroadcastIntent(BROADCAST_REMOTE)); in onResume()
/frameworks/base/core/java/android/content/
DContextWrapper.java260 public void sendBroadcast(Intent intent) { in sendBroadcast() method in ContextWrapper
261 mBase.sendBroadcast(intent); in sendBroadcast()
265 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in ContextWrapper
266 mBase.sendBroadcast(intent, receiverPermission); in sendBroadcast()
DContext.java602 public abstract void sendBroadcast(Intent intent); in sendBroadcast() method in Context
628 public abstract void sendBroadcast(Intent intent, in sendBroadcast() method in Context
/frameworks/base/test-runner/android/test/
DIsolatedContext.java65 public void sendBroadcast(Intent intent) { in sendBroadcast() method in IsolatedContext
/frameworks/base/test-runner/android/test/mock/
DMockContext.java239 public void sendBroadcast(Intent intent) { in sendBroadcast() method in MockContext
244 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in MockContext
/frameworks/base/vpn/java/android/net/vpn/
DVpnManager.java168 mContext.sendBroadcast(intent); in broadcastConnectivity()
/frameworks/base/core/java/android/server/search/
DSearchManagerService.java152 mContext.sendBroadcast( in broadcastSearchablesChanged()
/frameworks/base/docs/html/guide/topics/security/
Dsecurity.jd133 android.content.Context#sendBroadcast} method checks permissions as data is
274 {@link android.content.Context#sendBroadcast Context.sendBroadcast()} returns,
284 {@link android.content.Context#sendBroadcast(Intent, String) Context.sendBroadcast()}
321 android.content.Context#sendBroadcast(android.content.Intent,String)
322 Context.sendBroadcast()} with a
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java94 sendBroadcast(); in run()
241 private void sendBroadcast() throws Exception { in sendBroadcast() method in Am
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
DStkService.java294 mContext.sendBroadcast(intent); in handleProactiveCommand()
306 mContext.sendBroadcast(intent); in handleSessionEnd()
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateTracker.java778 mContext.sendBroadcast(intent); in handleMessage()
840 mContext.sendBroadcast(intent); in handleMessage()
1073 mContext.sendBroadcast(new Intent(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)); in handleMessage()
1425 mContext.sendBroadcast(intent); in sendRssiChangeBroadcast()
/frameworks/base/location/java/com/android/internal/location/
DGpsLocationProvider.java859 mContext.sendBroadcast(intent); in reportLocation()
922 mContext.sendBroadcast(intent); in reportStatus()
977 mContext.sendBroadcast(intent); in reportSvStatus()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSMSDispatcher.java406 mContext.sendBroadcast(intent, "android.permission.RECEIVE_SMS"); in handleIccFull()
880 mContext.sendBroadcast(intent, "android.permission.RECEIVE_SMS"); in notifyAndAcknowledgeLastIncomingSms()

12