Home
last modified time | relevance | path

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

12345

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java202 .sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_Connect()
229 .sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnected()
256 .sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnecting()
287 .sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected()
303 .sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected()
325 .sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_Timeout()
355 .sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
370 .sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
385 .sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
416 .sendBroadcastAsUser( in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
[all …]
/packages/services/Car/service/src/com/android/car/systeminterface/
DActivityManagerInterface.java31 void sendBroadcastAsUser(Intent intent, UserHandle user); in sendBroadcastAsUser() method
44 public void sendBroadcastAsUser(@RequiresPermission Intent intent, UserHandle user) { in sendBroadcastAsUser() method in ActivityManagerInterface.DefaultImpl
45 mContext.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
DSystemInterface.java77 public void sendBroadcastAsUser(Intent intent, UserHandle user) { in sendBroadcastAsUser() method in SystemInterface
78 mActivityManagerInterface.sendBroadcastAsUser(intent, user); in sendBroadcastAsUser()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DCarDisplayAreaController.java103 mApplicationContext.sendBroadcastAsUser(intent,
116 mApplicationContext.sendBroadcastAsUser(intent,
131 mApplicationContext.sendBroadcastAsUser(intent,
214 mApplicationContext.sendBroadcastAsUser(intent, in animateCollapsePanels()
247 mApplicationContext.sendBroadcastAsUser(intent, in register()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java115 .sendBroadcastAsUser( in testSetGetDeviceSilenceConnectedCase()
128 .sendBroadcastAsUser( in testSetGetDeviceSilenceConnectedCase()
143 .sendBroadcastAsUser( in testSetGetDeviceSilenceConnectedCase()
158 .sendBroadcastAsUser( in testSetGetDeviceSilenceDisconnectedCase()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DContextCompat.java38 public void sendBroadcastAsUser(@RequiresPermission Intent intent, UserHandle handle) { in sendBroadcastAsUser() method in ContextCompat
39 mContext.sendBroadcastAsUser(intent, handle); in sendBroadcastAsUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DFlashNotificationsPreviewPreferenceControllerTest.java134 verify(mContext, never()).sendBroadcastAsUser(any(), any()); in testHandlePreferenceTreeClick_invalidPreference()
142 verify(mContext).sendBroadcastAsUser(captor.capture(), any()); in handlePreferenceTreeClick_assertAction()
153 verify(mContext).sendBroadcastAsUser(captor.capture(), any()); in handlePreferenceTreeClick_assertExtra()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRemoteBugreportActivity.java85 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
96 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
/packages/apps/Settings/src/com/android/settings/
DRemoteBugreportActivity.java105 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
116 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeControllerTest.java124 .sendBroadcastAsUser(any(Intent.class), any(UserHandle.class)); in setUp()
148 .sendBroadcastAsUser(mIntentCaptor.capture(), eq(UserHandle.ALL)); in testOnShutdownPrepare_shouldInitiateGarageMode()
166 .sendBroadcastAsUser(mIntentCaptor.capture(), eq(UserHandle.ALL)); in testOnShutdownCancelled_shouldCancelGarageMode()
/packages/apps/Settings/src/com/android/settings/accessibility/
DScreenFlashNotificationColorDialogFragment.java171 getContext().sendBroadcastAsUser(intent, UserHandle.SYSTEM);
178 getContext().sendBroadcastAsUser(stopIntent, UserHandle.SYSTEM);
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/
DBluetoothManagerServiceTest.java133 doNothing().when(mContext).sendBroadcastAsUser(any(), any(), any(), any()); in setUp()
294 verify(mContext, times(2)).sendBroadcastAsUser(any(), any(), any(), any()); in transition_offToBleOn()
312 verify(mContext, times(6)).sendBroadcastAsUser(any(), any(), any(), any()); in transition_offToOn()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarButton.java343 mContext.sendBroadcastAsUser(intent, getCurrentUserHandle(mContext, mUserTracker)); in getButtonClickListener()
348 mContext.sendBroadcastAsUser(toSend, in getButtonClickListener()
387 mContext.sendBroadcastAsUser(intent, getCurrentUserHandle(mContext, mUserTracker));
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DQCLogoutButtonController.java119 mContext.sendBroadcastAsUser(intent, mUserTracker.getUserHandle()); in showDialog()
155 mContext.sendBroadcastAsUser(intent, mUserTracker.getUserHandle()); in logoutUser()
DQCScreenOffButtonController.java82 mContext.sendBroadcastAsUser(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS), in turnScreenOff()
DQCFooterViewController.java64 mContext.sendBroadcastAsUser(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS), in onInit()
DQCFooterButtonController.java63 mContext.sendBroadcastAsUser(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS), in onInit()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaService.java198 context.sendBroadcastAsUser( in onScanVolume()
214 context.sendBroadcastAsUser( in onScanVolume()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastBackupAgent.java54 sendBroadcastAsUser(intent, UserHandle.SYSTEM); in onRestoreFinished()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/
DCarUiRecentsButtonStateProvider.java49 mContext.getApplicationContext().sendBroadcastAsUser(intent, in toggleRecents()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java213 doNothing().when(mContext).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class)); in testUpdateConfigForPhoneId_simAbsent()
226 verify(mContext).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class)); in testUpdateConfigForPhoneId_simAbsent()
486 doNothing().when(mContext).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class)); in testMultiSimConfigChanged()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DE2eUiTestUtils.java47 context.sendBroadcastAsUser(resultBroadcast, UserHandle.SYSTEM); in sendResult()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceTest.java329 Mockito.doNothing().when(mSpyContext).sendBroadcastAsUser(Mockito.any(), Mockito.any()); in testSendBroadcastForPackageFullyRemoved()
334 .sendBroadcastAsUser(argumentIntent.capture(), argumentUser.capture()); in testSendBroadcastForPackageFullyRemoved()
428 Mockito.doNothing().when(mSpyContext).sendBroadcastAsUser(Mockito.any(), Mockito.any()); in testSendBroadcastForPackageAdded()
433 .sendBroadcastAsUser(argumentIntent.capture(), argumentUser.capture()); in testSendBroadcastForPackageAdded()
455 Mockito.doNothing().when(mSpyContext).sendBroadcastAsUser(Mockito.any(), Mockito.any()); in testSendBroadcastForPackageDataCleared()
460 .sendBroadcastAsUser(argumentIntent.capture(), argumentUser.capture()); in testSendBroadcastForPackageDataCleared()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DLoggingClusterRenderingService.java65 sendBroadcastAsUser(intent, UserHandle.ALL); in getNavigationRenderer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DGrayscaleConditionControllerTest.java93 verify(mContext).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class), in onActionClick_shouldSendBroadcast()

12345