Home
last modified time | relevance | path

Searched refs:onReceive (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DNotificationControllerTest.java64 mController.onReceive(mContext, in testShouldShowNotificationFirstTime()
68 mController.onReceive(mContext, in testShouldShowNotificationFirstTime()
77 mController.onReceive(mContext, in testNotificationNotShownIfShownTooManyTimes()
80 mController.onReceive(mContext, in testNotificationNotShownIfShownTooManyTimes()
87 mController.onReceive(mContext, in testNotificationNotShownIfShownTooManyTimes()
96 mController.onReceive(mContext, in testNotificationNotShownIfDismissedTooManyTimes()
99 mController.onReceive(mContext, in testNotificationNotShownIfDismissedTooManyTimes()
106 mController.onReceive(mContext, in testNotificationNotShownIfDismissedTooManyTimes()
113 mController.onReceive(mContext, in testDismissNotificationDelay()
116 mController.onReceive(mContext, in testDismissNotificationDelay()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java84 receiverUnderTest.onReceive(mContext, in testSingleDeviceConnectAndDisconnect()
89 receiverUnderTest.onReceive(mContext, in testSingleDeviceConnectAndDisconnect()
97 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect()
99 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect()
101 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect()
103 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect()
105 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect()
110 receiverUnderTest.onReceive(mContext, in testMultiDeviceConnectAndDisconnect()
119 receiverUnderTest.onReceive(mContext, in testExclusionaryGetRecentDevices()
121 receiverUnderTest.onReceive(mContext, in testExclusionaryGetRecentDevices()
[all …]
DDefaultDialerCacheTest.java120 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testDialer1PackageChanged()
139 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testRandomOtherPackageChanged()
155 mUserRemovedReceiver.onReceive(mContext, userRemovalIntent); in testUserRemoved()
176 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testPackageRemovedWithoutReplace()
194 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testPackageAdded()
213 mPackageChangeReceiver.onReceive(mContext, packageChangeIntent); in testPackageRemovedWithReplace()
DNewOutgoingCallIntentBroadcasterTest.java142 result.receiver.onReceive(mContext, result.intent); in testAlreadyDisconnectedCall()
265 result.receiver.onReceive(mContext, result.intent); in testUnmodifiedRegularCall()
280 result.receiver.onReceive(mContext, result.intent); in testUnmodifiedSipCall()
301 result.receiver.onReceive(mContext, result.intent); in testCallWithGatewayInfo()
315 result.receiver.onReceive(mContext, result.intent); in testCallNumberModifiedToNull()
334 result.receiver.onReceive(mContext, result.intent); in testCallNumberModifiedToNullWithLongCustomTimeout()
352 result.receiver.onReceive(mContext, result.intent);
DBluetoothManagerTest.java172 receiverUnderTest.onReceive(mContext, in testReceiveAudioDisconnectWhenConnected()
184 receiverUnderTest.onReceive(mContext, in testReceiveAudioConnectWhenDisconnected()
196 receiverUnderTest.onReceive(mContext, in testReceiveAudioConnectWhenPending()
208 receiverUnderTest.onReceive(mContext, in testReceiveAudioDisconnectWhenPending()
220 receiverUnderTest.onReceive(mContext, in testReceiveAudioConnectingWhenPending()
DSystemStateProviderTest.java106 receiver.getValue().onReceive(mContext, mIntentEnter); in testOnEnterExitCarMode()
110 receiver.getValue().onReceive(mContext, mIntentExit); in testOnEnterExitCarMode()
113 receiver.getValue().onReceive(mContext, new Intent("invalid action")); in testOnEnterExitCarMode()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothAutoConnectPolicyTest.java157 mReceiver.onReceive(null, connectionIntent); in sendFakeConnectionStateChangeOnProfile()
262 mReceiver.onReceive(null, in createDeviceAvailabilityAnswer()
359 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device1, false)); in testAutoConnectOneDevice()
425 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device1, false)); in testAutoConnectMultiDevice()
426 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device2, false)); in testAutoConnectMultiDevice()
427 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device3, false)); in testAutoConnectMultiDevice()
428 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device4, false)); in testAutoConnectMultiDevice()
512 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device1, false)); in testAutoConnectSetPrimaryPriority()
513 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device2, false)); in testAutoConnectSetPrimaryPriority()
514 mReceiver.onReceive(null, createBluetoothBondStateChangedIntent(device3, false)); in testAutoConnectSetPrimaryPriority()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/
DAccountsChangedReceiverTests.java56 reciever.onReceive(getContext(), new Intent("some-random-action")); in testUnknownIntent()
69 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); in testAccountRemoved()
82 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); in testAccountRemoved_noAccounts()
95 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION)); in testAccountNotRemoved()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DNetworkMonitorTest.java68 receiverCaptor.getValue().onReceive(mContext, in testStartListening()
76 receiverCaptor.getValue().onReceive(mContext, in testStartListening()
97 receiverCaptor.getValue().onReceive(mContext, in testStopListening()
105 receiverCaptor.getValue().onReceive(mContext, in testStopListening()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDownloadPackageTaskTest.java139 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testDownloadFailed()
158 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testDownloadSucceeded()
178 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testSendBroadcastTwice()
179 receiver.onReceive(mContext, new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE)); in testSendBroadcastTwice()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java110 injector.onReceive(null /* context */, intent); in testProcessInitProfilePriorities()
164 injector.onReceive(null /* context */, intent); in testAdapterOnAutoConnect()
219 injector.onReceive(null /* context */, intent); in testReconnectOnPartialConnect()
282 injector.onReceive(null /* context */, intent); in testNoReconnectOnNoConnect()
340 injector.onReceive(null /* context */, intent); in testNoSupportedUuids()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatterySaverReceiverTest.java57 mBatterySaverReceiver.onReceive(mContext, intent); in testOnReceive_devicePluggedIn_pluggedInTrue()
67 mBatterySaverReceiver.onReceive(mContext, intent); in testOnReceive_deviceNotPluggedIn_pluggedInFalse()
76 mBatterySaverReceiver.onReceive(mContext, intent); in testOnReceive_powerSaveModeChanged_invokeCallback()
DBatteryBroadcastReceiverTest.java76 mBatteryBroadcastReceiver.onReceive(mContext, mChargingIntent); in testOnReceive_batteryDataChanged_dataUpdated()
93 mBatteryBroadcastReceiver.onReceive(mContext, mChargingIntent); in testOnReceive_batteryDataNotChanged_listenerNotInvoked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java213 receiver.onReceive(mContext, turningOff); in bluetoothTurnsOff_switchTurnsOff()
216 receiver.onReceive(mContext, off); in bluetoothTurnsOff_switchTurnsOff()
238 receiver.onReceive(mContext, turningOn); in bluetoothTurnsOn_switchTurnsOn()
241 receiver.onReceive(mContext, on); in bluetoothTurnsOn_switchTurnsOn()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomSystem.java120 public void onReceive(Context context, Intent intent) {
137 public void onReceive(Context context, Intent intent) {
153 public void onReceive(Context context, Intent intent) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherPreferenceControllerTest.java212 receiver.onReceive(RuntimeEnvironment.application, broadcast); in testReceiver_goingToAirplaneMode_shouldClearPreferenceSummary()
232 receiver.onReceive(RuntimeEnvironment.application, broadcast); in testReceiver_tetherEnabled_shouldUpdatePreferenceSummary()
277 receiver.onReceive(RuntimeEnvironment.application, broadcast); in receiveApStateChangedBroadcast()
/packages/apps/DeskClock/src/com/android/alarmclock/
DAnalogAppWidgetProvider.java38 public void onReceive(Context context, Intent intent) { in onReceive() method in AnalogAppWidgetProvider
39 super.onReceive(context, intent); in onReceive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2PPreferenceControllerTest.java98 mController.mReceiver.onReceive(mContext, dummyIntent); in testWifiStateChange_shouldToggleEnabledState()
102 mController.mReceiver.onReceive(mContext, dummyIntent); in testWifiStateChange_shouldToggleEnabledState()
/packages/apps/Messaging/src/com/android/messaging/widget/
DBaseWidgetProvider.java53 public void onReceive(Context context, Intent intent) { in onReceive() method in BaseWidgetProvider
77 super.onReceive(context, intent); in onReceive()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DDpcReceivedSuccessReceiverTest.java71 receiver.onReceive(mContext, TEST_INTENT); in testNoAccountMigration()
126 receiver.onReceive(mContext, TEST_INTENT); in invokeOnReceiveAndVerifyIntent()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionService.java140 public void onReceive(Context context, Intent intent) {
149 public void onReceive(Context context, Intent intent) {
158 public void onReceive(Context context, Intent intent) {
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DWifiConnScanReceiver.java39 public void onReceive(Context context, Intent intent) { in onReceive() method in WifiConnScanReceiver
140 public void onReceive(Context c, Intent intent) { in onReceive() method in WifiConnScanReceiver.ConnectvityScanTask.WifiScanReceiver
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWpsPreferenceControllerTest.java105 mController.mReceiver.onReceive(mContext, dummyIntent); in testWifiStateChange_shouldToggleEnabledState()
110 mController.mReceiver.onReceive(mContext, dummyIntent); in testWifiStateChange_shouldToggleEnabledState()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java241 public void onReceive(Context context, Intent intent) { in requestExtraTempFiles()
279 public void onReceive(Context context, Intent intent) { in sendFdRequest()
399 public void onReceive(Context context, Intent intent) { in downloadSingleFile()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DPackageRemovedReceiverTest.java185 mReceiver.onReceive(getContext(), new Intent(Intent.ACTION_PACKAGE_FULLY_REMOVED, in testPackageRemoved()
192 mReceiver.onReceive(getContext(), new Intent(Intent.ACTION_PACKAGE_FULLY_REMOVED, in testPackageRemoved()

12345678910>>...19