/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 109 receiverUnderTest.onReceive(mContext, in testSingleDeviceConnectAndDisconnect() 112 receiverUnderTest.onReceive(mContext, in testSingleDeviceConnectAndDisconnect() 123 receiverUnderTest.onReceive(mContext, in testAddDeviceFailsWhenServicesAreNull() 125 receiverUnderTest.onReceive(mContext, in testAddDeviceFailsWhenServicesAreNull() 134 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect() 136 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect() 138 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect() 140 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect() 143 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect() 151 receiverUnderTest.onReceive(mContext, in testHearingAidDedup() [all …]
|
D | DefaultDialerCacheTest.java | 142 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testDialer1PackageChanged() 159 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testRandomOtherPackageChanged() 173 mUserRemovedReceiver.onReceive(mContext, userRemovalIntent); in testUserRemoved() 193 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testPackageRemovedWithoutReplace() 209 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testPackageAdded() 226 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testPackageRemovedWithReplace()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 200 result.receiver.onReceive(mContext, result.intent); in testAlreadyDisconnectedCall() 338 result.receiver.onReceive(mContext, result.intent); in testUnmodifiedRegularCall() 354 result.receiver.onReceive(mContext, result.intent); in testUnmodifiedSipCall() 376 result.receiver.onReceive(mContext, result.intent); in testCallWithGatewayInfo() 391 result.receiver.onReceive(mContext, result.intent); in testCallNumberModifiedToNull() 411 result.receiver.onReceive(mContext, result.intent); in testCallNumberModifiedToNullWithLongCustomTimeout() 430 result.receiver.onReceive(mContext, result.intent);
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | NotificationControllerTest.java | 69 mController.onReceive(mContext, in testShouldShowNotificationFirstTime() 73 mController.onReceive(mContext, in testShouldShowNotificationFirstTime() 82 mController.onReceive(mContext, in testNotificationNotShownIfShownTooManyTimes() 85 mController.onReceive(mContext, in testNotificationNotShownIfShownTooManyTimes() 93 mController.onReceive(mContext, in testNotificationNotShownIfShownTooManyTimes() 102 mController.onReceive(mContext, in testNotificationNotShownIfDismissedTooManyTimes() 105 mController.onReceive(mContext, in testNotificationNotShownIfDismissedTooManyTimes() 113 mController.onReceive(mContext, in testNotificationNotShownIfDismissedTooManyTimes() 120 mController.onReceive(mContext, in testDismissNotificationDelay() 123 mController.onReceive(mContext, in testDismissNotificationDelay() [all …]
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | PreprocessingManagerTest.java | 78 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in setupBaseActivityAndLayout() 97 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_preCall_triggerChanges() 106 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_midCall_triggerChanges() 117 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_postCall_triggerChanges() 121 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_postCall_triggerChanges() 142 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in removeCallStateListener_midCall_triggerChanges() 150 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in removeCallStateListener_midCall_triggerChanges() 164 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in multipleCallStateListeners_triggeredAppropriately() 174 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in multipleCallStateListeners_triggeredAppropriately()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBroadcastReceiverTest.java | 112 mReceiver.onReceive(mContext, intent); in onReceive_toggleChanged() 144 mReceiver.onReceive(mContext, intent); in toggleUpdate_synchronously_notifyChange_should_be_called() 178 mReceiver.onReceive(mContext, intent); in toggleUpdate_asynchronously_notifyChange_should_not_be_called() 210 mReceiver.onReceive(mContext, intent); in onReceive_sliderChanged() 236 mReceiver.onReceive(mContext, intent); in onReceive_invalidController_throwsException() 246 mReceiver.onReceive(mContext, intent); in sliderOnReceive_noKey_throwsException() 252 mReceiver.onReceive(mContext, intent); in toggleOnReceive_noExtra_illegalStateException() 259 mReceiver.onReceive(mContext, intent); in toggleOnReceive_emptyKey_throwsIllegalStateException() 287 mReceiver.onReceive(mContext, intent); in toggleUpdate_unavailableUriNotified() 328 mReceiver.onReceive(mContext, intent); in sliderUpdate_unavailableUriNotified()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/ |
D | FormatActivityFormatReceiverTest.java | 63 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_successResumed() 79 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_successNotResumed() 95 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_failure() 112 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_wrongDisk() 128 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPublic_success() 143 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPublic_wrongDisk()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | ActiveDeviceManagerTest.java | 317 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpConnected() 328 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpDisconnected() 337 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpActiveDeviceChanged() 348 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetConnected() 359 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetDisconnected() 368 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetActiveDeviceChanged() 377 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in hearingAidActiveDeviceChanged()
|
D | PhonePolicyTest.java | 127 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testProcessInitProfilePriorities() 164 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testAdapterOnAutoConnect() 204 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect() 219 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect() 237 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect() 627 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoReconnectOnNoConnect() 683 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoReconnectOnNoConnect_MultiDevice() 758 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoSupportedUuids() 788 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in updateProfileConnectionStateHelper()
|
D | SilenceDeviceManagerTest.java | 177 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpConnected() 189 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in a2dpDisconnected() 201 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetConnected() 213 mSilenceDeviceManager.getBroadcastReceiver().onReceive(mContext, intent); in headsetDisconnected()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverTest.java | 131 mCellBroadcastReceiver.onReceive(mContext, mIntent); in testOnReceive_actionMarkAsRead() 141 mCellBroadcastReceiver.onReceive(mContext, mIntent); in testOnReceive_actionCarrierConfigChanged() 150 mCellBroadcastReceiver.onReceive(mContext, mIntent); in testOnReceive_cellbroadcastStartConfigAction() 160 mCellBroadcastReceiver.onReceive(mContext, mIntent); in testOnReceive_actionDefaultSmsSubscriptionChanged() 171 mCellBroadcastReceiver.onReceive(mContext, mIntent); in testOnReceive_actionSmsEmergencyCbReceived() 182 mCellBroadcastReceiver.onReceive(mContext, mIntent); in testOnReceive_smsCbReceivedAction() 193 mCellBroadcastReceiver.onReceive(mContext, mIntent); in testOnReceive_smsServiceCategoryProgramDataReceivedAction() 423 mCellBroadcastReceiver.onReceive(mContext, mIntent); in setContext()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | NetworkMonitorTest.java | 69 receiverCaptor.getValue().onReceive(mContext, in testStartListening() 77 receiverCaptor.getValue().onReceive(mContext, in testStartListening() 98 receiverCaptor.getValue().onReceive(mContext, in testStopListening() 106 receiverCaptor.getValue().onReceive(mContext, in testStopListening()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiverTests.java | 71 reciever.onReceive(getContext(), new Intent("some-random-action")); in testUnknownIntent() 85 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); in testAccountRemoved() 99 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); in testAccountRemoved_noAccounts() 113 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); in testAccountNotRemoved()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbConnectionBroadcastReceiverTest.java | 69 mReceiver.onReceive(mContext, intent); in onReceive_usbConnected_invokeCallback() 81 mReceiver.onReceive(mContext, intent); in onReceive_usbDisconnected_invokeCallback() 95 mReceiver.onReceive(mContext, intent); in onReceive_usbConnectedMtpEnabled_invokeCallback() 110 mReceiver.onReceive(mContext, intent); in onReceive_usbPortStatus_invokeCallback()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | SimSelectNotificationTest.java | 147 mSimSelectNotification.onReceive(mContext, intent); in onReceiveEnableMms_notificationShouldSend() 173 mSimSelectNotification.onReceive(mContext, intent); in onReceiveEnableMms_NoExtra_notificationShouldNotSend() 186 mSimSelectNotification.onReceive(mContext, intent); in onReceiveEnableMms_MmsDataAlreadyEnabled_notificationShouldNotSend() 195 mSimSelectNotification.onReceive(mContext, intent); in onReceivePrimarySubListChange_NoExtra_notificationShouldNotSend() 207 mSimSelectNotification.onReceive(mContext, intent); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcPreferenceControllerTest.java | 231 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate() 243 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate() 255 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate() 267 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_nfcOn_sliceUpdates() 279 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_nfcOff_sliceUpdates()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatterySaverReceiverTest.java | 54 mBatterySaverReceiver.onReceive(mContext, intent); in testOnReceive_devicePluggedIn_pluggedInTrue() 64 mBatterySaverReceiver.onReceive(mContext, intent); in testOnReceive_deviceNotPluggedIn_pluggedInFalse() 73 mBatterySaverReceiver.onReceive(mContext, intent); in testOnReceive_powerSaveModeChanged_invokeCallback()
|
D | BatteryBroadcastReceiverTest.java | 85 mBatteryBroadcastReceiver.onReceive(mContext, mChargingIntent); in testOnReceive_batteryLevelChanged_dataUpdated() 100 mBatteryBroadcastReceiver.onReceive(mContext, in testOnReceive_powerSaveModeChanged_listenerInvoked() 118 mBatteryBroadcastReceiver.onReceive(mContext, mChargingIntent); in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTaskTest.java | 144 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testDownloadFailed() 163 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testDownloadSucceeded() 183 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testSendBroadcastTwice() 184 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testSendBroadcastTwice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothEnablerTest.java | 222 receiver.onReceive(mContext, turningOff); in bluetoothTurnsOff_switchTurnsOff() 225 receiver.onReceive(mContext, off); in bluetoothTurnsOff_switchTurnsOff() 245 receiver.onReceive(mContext, turningOn); in bluetoothTurnsOn_switchTurnsOn() 248 receiver.onReceive(mContext, on); in bluetoothTurnsOn_switchTurnsOn()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkUpdateManager.java | 177 void onReceive(); in onReceive() method 194 public void onReceive(Context context, Intent intent) { in onReceive() method in MobileNetworkUpdateManager.PhoneChangeReceiver 196 mOnChangeAction.onReceive(); in onReceive()
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/ |
D | BaseTvInputServiceTest.java | 125 tvInputService.broadcastReceiver.onReceive( in testReceiver_actionEnabledChanged() 134 tvInputService.broadcastReceiver.onReceive( in testReceiver_actionBlockedChanged() 143 tvInputService.broadcastReceiver.onReceive( in testReceiver_invalidAction()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | BroadcastMonitor.java | 56 public void onReceive(Context context, Intent intent) { in onReceive() method in BroadcastMonitor 58 mReceiver.onReceive(context, intent); in onReceive()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | ChooseAccountPreferenceControllerTest.java | 159 mController.getAuthenticatorHelper().onReceive(application, null); in refreshUi_doesNotHaveAuthoritiesInFilter_shouldNotBeShown() 180 mController.getAuthenticatorHelper().onReceive(application, null); in refreshUi_hasAuthoritiesInFilter_shouldBeShown() 200 mController.getAuthenticatorHelper().onReceive(application, null); in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothMonitor.java | 213 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothMonitor.MapDeviceMonitor 258 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothMonitor.BluetoothMapReceiver 298 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothMonitor.BluetoothSdpReceiver
|