Home
last modified time | relevance | path

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

123

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java169 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_Connect()
186 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnected()
203 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).sendBroadcastAsUser( in testStateTransition_DisconnectedToConnecting_StackConnecting()
225 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected()
237 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToDisconnected_StackDisconnected()
255 numBroadcastsSent)).sendBroadcastAsUser(mIntentArgument.capture(), in testStateTransition_ConnectingToDisconnected_Timeout()
276 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
287 after(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
298 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_ConnectingToConnected_StackSlcConnected()
320 timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(numBroadcastsSent)).sendBroadcastAsUser( in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java119 verify(mAdapterService, times(++mVerifyCount)).sendBroadcastAsUser( in testSetGetDeviceSilenceConnectedCase()
131 verify(mAdapterService, times(++mVerifyCount)).sendBroadcastAsUser( in testSetGetDeviceSilenceConnectedCase()
145 verify(mAdapterService, times(++mVerifyCount)).sendBroadcastAsUser( in testSetGetDeviceSilenceConnectedCase()
159 verify(mAdapterService, times(mVerifyCount)).sendBroadcastAsUser( in testSetGetDeviceSilenceDisconnectedCase()
DBondStateMachineTest.java233 verify(mAdapterService, times(++mVerifyCount)).sendBroadcastAsUser( in testSendIntentCase()
239 verify(mAdapterService, times(mVerifyCount)).sendBroadcastAsUser(any(Intent.class), in testSendIntentCase()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiScanWorkerTest.java155 verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_isClickedWifi_shouldSendBroadcast()
169 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_isNotClickedWifi_shouldNotSendBroadcast()
181 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_neverClickWifi_shouldNotSendBroadcast()
198 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_sliceIsUnpinned_shouldNotSendBroadcast()
DContextualWifiScanWorkerTest.java88 verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_sliceIsUnpinned_shouldSendBroadcast()
103 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_newSession_shouldNotSendBroadcast()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAreaInfoReceiver.java47 context.sendBroadcastAsUser(areaInfoIntent, UserHandle.ALL, in onReceive()
49 context.sendBroadcastAsUser(areaInfoIntent, UserHandle.ALL, in onReceive()
DCellBroadcastBackupAgent.java52 sendBroadcastAsUser(intent, UserHandle.SYSTEM); in onRestoreFinished()
/packages/apps/Settings/src/com/android/settings/
DRemoteBugreportActivity.java86 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
97 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
DAirplaneModeEnabler.java110 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in setAirplaneModeOn()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRemoteBugreportActivity.java86 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
97 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
DAirplaneModeEnabler.java110 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in setAirplaneModeOn()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java596 sendBroadcastAsUser(intent, UserHandle.of(UserHandle.myUserId()), null, opts.toBundle()); in broadcastLegacyStorageChange()
601 sendBroadcastAsUser(intent, UserHandle.of(UserHandle.myUserId())); in broadcastKeychainChange()
606 sendBroadcastAsUser(intent, UserHandle.of(UserHandle.myUserId())); in broadcastTrustStoreChange()
621 sendBroadcastAsUser(intent, UserHandle.of(UserHandle.myUserId())); in broadcastPermissionChange()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java624 mService.sendBroadcastAsUser(intent, UserHandle.ALL, AdapterService.BLUETOOTH_PERM); in sendConnectionStateChange()
785 mService.sendBroadcastAsUser(intent, UserHandle.ALL, in adapterPropertyChangedCallback()
796 mService.sendBroadcastAsUser(intent, UserHandle.ALL, in adapterPropertyChangedCallback()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java196 doNothing().when(mContext).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class), in setUp()
564 .sendBroadcastAsUser(any(Intent.class), any(UserHandle.class), anyString()); in testUnregisterPhoneAccountFailure()
772 verify(mContext).sendBroadcastAsUser(intentCaptor.capture(), any(UserHandle.class)); in testSetDefaultDialer()
805 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class)); in setDefaultDialerFailureTestHelper()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java141 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in onHostEmulationActivated()
297 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in onOffHostAidSelected()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DE2eUiTestUtils.java47 context.sendBroadcastAsUser(resultBroadcast, UserHandle.SYSTEM); in sendResult()
/packages/apps/Car/Cluster/src/android/car/cluster/
DLoggingClusterRenderingService.java68 sendBroadcastAsUser(intent, UserHandle.ALL); in getNavigationRenderer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DGrayscaleConditionControllerTest.java91 verify(mContext).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class), in onActionClick_shouldSendBroadcast()
/packages/services/Telephony/src/com/android/services/telephony/
DRadioOnHelper.java113 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in powerOnRadio()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherClientPermissionTest.java101 getContext().sendBroadcastAsUser(new Intent(Intent.ACTION_USER_UNLOCKED), UserHandle.ALL); in triggerClientBinding()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DInputMethodHelper.java76 context.sendBroadcastAsUser(intent, UserHandle.CURRENT); in setDefaultInputMethodId()
/packages/services/Telephony/src/com/android/phone/settings/
DTtyModeListPreference.java82 getContext().sendBroadcastAsUser(ttyModeChanged, UserHandle.ALL); in onPreferenceChange()
/packages/services/Telecomm/src/com/android/server/telecom/
DTtyManager.java84 mContext.sendBroadcastAsUser(ttyModeChanged, UserHandle.ALL); in updateCurrentTtyMode()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DGrayscaleConditionController.java119 mAppContext.sendBroadcastAsUser(intent, UserHandle.CURRENT, in sendBroadcast()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DGrayscaleConditionController.java119 mAppContext.sendBroadcastAsUser(intent, UserHandle.CURRENT, in sendBroadcast()

123