/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 150 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() 156 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() 172 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_Absent() 183 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_CardIOError() 197 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimInvalid_ServiceState_InService() 214 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimValid_ServiceState_PowerOff() 235 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_OutOfService() 250 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_NotReady() 265 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_Ready() 278 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_PowerOff() [all …]
|
/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 | 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 | 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 | 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/base/core/java/android/net/util/ |
D | MultinetworkPolicyTracker.java | 71 private final BroadcastReceiver mBroadcastReceiver; field in MultinetworkPolicyTracker 90 mBroadcastReceiver = new BroadcastReceiver() { in MultinetworkPolicyTracker() 118 mBroadcastReceiver, UserHandle.ALL, intentFilter, null, mHandler); in start() 126 mContext.unregisterReceiver(mBroadcastReceiver); in shutdown()
|
/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() 209 assertNotNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff() 246 assertNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff() 289 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testBrightnessFullPopulatedEvent() 539 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWriteThenRead() 587 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWritePrunesOldEvents() 812 BroadcastReceiver mBroadcastReceiver; field in BrightnessTrackerTest.TestInjector 849 mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), intent); in sendScreenChange() 887 mBroadcastReceiver = shutdownReceiver; in registerReceiver() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 130 context.registerReceiver(mBroadcastReceiver, intentFilter); in NotificationChannelController() 178 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NotificationChannelController
|
/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 83 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EmergencyAffordanceService 197 mContext.registerReceiver(mBroadcastReceiver, filter); in handleThirdPartyBootPhase()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 104 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SmsBroadcastUndelivered 161 context.registerReceiver(mBroadcastReceiver, userFilter); in SmsBroadcastUndelivered()
|
D | NetworkRegistrationManager.java | 75 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NetworkRegistrationManager 107 contextAsUser.registerReceiver(mBroadcastReceiver, intentFilter, in NetworkRegistrationManager()
|
D | CarrierServiceStateTracker.java | 75 phone.getContext().registerReceiver(mBroadcastReceiver, new IntentFilter( in CarrierServiceStateTracker() 276 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CarrierServiceStateTracker
|
D | LocaleTracker.java | 167 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in LocaleTracker 256 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter); in LocaleTracker()
|
/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/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/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeTriggers.java | 81 private final TriggerReceiver mBroadcastReceiver = new TriggerReceiver(); field in DozeTriggers 299 mBroadcastReceiver.register(mContext); in transitionTo() 334 mBroadcastReceiver.unregister(mContext); in transitionTo()
|
/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
|