/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 | 79 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EntropyMixer 108 mBroadcastReceiver, in EntropyMixer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 273 eq(mKeyguardUpdateMonitor.mBroadcastReceiver), in testReceiversRegistered() 300 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() 306 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast() 322 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_Absent() 333 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_CardIOError() 347 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimInvalid_ServiceState_InService() 364 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimValid_ServiceState_PowerOff() 385 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_OutOfService() 400 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_NotReady() 415 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_Ready() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 78 private BroadcastReceiver mBroadcastReceiver; field in SecurityControllerTest 116 mBroadcastReceiver = brCaptor.getValue(); in setUp() 216 mBroadcastReceiver.onReceive(mContext, intent); in refreshCACerts()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 126 assertNotNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff() 155 assertNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff() 247 assertNotNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff() 280 assertNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff() 329 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testBrightnessFullPopulatedEvent() 597 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWriteThenRead() 649 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWritePrunesOldEvents() 927 BroadcastReceiver mBroadcastReceiver; field in BrightnessTrackerTest.TestInjector 964 mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), intent); in sendScreenChange() 1002 mBroadcastReceiver = shutdownReceiver; in registerReceiver() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayControllerTest.java | 107 private ArgumentCaptor<BroadcastReceiver> mBroadcastReceiver; field in ThemeOverlayControllerTest 138 verify(mBroadcastDispatcher).registerReceiver(mBroadcastReceiver.capture(), any(), in setup() 185 mBroadcastReceiver.getValue().onReceive(null, intent); in onWallpaperColorsChanged_setsTheme_whenForeground() 212 mBroadcastReceiver.getValue().onReceive(null, new Intent(Intent.ACTION_WALLPAPER_CHANGED)); in onWallpaperColorsChanged_setsTheme_skipWhenBackground() 449 mBroadcastReceiver.getValue().onReceive(null, in onProfileAdded_setsTheme() 458 mBroadcastReceiver.getValue().onReceive(null, in onUserAdded_appliesTheme_ifNotManagedProfile() 468 mBroadcastReceiver.getValue().onReceive(null, in onProfileAdded_ignoresUntilSetupComplete() 490 mBroadcastReceiver.getValue().onReceive(null, intent); in onWallpaperColorsChanged_firstEventBeforeUserSetup_shouldBeAccepted()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ComponentController.java | 52 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in ComponentController 109 mBroadcastReceiver, UserHandle.ALL, filter, null, null); in ComponentController() 114 mBroadcastReceiver, UserHandle.ALL, userFilter, null, null); in ComponentController()
|
D | DeviceIdleJobsController.java | 80 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceIdleJobsController 145 mBroadcastReceiver, UserHandle.ALL, filter, null, null); in DeviceIdleJobsController()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/ |
D | PipActivity.java | 97 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in PipActivity 193 registerReceiver(mBroadcastReceiver, filter); in onCreate() 200 unregisterReceiver(mBroadcastReceiver); in onDestroy()
|
/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/tests/servicestests/src/com/android/server/apphibernation/ |
D | AppHibernationServiceTest.java | 89 private BroadcastReceiver mBroadcastReceiver; field in AppHibernationServiceTest 124 mBroadcastReceiver = mReceiverCaptor.getValue(); in setUp() 163 mBroadcastReceiver.onReceive(mContext, intent); in testSetHibernatingForUser_newPackageAdded_packageIsHibernating() 194 mBroadcastReceiver.onReceive(mContext, intent); in testIsHibernatingForUser_packageReplaced_stillReturnsHibernating()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | BaseWifiTracker.java | 98 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BaseWifiTracker 331 mContext.registerReceiver(mBroadcastReceiver, filter, in onStart() 370 mContext.unregisterReceiver(mBroadcastReceiver); in onStop()
|
/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/dataconnection/ |
D | DataThrottler.java | 75 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DataThrottler 105 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter, null, mPhone); in DataThrottler()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 98 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SmsBroadcastUndelivered 151 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 | LocaleTracker.java | 168 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in LocaleTracker 257 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter); in LocaleTracker()
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | QuotaTracker.java | 114 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in QuotaTracker 170 context.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, in QuotaTracker() 173 context.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, userFilter, null, in QuotaTracker()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotHelper.java | 167 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in ScreenshotHelper 181 mContext.registerReceiver(mBroadcastReceiver, filter); in ScreenshotHelper()
|
/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/doze/ |
D | DozeTriggers.java | 88 private final TriggerReceiver mBroadcastReceiver = new TriggerReceiver(); field in DozeTriggers 423 mBroadcastReceiver.register(mBroadcastDispatcher); in transitionTo() 456 mBroadcastReceiver.unregister(mBroadcastDispatcher); in transitionTo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 128 private BroadcastReceiver mBroadcastReceiver; field in KeyguardIndicationController 231 if (mBroadcastReceiver == null) { in setIndicationArea() 233 mBroadcastReceiver = new BroadcastReceiver() { in setIndicationArea() 242 mBroadcastDispatcher.registerReceiver(mBroadcastReceiver, intentFilter); in setIndicationArea()
|
/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
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 106 final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in VoiceInteractionManagerServiceImpl 193 mContext.registerReceiver(mBroadcastReceiver, filter, null, handler); in VoiceInteractionManagerServiceImpl() 689 mContext.unregisterReceiver(mBroadcastReceiver); in shutdownLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 58 private final BroadcastReceiver mBroadcastReceiver = new BluetoothBroadcastReceiver(); field in BluetoothEventManager 149 registerIntentReceiver(mBroadcastReceiver, mAdapterIntentFilter); in registerAdapterIntentReceiver()
|