/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | BroadcastInterceptingContext.java | 124 public void sendBroadcast(Intent intent) { in sendBroadcast() method in BroadcastInterceptingContext 137 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in BroadcastInterceptingContext 138 sendBroadcast(intent); in sendBroadcast() 143 sendBroadcast(intent); in sendBroadcastAsUser() 149 sendBroadcast(intent); in sendBroadcastAsUser() 154 sendBroadcast(intent); in sendStickyBroadcast() 159 sendBroadcast(intent); in sendStickyBroadcastAsUser()
|
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 | NetworkPolicyManagerServiceTest.java | 339 mServiceContext.sendBroadcast(new Intent(Intent.ACTION_SCREEN_OFF)); in testScreenChangesRules() 349 mServiceContext.sendBroadcast(new Intent(Intent.ACTION_SCREEN_ON)); in testScreenChangesRules() 600 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testNetworkPolicyAppliedCycleLastMonth() 650 mServiceContext.sendBroadcast(intent); in testUidRemovedPolicyCleared() 711 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION_IMMEDIATE)); in testOverWarningLimitNotification()
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
D | DemoModeController.java | 227 mContext.sendBroadcast(intent); in exitDemoMode() 248 mContext.sendBroadcast(intent); 261 mContext.sendBroadcast(intent); 274 mContext.sendBroadcast(intent); 300 mContext.sendBroadcast(intent); 313 mContext.sendBroadcast(intent); 325 mContext.sendBroadcast(intent); 337 mContext.sendBroadcast(intent);
|
/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 | 376 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REGISTERED)); in testRegisteredReceivePermissionGranted() 401 getContext().sendBroadcast( in testRegisteredBroadcastPermissionGranted() 427 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_LOCAL_GRANTED)); in testLocalReceivePermissionGranted() 449 getContext().sendBroadcast( in testLocalBroadcastPermissionGranted() 473 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REMOTE_GRANTED)); in testRemoteReceivePermissionGranted() 495 getContext().sendBroadcast( in testRemoteBroadcastPermissionGranted() 519 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_FAIL_REGISTER)); in testReceiverCanNotRegister() 525 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/com/android/internal/os/storage/ |
D | ExternalStorageFormatter.java | 143 sendBroadcast(intent); in fail() 190 sendBroadcast(intent); in updateProgressState() 202 sendBroadcast(intent); in updateProgressState()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 376 public void sendBroadcast(Intent intent) { in sendBroadcast() method in ContextWrapper 377 mBase.sendBroadcast(intent); in sendBroadcast() 381 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in ContextWrapper 382 mBase.sendBroadcast(intent, receiverPermission); in sendBroadcast() 387 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() method in ContextWrapper 388 mBase.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
|
D | Context.java | 1394 public abstract void sendBroadcast(Intent intent); in sendBroadcast() method in Context 1420 public abstract void sendBroadcast(Intent intent, in sendBroadcast() method in Context 1428 public abstract void sendBroadcast(Intent intent, in sendBroadcast() method in Context
|
/frameworks/ex/common/java/com/android/common/userhappiness/ |
D | UserHappinessSignals.java | 57 context.sendBroadcast(i); in userAcceptedImeText()
|
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/ |
D | SampleTrustAgent.java | 163 LocalBroadcastManager.getInstance(context).sendBroadcast(intent); in sendGrantTrust() 168 LocalBroadcastManager.getInstance(context).sendBroadcast(intent); in sendRevokeTrust()
|
/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/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
D | WakeLoopService.java | 96 sendBroadcast(intent); in onDestroy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 272 public void sendBroadcast(Intent intent) { in sendBroadcast() method in SearchablesTest.MyMockContext 273 mRealContext.sendBroadcast(intent); in sendBroadcast()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 310 public void sendBroadcast(Intent intent) { in sendBroadcast() method in MockContext 315 public void sendBroadcast(Intent intent, String receiverPermission) { in sendBroadcast() method in MockContext 321 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() method in MockContext
|
/frameworks/base/docs/html/training/run-background-service/ |
D | report-status.jd | 52 {@link android.support.v4.content.LocalBroadcastManager#sendBroadcast 53 LocalBroadcastManager.sendBroadcast()}. This sends the {@link android.content.Intent} to any 84 LocalBroadcastManager.getInstance(this).sendBroadcast(localIntent);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsStorageMonitor.java | 148 mContext.sendBroadcast(intent, android.Manifest.permission.RECEIVE_SMS); in handleIccFull()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 93 public void sendBroadcast(Intent intent) { in sendBroadcast() method in IsolatedContext
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SecureCameraLaunchManager.java | 179 mContext.sendBroadcast(intent); in onSwipingStarted()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 504 mContext.sendBroadcast(intent); in broadcastCatCmdIntent() 517 mContext.sendBroadcast(intent); in handleSessionEnd() 871 mContext.sendBroadcast(intent); in broadcastCardStateAndIccRefreshResp() 880 mContext.sendBroadcast(intent); in broadcastAlphaMessage()
|
/frameworks/base/docs/html/guide/topics/security/ |
D | permissions.jd | 146 android.content.Context#sendBroadcast} method checks permissions as data is 320 {@link android.content.Context#sendBroadcast Context.sendBroadcast()} returns, 330 {@link android.content.Context#sendBroadcast(Intent, String) Context.sendBroadcast()} 367 android.content.Context#sendBroadcast(android.content.Intent,String) 368 Context.sendBroadcast()} with a
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 171 sendBroadcast(intent); in done()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 101 context.sendBroadcast(new Intent(SipManager.ACTION_SIP_SERVICE_UP)); in start() 328 mContext.sendBroadcast(intent); in notifyProfileAdded() 338 mContext.sendBroadcast(intent); in notifyProfileRemoved()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 190 mContext.sendBroadcast(i); in sendIntent()
|