Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java319 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in DpmMockContext
327 spiedContext.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
331 public void sendBroadcastAsUser(Intent intent, in sendBroadcastAsUser() method in DpmMockContext
333 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission, options); in sendBroadcastAsUser()
337 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) { in sendBroadcastAsUser() method in DpmMockContext
338 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission); in sendBroadcastAsUser()
342 public void sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, in sendBroadcastAsUser() method in DpmMockContext
344 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/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationButton.java114 mContext.sendBroadcastAsUser(toSend, UserHandle.CURRENT); in getButtonClickListener()
115 mContext.sendBroadcastAsUser( in getButtonClickListener()
DCarFacetButton.java130 mContext.sendBroadcastAsUser( in getButtonClickListener()
139 mContext.sendBroadcastAsUser( in getButtonLongClickListener()
/frameworks/base/core/java/android/content/
DContextWrapper.java526 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in ContextWrapper
527 mBase.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
531 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
533 mBase.sendBroadcastAsUser(intent, user, receiverPermission); in sendBroadcastAsUser()
538 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
540 mBase.sendBroadcastAsUser(intent, user, receiverPermission, options); in sendBroadcastAsUser()
545 public void sendBroadcastAsUser(Intent intent, UserHandle user, in sendBroadcastAsUser() method in ContextWrapper
547 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/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/core/java/android/app/timezone/
DRulesUpdaterContract.java85 context.sendBroadcastAsUser( in sendBroadcast()
/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/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/core/tests/screenshothelpertests/src/com/android/internal/util/
DScreenshotHelperTest.java58 Mockito.doNothing().when(mContext).sendBroadcastAsUser(any(), any()); in setUp()
/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/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java408 mServiceContext.sendBroadcastAsUser(intent, UserHandle.ALL); in sendBroadcastNetworkCountryChanged()
444 mServiceContext.sendBroadcastAsUser(intent, UserHandle.ALL); in setAirplaneMode()
/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/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/packages/SystemUI/src/com/android/systemui/
DSliceBroadcastRelayHandler.java116 context.sendBroadcastAsUser(intent, mUserId); in onReceive()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalKeyManager.java78 context.sendBroadcastAsUser(intent, UserHandle.CURRENT, null); in handleGlobalKey()

12345