Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java317 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in DpmMockContext
325 spiedContext.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
329 public void sendBroadcastAsUser(Intent intent, in sendBroadcastAsUser() method in DpmMockContext
331 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission, options); in sendBroadcastAsUser()
335 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser() method in DpmMockContext
336 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission); in sendBroadcastAsUser()
340 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser() method in DpmMockContext
342 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser()
DNetworkEventTest.java59 doNothing().when(mSpiedDpmMockContext).sendBroadcastAsUser(any(Intent.class), in setUp()
135 verify(mSpiedDpmMockContext).sendBroadcastAsUser(intentCaptor.capture(), in fillHandlerWithFullBatchOfEvents()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSliceBroadcastRelay.java66 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in registerReceiver()
83 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in unregisterReceivers()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerIntegTest.java103 mContext.sendBroadcastAsUser(mTestIntent, mOtherUser.getUserHandle()); in registerAdapterReceiver_ifIntentFromAnotherUser_broadcastIsReceived()
125 mContext.sendBroadcastAsUser(mTestIntent, mOtherUser.getUserHandle()); in registerProfileReceiver_ifIntentFromAnotherUser_broadcastIsReceived()
/frameworks/base/core/java/android/content/
DContextWrapper.java522 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in ContextWrapper
523 mBase.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
527 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
529 mBase.sendBroadcastAsUser(intent, user, receiverPermission); in sendBroadcastAsUser()
534 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
536 mBase.sendBroadcastAsUser(intent, user, receiverPermission, options); in sendBroadcastAsUser()
541 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
543 mBase.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java184 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in BroadcastInterceptingContext
189 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in BroadcastInterceptingContext
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java188 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in usbDeviceRemoved()
207 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in usbAccessoryRemoved()
/frameworks/base/core/java/android/app/timezone/
DRulesUpdaterContract.java85 context.sendBroadcastAsUser( in sendBroadcast()
/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/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java482 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in handleBatterySaverStateChanged()
486 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in handleBatterySaverStateChanged()
491 mContext.sendBroadcastAsUser(intent, UserHandle.ALL, in handleBatterySaverStateChanged()
/frameworks/base/services/core/java/com/android/server/timezone/
DRulesManagerServiceHelperImpl.java71 mContext.sendBroadcastAsUser(intent, UserHandle.SYSTEM); in sendOperationIntent()
/frameworks/base/packages/Shell/src/com/android/shell/
DRemoteBugreportReceiver.java64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM, in onReceive()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java417 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in MockContext
422 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in MockContext
430 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in MockContext
437 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/core/tests/coretests/src/android/app/timezone/
DRulesUpdaterContractTest.java64 verify(mockContext).sendBroadcastAsUser( in sendBroadcast()
/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.java189 mContext.sendBroadcastAsUser(intent, new UserHandle(changingUserId)); in updateSearchables()
214 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in onChange()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java136 mContext.sendBroadcastAsUser(errorIntent, UserHandle.CURRENT); in notifyScreenshotError()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationButton.java96 mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT); in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSliceBroadcastRelayHandler.java116 context.sendBroadcastAsUser(intent, mUserId); in onReceive()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java329 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in sendScanResultBroadcast()
340 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in sendScanResultFailureBroadcastToPackage()
/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()
/frameworks/base/test-mock/api/
Dsystem-current.txt9 …method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, andr…

12345