Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java194 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testNetworkStatsWifi()
210 mServiceContext.sendBroadcast(new Intent(ACTION_NETWORK_STATS_POLL)); in testNetworkStatsWifi()
227 mServiceContext.sendBroadcast(new Intent(ACTION_NETWORK_STATS_POLL)); in testNetworkStatsWifi()
248 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testStatsRebootPersist()
274 mServiceContext.sendBroadcast(new Intent(ACTION_NETWORK_STATS_POLL)); in testStatsRebootPersist()
289 mServiceContext.sendBroadcast(new Intent(Intent.ACTION_SHUTDOWN)); in testStatsRebootPersist()
339 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testStatsBucketResize()
352 mServiceContext.sendBroadcast(new Intent(ACTION_NETWORK_STATS_POLL)); in testStatsBucketResize()
370 mServiceContext.sendBroadcast(new Intent(ACTION_NETWORK_STATS_POLL)); in testStatsBucketResize()
391 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testUidStatsAcrossNetworks()
[all …]
DBroadcastInterceptingContext.java123 public void sendBroadcast(Intent intent) { in sendBroadcast() method in BroadcastInterceptingContext
137 sendBroadcast(intent); in sendStickyBroadcast()
141 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in BroadcastInterceptingContext
142 sendBroadcast(intent); in sendBroadcast()
DNetworkPolicyManagerServiceTest.java357 mServiceContext.sendBroadcast(new Intent(Intent.ACTION_SCREEN_OFF)); in testScreenChangesRules()
367 mServiceContext.sendBroadcast(new Intent(Intent.ACTION_SCREEN_ON)); in testScreenChangesRules()
622 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testNetworkPolicyAppliedCycleLastMonth()
680 mServiceContext.sendBroadcast(intent); in testUidRemovedPolicyCleared()
742 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testOverWarningLimitNotification()
/frameworks/base/core/java/android/server/
DBluetoothEventLoop.java201 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in addDevice()
232 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDeviceDisappeared()
249 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDeviceDisconnectRequested()
324 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onPropertyChanged()
348 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onPropertyChanged()
360 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onPropertyChanged()
409 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDevicePropertyChanged()
415 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDevicePropertyChanged()
423 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDevicePropertyChanged()
439 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in onDevicePropertyChanged()
[all …]
DBluetoothInputProfileHandler.java192 mContext.sendBroadcast(intent, BluetoothService.BLUETOOTH_PERM); in handleInputDeviceStateChange()
/frameworks/base/core/tests/coretests/src/android/content/
DBrickDeniedTest.java29 getContext().sendBroadcast(new Intent("SHES_A_BRICK_HOUSE")); in testBrick()
30 getContext().sendBroadcast(new Intent("android.intent.action.BRICK")); in testBrick()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java375 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REGISTERED)); in testRegisteredReceivePermissionGranted()
400 getContext().sendBroadcast( in testRegisteredBroadcastPermissionGranted()
426 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_LOCAL_GRANTED)); in testLocalReceivePermissionGranted()
448 getContext().sendBroadcast( in testLocalBroadcastPermissionGranted()
472 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REMOTE_GRANTED)); in testRemoteReceivePermissionGranted()
494 getContext().sendBroadcast( in testRemoteBroadcastPermissionGranted()
518 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_FAIL_REGISTER)); in testReceiverCanNotRegister()
524 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.java311 public void sendBroadcast(Intent intent) { in sendBroadcast() method in ContextWrapper
312 mBase.sendBroadcast(intent); in sendBroadcast()
317 public void sendBroadcast(Intent intent, int userId) { in sendBroadcast() method in ContextWrapper
318 mBase.sendBroadcast(intent, userId); in sendBroadcast()
322 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in ContextWrapper
323 mBase.sendBroadcast(intent, receiverPermission); in sendBroadcast()
DContext.java988 public abstract void sendBroadcast(Intent intent); in sendBroadcast() method in Context
996 public void sendBroadcast(Intent intent, int userId) { in sendBroadcast() method in Context
1024 public abstract void sendBroadcast(Intent intent, in sendBroadcast() method in Context
/frameworks/base/core/java/android/server/search/
DSearchManagerService.java117 mContext.sendBroadcast(intent); in updateSearchables()
138 mContext.sendBroadcast(intent); in onChange()
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java138 sendBroadcast(new Intent("android.intent.action.MASTER_CLEAR")); in fail()
182 sendBroadcast(new Intent("android.intent.action.MASTER_CLEAR")); in updateProgressState()
191 sendBroadcast(new Intent("android.intent.action.MASTER_CLEAR")); in updateProgressState()
/frameworks/ex/common/java/com/android/common/userhappiness/
DUserHappinessSignals.java57 context.sendBroadcast(i); in userAcceptedImeText()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java283 public void sendBroadcast(Intent intent) { in sendBroadcast() method in MockContext
289 public void sendBroadcast(Intent intent, int userId) { in sendBroadcast() method in MockContext
294 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in MockContext
/frameworks/base/services/java/com/android/server/
DBatteryService.java336 mContext.sendBroadcast(statusIntent); in processValues()
340 mContext.sendBroadcast(statusIntent); in processValues()
346 mContext.sendBroadcast(statusIntent); in processValues()
350 mContext.sendBroadcast(statusIntent); in processValues()
DDeviceStorageMonitorService.java379 mContext.sendBroadcast(mStorageOkIntent); in cancelNotification()
396 mContext.sendBroadcast(mStorageNotFullIntent); in cancelFullNotification()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java200 public boolean sendBroadcast(Intent intent) { in sendBroadcast() method in LocalBroadcastManager
277 if (sendBroadcast(intent)) { in sendBroadcastSync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAirplaneModeController.java91 mContext.sendBroadcast(intent); in unsafe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDreamsDockLauncher.java34 context.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)); in launchDream()
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java272 public void sendBroadcast(Intent intent) { in sendBroadcast() method in SearchablesTest.MyMockContext
273 mRealContext.sendBroadcast(intent); in sendBroadcast()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsStorageMonitor.java142 mContext.sendBroadcast(intent, SMSDispatcher.RECEIVE_SMS_PERMISSION); in handleIccFull()
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd143 android.content.Context#sendBroadcast} method checks permissions as data is
284 {@link android.content.Context#sendBroadcast Context.sendBroadcast()} returns,
294 {@link android.content.Context#sendBroadcast(Intent, String) Context.sendBroadcast()}
331 android.content.Context#sendBroadcast(android.content.Intent,String)
332 Context.sendBroadcast()} with a
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java95 public void sendBroadcast(Intent intent) { in sendBroadcast() method in IsolatedContext
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DCatService.java328 mContext.sendBroadcast(intent); in handleCommand()
340 mContext.sendBroadcast(intent); in handleSessionEnd()
/frameworks/base/voip/java/com/android/server/sip/
DSipService.java109 context.sendBroadcast(new Intent(SipManager.ACTION_SIP_SERVICE_UP)); in start()
323 mContext.sendBroadcast(intent); in notifyProfileAdded()
333 mContext.sendBroadcast(intent); in notifyProfileRemoved()

1234