/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/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBroadcastReceiverTest.java | 101 mReceiver.onReceive(mContext, intent); in onReceive_toggleChanged() 136 mReceiver.onReceive(mContext, intent); in toggleUpdate_synchronously_notifyChange_should_be_called() 159 mReceiver.onReceive(mContext, intent); in toggleUpdate_asynchronously_notifyChange_should_not_be_called() 187 mReceiver.onReceive(mContext, intent); in onReceive_sliderChanged() 213 mReceiver.onReceive(mContext, intent); in onReceive_invalidController_throwsException() 223 mReceiver.onReceive(mContext, intent); in sliderOnReceive_noKey_throwsException() 229 mReceiver.onReceive(mContext, intent); in toggleOnReceive_noExtra_illegalStateException() 236 mReceiver.onReceive(mContext, intent); in toggleOnReceive_emptyKey_throwsIllegalStateException() 266 mReceiver.onReceive(mContext, intent); in toggleUpdate_unavailableUriNotified() 304 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/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
D | WifiP2pSettingsTest.java | 151 mFragment.mReceiver.onReceive(mContext, intent); in beSearching_getP2pStateEnabledIntent_shouldBeFalse() 164 mFragment.mReceiver.onReceive(mContext, intent); in withEmptyP2pDeviceList_getP2pPeerChangeIntent_connectedDevicesShouldBeZero() 181 mFragment.mReceiver.onReceive(mContext, intent); in lastGroupForm_whenGroupFormInWifiP2pInfoIsFalse_beSetAsFalse() 198 mFragment.mReceiver.onReceive(mContext, intent); in lastGroupForm_whenGroupFormInWifiP2pInfoIsTrue_beSetAsTrue() 227 mFragment.mReceiver.onReceive(mContext, intent); in withNoStage_discoveryChanged_shouldStopSearching() 240 mFragment.mReceiver.onReceive(mContext, intent); in withStartedStage_discoveryChanged_shouldStartSearching() 269 mFragment.mReceiver.onReceive(mContext, intent); in noLastGroupForm_whenP2pDisconnected_shouldStartSearch() 476 mFragment.mReceiver.onReceive(mContext, intent); in p2pThisDeviceChange_shouldRequestDeviceInfoAgain() 485 mFragment.mReceiver.onReceive(mContext, intent); in p2pPersistentGroupChange_shouldRequestGroupInfo()
|
D | WifiP2PPreferenceControllerTest.java | 110 mController.mReceiver.onReceive(mContext, dummyIntent); in testWifiStateChange_shouldToggleEnabledState() 114 mController.mReceiver.onReceive(mContext, dummyIntent); in testWifiStateChange_shouldToggleEnabledState() 144 mController.mLocationReceiver.onReceive(mContext, dummyIntent); in updateState_withLocationDisabled_preferenceShouldBeDisable()
|
/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 | 126 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testProcessInitProfilePriorities() 164 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testAdapterOnAutoConnect() 205 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect() 220 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect() 238 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testDisconnectNoAutoConnect() 629 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoReconnectOnNoConnect() 685 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoReconnectOnNoConnect_MultiDevice() 760 mPhonePolicy.getBroadcastReceiver().onReceive(null /* context */, intent); in testNoSupportedUuids() 790 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/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | NetworkMonitorTest.java | 70 receiverCaptor.getValue().onReceive(mContext, in testStartListening() 78 receiverCaptor.getValue().onReceive(mContext, in testStartListening() 99 receiverCaptor.getValue().onReceive(mContext, in testStopListening() 108 receiverCaptor.getValue().onReceive(mContext, in testStopListening()
|
/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/homepage/contextualcards/ |
D | ContextualCardsFragmentTest.java | 117 mFragment.mKeyEventReceiver.onReceive(mContext, intent); in onReceive_homeKey_shouldResetSession() 130 mFragment.mKeyEventReceiver.onReceive(mContext, intent); in onReceive_recentApps_shouldResetSession() 143 mFragment.mKeyEventReceiver.onReceive(mContext, intent); in onReceive_otherKey_shouldNotResetSession() 155 mFragment.mScreenOffReceiver.onReceive(mContext, intent); in onReceive_screenOff_shouldResetSession()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcPreferenceControllerTest.java | 231 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate() 244 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate() 257 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate() 270 receiver.onReceive(mContext, triggerIntent); in ncfSliceWorker_nfcBroadcast_nfcOn_sliceUpdates() 283 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()
|
/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/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | UserDetailsFragmentTest.java | 71 mUserDetailsFragment.mUserUpdateReceiver.onReceive(/* context= */ null, /* intent= */ null); in testCarUserManagerHelperUpdateListener_showsCorrectText() 79 mUserDetailsFragment.mUserUpdateReceiver.onReceive(/* context= */ null, /* intent= */ null); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate() 86 mUserDetailsFragment.mUserUpdateReceiver.onReceive(/* context= */ null, /* intent= */ null); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate()
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | PreprocessingManagerTest.java | 191 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in setup() 380 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_preCall_triggerChanges() 389 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_midCall_triggerChanges() 400 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_postCall_triggerChanges() 404 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_postCall_triggerChanges() 425 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in removeCallStateListener_midCall_triggerChanges() 433 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in removeCallStateListener_midCall_triggerChanges() 447 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in multipleCallStateListeners_triggeredAppropriately() 457 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in multipleCallStateListeners_triggeredAppropriately()
|
/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/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/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()
|