/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 169 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/ |
D | SilenceDeviceManagerTest.java | 119 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()
|
D | BondStateMachineTest.java | 233 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/ |
D | WifiScanWorkerTest.java | 155 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()
|
D | ContextualWifiScanWorkerTest.java | 88 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/ |
D | CellBroadcastAreaInfoReceiver.java | 47 context.sendBroadcastAsUser(areaInfoIntent, UserHandle.ALL, in onReceive() 49 context.sendBroadcastAsUser(areaInfoIntent, UserHandle.ALL, in onReceive()
|
D | CellBroadcastBackupAgent.java | 52 sendBroadcastAsUser(intent, UserHandle.SYSTEM); in onRestoreFinished()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RemoteBugreportActivity.java | 86 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate() 97 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
|
D | AirplaneModeEnabler.java | 110 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in setAirplaneModeOn()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RemoteBugreportActivity.java | 86 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate() 97 RemoteBugreportActivity.this.sendBroadcastAsUser(intent, in onCreate()
|
D | AirplaneModeEnabler.java | 110 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in setAirplaneModeOn()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 596 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/ |
D | AdapterProperties.java | 624 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/ |
D | TelecomServiceImplTest.java | 196 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/ |
D | HostEmulationManager.java | 141 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/ |
D | E2eUiTestUtils.java | 47 context.sendBroadcastAsUser(resultBroadcast, UserHandle.SYSTEM); in sendResult()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | LoggingClusterRenderingService.java | 68 sendBroadcastAsUser(intent, UserHandle.ALL); in getNavigationRenderer()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | GrayscaleConditionControllerTest.java | 91 verify(mContext).sendBroadcastAsUser(any(Intent.class), any(UserHandle.class), in onActionClick_shouldSendBroadcast()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | RadioOnHelper.java | 113 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); in powerOnRadio()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherClientPermissionTest.java | 101 getContext().sendBroadcastAsUser(new Intent(Intent.ACTION_USER_UNLOCKED), UserHandle.ALL); in triggerClientBinding()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
D | InputMethodHelper.java | 76 context.sendBroadcastAsUser(intent, UserHandle.CURRENT); in setDefaultInputMethodId()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | TtyModeListPreference.java | 82 getContext().sendBroadcastAsUser(ttyModeChanged, UserHandle.ALL); in onPreferenceChange()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TtyManager.java | 84 mContext.sendBroadcastAsUser(ttyModeChanged, UserHandle.ALL); in updateCurrentTtyMode()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | GrayscaleConditionController.java | 119 mAppContext.sendBroadcastAsUser(intent, UserHandle.CURRENT, in sendBroadcast()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | GrayscaleConditionController.java | 119 mAppContext.sendBroadcastAsUser(intent, UserHandle.CURRENT, in sendBroadcast()
|