/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | NotificationControllerTest.java | 64 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/ |
D | BluetoothDeviceManagerTest.java | 84 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 …]
|
D | DefaultDialerCacheTest.java | 120 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()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 142 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);
|
D | BluetoothManagerTest.java | 172 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()
|
D | SystemStateProviderTest.java | 106 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/ |
D | BluetoothAutoConnectPolicyTest.java | 157 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/ |
D | AccountsChangedReceiverTests.java | 56 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/ |
D | NetworkMonitorTest.java | 68 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/ |
D | DownloadPackageTaskTest.java | 139 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/ |
D | PhonePolicyTest.java | 110 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/ |
D | BatterySaverReceiverTest.java | 57 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()
|
D | BatteryBroadcastReceiverTest.java | 76 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/ |
D | BluetoothEnablerTest.java | 213 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/ |
D | TelecomSystem.java | 120 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/ |
D | WifiTetherPreferenceControllerTest.java | 212 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/ |
D | AnalogAppWidgetProvider.java | 38 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/ |
D | WifiP2PPreferenceControllerTest.java | 98 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/ |
D | BaseWidgetProvider.java | 53 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/ |
D | DpcReceivedSuccessReceiverTest.java | 71 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/ |
D | TestConnectionService.java | 140 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/ |
D | WifiConnScanReceiver.java | 39 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/ |
D | WpsPreferenceControllerTest.java | 105 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/ |
D | EmbmsSampleDownloadService.java | 241 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/ |
D | PackageRemovedReceiverTest.java | 185 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()
|