Home
last modified time | relevance | path

Searched refs:sendBroadcastAsUser (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/core/java/android/content/
DContextWrapper.java498 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in ContextWrapper
499 mBase.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
503 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
505 mBase.sendBroadcastAsUser(intent, user, receiverPermission); in sendBroadcastAsUser()
510 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
512 mBase.sendBroadcastAsUser(intent, user, receiverPermission, options); in sendBroadcastAsUser()
517 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
519 mBase.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser()
DContext.java2091 public abstract void sendBroadcastAsUser(@RequiresPermission Intent intent, in sendBroadcastAsUser() method in Context
2109 public abstract void sendBroadcastAsUser(@RequiresPermission Intent intent, in sendBroadcastAsUser() method in Context
2131 public abstract void sendBroadcastAsUser(@RequiresPermission Intent intent, in sendBroadcastAsUser() method in Context
2152 public abstract void sendBroadcastAsUser(@RequiresPermission Intent intent, in sendBroadcastAsUser() method in Context
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java178 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in BroadcastInterceptingContext
183 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in BroadcastInterceptingContext
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java191 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in usbDeviceRemoved()
210 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in usbAccessoryRemoved()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamController.java131 mContext.sendBroadcastAsUser(mCloseNotificationShadeIntent, UserHandle.ALL); in startDream()
215 mContext.sendBroadcastAsUser(mDreamingStoppedIntent, UserHandle.ALL); in stopDream()
272 mContext.sendBroadcastAsUser(mDreamingStartedIntent, UserHandle.ALL); in attach()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java119 mContext.sendBroadcastAsUser(intent, new UserHandle(userHandle)); in requestPermission()
180 mContext.sendBroadcastAsUser(responseIntent, new UserHandle(userHandle)); in notifyPermissionResponse()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java691 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in DpmMockContext
699 spiedContext.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
703 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser() method in DpmMockContext
704 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission); in sendBroadcastAsUser()
708 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser() method in DpmMockContext
710 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser()
/frameworks/base/packages/Shell/src/com/android/shell/
DRemoteBugreportReceiver.java64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM, in onReceive()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java399 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in MockContext
404 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in MockContext
412 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in MockContext
419 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in MockContext
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java224 mContext.sendBroadcastAsUser(new Intent( in broadcastChangesIfNeeded()
229 mContext.sendBroadcastAsUser(new Intent(TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED), in broadcastChangesIfNeeded()
/frameworks/base/services/core/java/com/android/server/media/
DMediaResourceMonitorService.java75 getContext().sendBroadcastAsUser(intent, UserHandle.of(userId), in notifyResourceGranted()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java188 mContext.sendBroadcastAsUser(intent, new UserHandle(changingUserId)); in updateSearchables()
213 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in onChange()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java133 mContext.sendBroadcastAsUser(intent, UserHandle.ALL, in onANQPResponse()
147 mContext.sendBroadcastAsUser(intent, UserHandle.ALL, in onIconResponse()
170 mContext.sendBroadcastAsUser(intent, UserHandle.ALL, in onWnmFrameReceived()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java534 verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in doSuccessfulSingleScan()
536 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in doSuccessfulSingleScan()
684 verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in sendSingleScanRequestWhichFailsAfterStart()
826 order.verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in sendSingleScanRequestAfterPreviousCompletes()
844 order.verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in sendSingleScanRequestAfterPreviousCompletes()
898 verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in sendSingleScanRequestWhilePreviousScanRunning()
912 verify(mContext, times(2)).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in sendSingleScanRequestWhilePreviousScanRunning()
990 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in sendMultipleSingleScanRequestWhilePreviousScanRunning()
1171 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in sendMultipleSingleScanRequestWhilePreviousScanRunningAndMergeOneIntoFirstScan()
1501 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.ALL)); in registerScanListener()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalKeyManager.java78 context.sendBroadcastAsUser(intent, UserHandle.CURRENT, null); in handleGlobalKey()
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java103 mContext.sendBroadcastAsUser(i, UserHandle.ALL); in broadcastDynamicSensorChanged()
DBatteryService.java466 mContext.sendBroadcastAsUser(statusIntent, UserHandle.ALL); in processValuesLocked()
477 mContext.sendBroadcastAsUser(statusIntent, UserHandle.ALL); in processValuesLocked()
490 mContext.sendBroadcastAsUser(statusIntent, UserHandle.ALL); in processValuesLocked()
502 mContext.sendBroadcastAsUser(statusIntent, UserHandle.ALL); in processValuesLocked()
DDeviceIdleController.java1055 getContext().sendBroadcastAsUser(mIdleIntent, UserHandle.ALL); in handleMessage()
1058 getContext().sendBroadcastAsUser(mLightIdleIntent, UserHandle.ALL); in handleMessage()
1104 getContext().sendBroadcastAsUser(mIdleIntent, UserHandle.ALL); in handleMessage()
1107 getContext().sendBroadcastAsUser(mLightIdleIntent, UserHandle.ALL); in handleMessage()
2448 getContext().sendBroadcastAsUser(intent, UserHandle.SYSTEM); in reportPowerSaveWhitelistChangedLocked()
2454 getContext().sendBroadcastAsUser(intent, UserHandle.SYSTEM); in reportTempWhitelistChangedLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java159 verify(mContext).sendBroadcastAsUser(intent.capture(), eq(UserHandle.ALL), in verifyIconIntent()
289 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class), in anqpResponseSuccess()
313 verify(mContext).sendBroadcastAsUser(intent.capture(), eq(UserHandle.ALL), in anqpResponseWithOSUProviders()
391 verify(mContext).sendBroadcastAsUser(intent.capture(), eq(UserHandle.ALL), in onDeauthImminentReceived()
418 verify(mContext).sendBroadcastAsUser(intent.capture(), eq(UserHandle.ALL), in onSubscriptionRemediationReceived()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java350 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in ContextFixture.FakeContext
355 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextFixture.FakeContext
361 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextFixture.FakeContext
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java118 mContext.sendBroadcastAsUser(intent, new UserHandle(mCurrentUserId)); in sendIntent()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java525 getContext().sendBroadcastAsUser(notLowIntent, UserHandle.ALL); in updateBroadcasts()
539 getContext().sendBroadcastAsUser(notFullIntent, UserHandle.ALL); in updateBroadcasts()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1720 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in BridgeContext
1725 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in BridgeContext
1731 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in BridgeContext
1736 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in BridgeContext
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java171 context.sendBroadcastAsUser(intent, UserHandle.SYSTEM, null); in restoreValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java315 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in AppWidgetServiceImplTest.TestContext

123