Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java57 void onReceive(Context context, Intent intent, BluetoothDevice device); in onReceive() method
139 public void onReceive(Context context, Intent intent) {
146 handler.onReceive(context, intent, device);
152 public void onReceive(Context context, Intent intent, in onReceive() method in BluetoothEventManager.AdapterStateChangedHandler
175 public void onReceive(Context context, Intent intent, in onReceive() method in BluetoothEventManager.ScanningStateChangedHandler
187 public void onReceive(Context context, Intent intent, in onReceive() method in BluetoothEventManager.DeviceFoundHandler
209 public void onReceive(Context context, Intent intent, BluetoothDevice device) { in onReceive() method in BluetoothEventManager.ConnectionStateChangedHandler
234 public void onReceive(Context context, Intent intent, in onReceive() method in BluetoothEventManager.DeviceDisappearedHandler
252 public void onReceive(Context context, Intent intent, in onReceive() method in BluetoothEventManager.NameChangedHandler
259 public void onReceive(Context context, Intent intent, in onReceive() method in BluetoothEventManager.BondStateChangedHandler
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java41 broadcastReceiver.onReceive(context, intent); in sendNetworkStateChanged()
50 broadcastReceiver.onReceive(context, intent); in sendScanResultsAvailable()
60 broadcastReceiver.onReceive(context, intent); in sendWifiScanAvailable()
70 broadcastReceiver.onReceive(context, intent); in sendWifiStateChanged()
89 broadcastReceiver.onReceive(context, intent); in sendWifiApStateChanged()
100 broadcastReceiver.onReceive(context, intent); in sendTetherStateChanged()
DSupplicantStateTrackerTest.java87 public void onReceive(Context context, Intent intent) { in testSupplicantStateChangeIntent()
109 public void onReceive(Context context, Intent intent) { in testAuthPassInSupplicantStateChangeIntent()
135 public void onReceive(Context context, Intent intent) { in testAuthFailedInSupplicantStateChangeIntent()
162 public void onReceive(Context context, Intent intent) { in testReasonCodeInSupplicantStateChangeIntent()
DOpenNetworkNotifierTest.java386 mBroadcastReceiver.onReceive( in userDismissedNotification_shouldBlacklistNetwork()
468 mBroadcastReceiver.onReceive(mContext, in actionConnectToNetwork_notificationNotShowing_doesNothing()
489 mBroadcastReceiver.onReceive(mContext, in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification()
518 mBroadcastReceiver.onReceive(mContext, in actionPickWifiNetwork_currentRecommendationExists_opensWifiSettings()
576 mBroadcastReceiver.onReceive(mContext, in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification()
625 mBroadcastReceiver.onReceive(mContext, in networkConnectionFailure_wasInConnectingFlow_postsFailedToConnectNotification()
662 mBroadcastReceiver.onReceive(mContext, in connectionFailedCallback_postsFailedToConnectNotification()
690 mBroadcastReceiver.onReceive(mContext, in connectionFailedCallback_postsFailedToConnectNotification()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java226 public void onReceive(Context context, Intent intent) {
264 public void onReceive(Context context, Intent intent) { in onReceive() method in BroadcastTest.TestBroadcastReceiver
386 public void onReceive(Context context, Intent intent) { in testRegisteredReceivePermissionDenied()
413 public void onReceive(Context context, Intent intent) { in testRegisteredBroadcastPermissionDenied()
435 public void onReceive(Context context, Intent intent) { in testLocalReceivePermissionDenied()
459 public void onReceive(Context context, Intent intent) { in testLocalBroadcastPermissionDenied()
481 public void onReceive(Context context, Intent intent) { in testRemoteReceivePermissionDenied()
505 public void onReceive(Context context, Intent intent) { in testRemoteBroadcastPermissionDenied()
DResultReceiver.java34 public void onReceive(Context context, Intent intent) in onReceive() method in ResultReceiver
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java275 tracker.mReceiver.onReceive(mContext, intent); in createTrackerWithImmediateBroadcastsAndInjectInitialScanResults()
317 tracker.mReceiver.onReceive(mContext, i); in sendScanResultsAndProcess()
398 tracker.mReceiver.onReceive(mContext, intent); in switchToNetwork2()
743 tracker.mReceiver.onReceive(mContext, new Intent(WifiManager.RSSI_CHANGED_ACTION)); in rssiChangeBroadcastShouldUpdateConnectedAp()
831 tracker.mReceiver.onReceive(mContext, new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION)); in stopTrackingShouldSetStaleBitWhichPreventsCallbacksUntilNextScanResult()
832 tracker.mReceiver.onReceive( in stopTrackingShouldSetStaleBitWhichPreventsCallbacksUntilNextScanResult()
834 tracker.mReceiver.onReceive( in stopTrackingShouldSetStaleBitWhichPreventsCallbacksUntilNextScanResult()
851 tracker.mReceiver.onReceive(mContext, new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION)); in startTrackingShouldNotSendAnyCallbacksUntilScanResultsAreProcessed()
852 tracker.mReceiver.onReceive( in startTrackingShouldNotSendAnyCallbacksUntilScanResultsAreProcessed()
854 tracker.mReceiver.onReceive( in startTrackingShouldNotSendAnyCallbacksUntilScanResultsAreProcessed()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java60 mLocationController.onReceive(mContext, new Intent( in testRemoveSelfActive_DoesNotCrash()
63 mLocationController.onReceive(mContext, new Intent( in testRemoveSelfActive_DoesNotCrash()
DNetworkControllerSignalTest.java358 mNetworkController.onReceive(mContext, intent); in testOnReceive_stringsUpdatedAction_spn()
373 mNetworkController.onReceive(mContext, intent); in testOnReceive_stringsUpdatedAction_plmn()
386 mNetworkController.onReceive(mContext, intent); in testOnReceive_stringsUpdatedAction_bothFalse()
402 mNetworkController.onReceive(mContext, intent); in testOnReceive_stringsUpdatedAction_bothTrueAndNull()
420 mNetworkController.onReceive(mContext, intent); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
DNetworkControllerWifiTest.java130 mNetworkController.onReceive(mContext, i); in setWifiLevel()
137 mNetworkController.onReceive(mContext, i); in setWifiEnabled()
150 mNetworkController.onReceive(mContext, i); in setWifiState()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java162 @Override public void onReceive(Context context, Intent intent) { in setMonitorBatteryLocked()
163 ChargingTracker.this.onReceive(context, intent); in setMonitorBatteryLocked()
195 public void onReceive(Context context, Intent intent) { in onReceive() method in BatteryController.ChargingTracker
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java1326 mService.mPackageMonitor.onReceive(getTestContext(), in testGetShortcuts_shortcutKinds()
1345 mService.mPackageMonitor.onReceive(getTestContext(), in testGetShortcuts_shortcutKinds()
2885 mService.mPackageMonitor.onReceive(getTestContext(), in testLauncherCallback()
2922 mService.mPackageMonitor.onReceive(getTestContext(), in testLauncherCallback()
3534 mService.mPackageMonitor.onReceive(getTestContext(), in testCleanupPackage_republishManifests()
3551 mService.mPackageMonitor.onReceive(getTestContext(), in testCleanupPackage_republishManifests()
3907 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageDelete()
3915 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageDisable()
3932 mService.mPackageMonitor.onReceive(getTestContext(), in checkHandlePackageDeleteInner()
4083 mService.mPackageMonitor.onReceive(getTestContext(), in testHandlePackageClearData()
[all …]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DReceiver.java28 public void onReceive(Context context, Intent intent) { in onReceive() method in Receiver
/frameworks/base/packages/InputDevices/src/com/android/inputdevices/
DInputDeviceReceiver.java25 public void onReceive(Context context, Intent intent) { in onReceive() method in InputDeviceReceiver
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DDummyAppWidget.java29 public void onReceive(Context context, Intent intent) { in onReceive() method in DummyAppWidget
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DDisabledReceiver.java29 public void onReceive(Context context, Intent intent) { in onReceive() method in DisabledReceiver
DEnabledReceiver.java29 public void onReceive(Context context, Intent intent) { in onReceive() method in EnabledReceiver
/frameworks/base/tests/SharedLibrary/client/src/com/google/android/test/lib_client/
DDependentAppwidgetProvider.java26 public void onReceive(Context context, Intent intent) { in onReceive() method in DependentAppwidgetProvider
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DStartEmpty.java26 public void onReceive(Context context, Intent intent) { in onReceive() method in StartEmpty
DAlarmSpamReceiver.java28 public void onReceive(Context context, Intent intent) { in onReceive() method in AlarmSpamReceiver
/frameworks/base/services/core/java/com/android/server/
DBrickReceiver.java27 public void onReceive(Context context, Intent intent) { in onReceive() method in BrickReceiver
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java107 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothTestUtils.BluetoothReceiver
165 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothTestUtils.PairReceiver
242 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothTestUtils.ConnectProfileReceiver
278 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothTestUtils.ConnectPanReceiver
283 super.onReceive(context, intent); in onReceive()
296 public void onReceive(Context context, Intent intent) { in onReceive() method in BluetoothTestUtils.StartStopScoReceiver
434 public void onReceive(Context context, Intent intent) { in enable()
477 public void onReceive(Context context, Intent intent) { in disable()
526 public void onReceive(Context context, Intent intent) { in discoverable()
576 public void onReceive(Context context, Intent intent) { in undiscoverable()
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DWakeUpCall.java32 public void onReceive(Context context, Intent intent) { in onReceive() method in WakeUpCall
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutsReceiver.java27 public void onReceive(Context context, Intent intent) { in onReceive() method in KeyboardShortcutsReceiver
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DMountReceiver.java26 public void onReceive(Context context, Intent intent) { in onReceive() method in MountReceiver

12345678910>>...16