/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 126 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() 132 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() 148 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_Absent() 159 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_CardIOError() 173 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimInvalid_ServiceState_InService() 190 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimValid_ServiceState_PowerOff() 211 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_OutOfService() 226 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_NotReady() 241 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_Ready() 254 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_PowerOff() [all …]
|
/frameworks/base/core/java/android/net/util/ |
D | MultinetworkPolicyTracker.java | 68 private final BroadcastReceiver mBroadcastReceiver; field in MultinetworkPolicyTracker 91 mBroadcastReceiver = new BroadcastReceiver() { in MultinetworkPolicyTracker() 110 mBroadcastReceiver, UserHandle.ALL, intentFilter, null, null); in start() 118 mContext.unregisterReceiver(mBroadcastReceiver); in shutdown()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CarrierNetworkConfigTest.java | 72 BroadcastReceiver mBroadcastReceiver; field in CarrierNetworkConfigTest 120 mBroadcastReceiver = receiver.getValue(); in setUp() 186 mBroadcastReceiver.onReceive(mContext, in verifyIsCarrierEncryptionInfoAvailableReturnsFalseWhenEncryptionInfoNotAvailable() 225 mBroadcastReceiver.onReceive(mContext, in receivedCarrierConfigChangedIntent() 247 mBroadcastReceiver.onReceive(mContext, new Intent("dummyIntent")); in receivedNonCarrierConfigChangedIntent() 258 mBroadcastReceiver.onReceive(mContext, in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled()
|
D | OpenNetworkNotifierTest.java | 91 private BroadcastReceiver mBroadcastReceiver; field in OpenNetworkNotifierTest 124 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in setUp() 392 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_USER_DISMISSED_NOTIFICATION)); in userDismissedNotification_shouldBlacklistNetwork() 418 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in userConnectedNotification_shouldBlacklistNetwork() 491 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_notificationNotShowing_doesNothing() 511 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification() 540 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_PICK_WIFI_NETWORK)); in actionPickWifiNetwork_currentRecommendationExists_opensWifiSettings() 599 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification() 649 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionFailure_wasInConnectingFlow_postsFailedToConnectNotification() 686 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in connectionFailedCallback_postsFailedToConnectNotification() [all …]
|
D | CarrierNetworkNotifierTest.java | 91 private BroadcastReceiver mBroadcastReceiver; field in CarrierNetworkNotifierTest 125 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in setUp() 395 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_USER_DISMISSED_NOTIFICATION)); in userDismissedNotification_shouldBlacklistNetwork() 421 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in userConnectedNotification_shouldBlacklistNetwork() 495 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_notificationNotShowing_doesNothing() 515 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification() 544 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_PICK_WIFI_NETWORK)); in actionPickWifiNetwork_currentRecommendationExists_opensWifiSettings() 603 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification() 654 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionFailure_wasInConnectingFlow_postsFailedToConnectNotification() 691 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in connectionFailedCallback_postsFailedToConnectNotification() [all …]
|
D | WifiControllerTest.java | 103 private BroadcastReceiver mBroadcastReceiver; field in WifiControllerTest 131 mBroadcastReceiver = bcastRxCaptor.getValue(); in setUp() 246 mBroadcastReceiver = bcastRxCaptor.getValue(); in testEnterScanModeWhenLocationModeEnabled() 253 mBroadcastReceiver.onReceive(mContext, intent); in testEnterScanModeWhenLocationModeEnabled() 279 mBroadcastReceiver = bcastRxCaptor.getValue(); in testExitScanModeWhenLocationModeDisabled() 286 mBroadcastReceiver.onReceive(mContext, intent); in testExitScanModeWhenLocationModeDisabled()
|
D | WifiApConfigStoreTest.java | 91 private BroadcastReceiver mBroadcastReceiver; field in WifiApConfigStoreTest 148 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in createWifiApConfigStore() 766 mBroadcastReceiver.onReceive(mContext, intent); in testNotificationClearedWhenContentIsTapped()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupOnboarding.java | 68 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in WakeupOnboarding 132 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, in maybeShowNotification() 174 mContext.unregisterReceiver(mBroadcastReceiver); in dismissNotification()
|
D | WifiApConfigStore.java | 139 mBroadcastReceiver, filter, null /* broadcastPermission */, mHandler); in WifiApConfigStore() 142 private final BroadcastReceiver mBroadcastReceiver = field in WifiApConfigStore
|
D | AvailableNetworkNotifier.java | 197 mBroadcastReceiver, filter, null /* broadcastPermission */, mHandler); in AvailableNetworkNotifier() 200 private final BroadcastReceiver mBroadcastReceiver = field in AvailableNetworkNotifier
|
/frameworks/base/services/core/java/com/android/server/ |
D | CachedDeviceStateService.java | 40 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CachedDeviceStateService 77 getContext().registerReceiver(mBroadcastReceiver, filter); in onBootPhase()
|
D | EntropyMixer.java | 89 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EntropyMixer 122 mBroadcastReceiver, in EntropyMixer()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 119 assertNotNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff() 148 assertNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff() 206 assertNotNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff() 239 assertNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff() 282 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testBrightnessFullPopulatedEvent() 529 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWriteThenRead() 574 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWritePrunesOldEvents() 799 BroadcastReceiver mBroadcastReceiver; field in BrightnessTrackerTest.TestInjector 836 mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), intent); in sendScreenChange() 874 mBroadcastReceiver = shutdownReceiver; in registerReceiver() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 122 context.registerReceiver(mBroadcastReceiver, intentFilter); in NotificationChannelController() 170 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NotificationChannelController
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 85 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SmsBroadcastUndelivered 142 context.registerReceiver(mBroadcastReceiver, userFilter); in SmsBroadcastUndelivered()
|
D | NetworkRegistrationManager.java | 73 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NetworkRegistrationManager 105 phone.getContext().registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in NetworkRegistrationManager()
|
D | LocaleTracker.java | 121 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in LocaleTracker 189 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter); in LocaleTracker()
|
D | CarrierServiceStateTracker.java | 70 phone.getContext().registerReceiver(mBroadcastReceiver, new IntentFilter( in CarrierServiceStateTracker() 278 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CarrierServiceStateTracker
|
D | DeviceStateMonitor.java | 202 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceStateMonitor 267 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter, null, mPhone); in DeviceStateMonitor()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | DeviceIdleJobsController.java | 79 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceIdleJobsController 139 mBroadcastReceiver, UserHandle.ALL, filter, null, null); in DeviceIdleJobsController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeTriggers.java | 80 private final TriggerReceiver mBroadcastReceiver = new TriggerReceiver(); field in DozeTriggers 273 mBroadcastReceiver.register(mContext); in transitionTo() 303 mBroadcastReceiver.unregister(mContext); in transitionTo()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 89 final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in VoiceInteractionManagerServiceImpl 162 mContext.registerReceiver(mBroadcastReceiver, filter, null, handler); in VoiceInteractionManagerServiceImpl() 452 mContext.unregisterReceiver(mBroadcastReceiver); in shutdownLocked()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 109 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in TrustAgentWrapper 428 mContext.registerReceiver(mBroadcastReceiver, alarmFilter, PERMISSION, null); in TrustAgentWrapper() 590 mContext.unregisterReceiver(mBroadcastReceiver); in destroy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 128 context.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, in SecurityControllerImpl() 403 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SecurityControllerImpl
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestService.java | 90 registerReceiver(mBroadcastReceiver, filter); in onCreate() 104 unregisterReceiver(mBroadcastReceiver); in onDestroy() 107 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SoundTriggerTestService
|