/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 194 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 …]
|
D | BroadcastInterceptingContext.java | 123 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()
|
D | NetworkPolicyManagerServiceTest.java | 357 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/ |
D | BluetoothEventLoop.java | 201 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 …]
|
D | BluetoothInputProfileHandler.java | 192 mContext.sendBroadcast(intent, BluetoothService.BLUETOOTH_PERM); in handleInputDeviceStateChange()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | BrickDeniedTest.java | 29 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/ |
D | BroadcastTest.java | 375 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()
|
D | LaunchpadActivity.java | 253 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/ |
D | ContextWrapper.java | 311 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()
|
D | Context.java | 988 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/ |
D | SearchManagerService.java | 117 mContext.sendBroadcast(intent); in updateSearchables() 138 mContext.sendBroadcast(intent); in onChange()
|
/frameworks/base/core/java/com/android/internal/os/storage/ |
D | ExternalStorageFormatter.java | 138 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/ |
D | UserHappinessSignals.java | 57 context.sendBroadcast(i); in userAcceptedImeText()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 283 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/ |
D | BatteryService.java | 336 mContext.sendBroadcast(statusIntent); in processValues() 340 mContext.sendBroadcast(statusIntent); in processValues() 346 mContext.sendBroadcast(statusIntent); in processValues() 350 mContext.sendBroadcast(statusIntent); in processValues()
|
D | DeviceStorageMonitorService.java | 379 mContext.sendBroadcast(mStorageOkIntent); in cancelNotification() 396 mContext.sendBroadcast(mStorageNotFullIntent); in cancelFullNotification()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | LocalBroadcastManager.java | 200 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/ |
D | AirplaneModeController.java | 91 mContext.sendBroadcast(intent); in unsafe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DreamsDockLauncher.java | 34 context.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)); in launchDream()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | SearchablesTest.java | 272 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/ |
D | SmsStorageMonitor.java | 142 mContext.sendBroadcast(intent, SMSDispatcher.RECEIVE_SMS_PERMISSION); in handleIccFull()
|
/frameworks/base/docs/html/guide/topics/security/ |
D | permissions.jd | 143 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/ |
D | IsolatedContext.java | 95 public void sendBroadcast(Intent intent) { in sendBroadcast() method in IsolatedContext
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
D | CatService.java | 328 mContext.sendBroadcast(intent); in handleCommand() 340 mContext.sendBroadcast(intent); in handleSessionEnd()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipService.java | 109 context.sendBroadcast(new Intent(SipManager.ACTION_SIP_SERVICE_UP)); in start() 323 mContext.sendBroadcast(intent); in notifyProfileAdded() 333 mContext.sendBroadcast(intent); in notifyProfileRemoved()
|