/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QnsEventDispatcherTest.java | 148 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validCarrierIdIntent); in testOnReceivedCarrierConfigChangedIntent() 157 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, invalidCarrierIdIntent); in testOnReceivedCarrierConfigChangedIntent() 179 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validCarrierIdIntent); in testOnReceivedCarrierConfigChangedIntentWithInvalidSlot() 188 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, invalidCarrierIdIntent); in testOnReceivedCarrierConfigChangedIntentWithInvalidSlot() 207 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validSimCardStateintent); in testOnSimLoadedStateEvent() 217 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validSimCardStateintent1); in testOnSimLoadedStateEvent() 236 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validSimCardStateintent); in testOnSimUnknownStateEvent() 246 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validSimCardStateintent1); in testOnSimUnknownStateEvent() 265 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validSimCardStateintent); in testOnSimStateEventWithInvalidSlot() 274 mQnsEventDispatcher.mIntentReceiver.onReceive(mMockContext, validSimCardStateintent1); in testOnSimStateEventWithInvalidSlot() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnalogClock.kt | 43 private val mIntentReceiver: BroadcastReceiver = object : BroadcastReceiver() { constant 106 context.registerReceiver(mIntentReceiver, filter) in onAttachedToWindow() 122 context.unregisterReceiver(mIntentReceiver) in onDetachedFromWindow()
|
D | ScreensaverActivity.kt | 43 private val mIntentReceiver: BroadcastReceiver = object : BroadcastReceiver() { constant in com.android.deskclock.ScreensaverActivity 126 registerReceiver(mIntentReceiver, filter) in onStart() 158 unregisterReceiver(mIntentReceiver) in onStop()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TimeZoneFragment.java | 49 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in TimeZoneFragment 84 getActivity().registerReceiver(mIntentReceiver, filter, null, null); in onResume() 91 getActivity().unregisterReceiver(mIntentReceiver); in onPause()
|
D | DateTimeFragment.java | 76 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in DateTimeFragment 144 getActivity().registerReceiver(mIntentReceiver, filter, null, null); in onResume() 153 getActivity().unregisterReceiver(mIntentReceiver); in onPause()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/system/ |
D | DateTimeState.java | 72 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in DateTimeState 113 mContext.registerReceiver(mIntentReceiver, filter, null, null); in onResume() 121 mContext.unregisterReceiver(mIntentReceiver); in onPause()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/ |
D | SapServerTest.java | 657 mSapServer.mIntentReceiver = mSapServer.new SapServerBroadcastReceiver(); in onReceive_phoneStateChangedAction_whenStateIsCallOngoing_callsOnConnectRequest() 664 mSapServer.mIntentReceiver.onReceive(mTargetContext, intent); in onReceive_phoneStateChangedAction_whenStateIsCallOngoing_callsOnConnectRequest() 672 mSapServer.mIntentReceiver = mSapServer.new SapServerBroadcastReceiver(); in onReceive_SapDisconnectedAction_forDiscRfcommType_callsShutDown() 677 mSapServer.mIntentReceiver.onReceive(mTargetContext, intent); in onReceive_SapDisconnectedAction_forDiscRfcommType_callsShutDown() 684 mSapServer.mIntentReceiver = mSapServer.new SapServerBroadcastReceiver(); in onReceive_SapDisconnectedAction_forNonDiscRfcommType_callsSendDisconnectInd() 691 mSapServer.mIntentReceiver.onReceive(mTargetContext, intent); in onReceive_SapDisconnectedAction_forNonDiscRfcommType_callsSendDisconnectInd() 701 mSapServer.mIntentReceiver.onReceive(mTargetContext, intent); in onReceive_unknownAction_doesNothing()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/ |
D | SapServer.java | 127 mIntentReceiver = new SapServerBroadcastReceiver(); in SapServer() 128 mContext.registerReceiver(mIntentReceiver, filter); in SapServer() 132 @VisibleForTesting BroadcastReceiver mIntentReceiver; field in SapServer 507 if (mIntentReceiver != null) { in run() 509 mContext.unregisterReceiver(mIntentReceiver); in run() 513 mIntentReceiver = null; in run()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | UserIdManager.java | 94 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in UserIdManager.RuntimeUserIdManager 119 mContext.registerReceiver(mIntentReceiver, filter); in RuntimeUserIdManager()
|
D | UserManagerState.java | 151 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in UserManagerState.RuntimeUserManagerState 192 mContext.registerReceiver(mIntentReceiver, filter); in RuntimeUserManagerState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiPrimarySwitchPreferenceControllerTest.java | 62 private Intent mIntentReceiver; field in WifiPrimarySwitchPreferenceControllerTest 83 doReturn(mIntentReceiver).when(mContext) in setUp()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | Beeper.java | 59 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in Beeper 87 context.registerReceiver(mIntentReceiver, filter); in Beeper()
|
D | PreprocessingManager.java | 87 final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in PreprocessingManager 113 context.registerReceiver(mIntentReceiver, filter); in PreprocessingManager()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | PreprocessingManagerTest.java | 263 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in setup() 545 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_preCall_triggerChanges() 554 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_midCall_triggerChanges() 565 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_postCall_triggerChanges() 569 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in addCallStateListener_postCall_triggerChanges() 590 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in removeCallStateListener_midCall_triggerChanges() 598 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in removeCallStateListener_midCall_triggerChanges() 612 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in multipleCallStateListeners_triggeredAppropriately() 622 mPreprocessingManager.mIntentReceiver.onReceive(mContext, intent); in multipleCallStateListeners_triggeredAppropriately()
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | DynamicRoutingController.java | 71 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in DynamicRoutingController 170 context.registerReceiver(mIntentReceiver, filter); in initialize()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSub.java | 224 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in WifiCallingSettingsForSub 445 context.registerReceiver(mIntentReceiver, mIntentFilter, in onResume() 464 context.unregisterReceiver(mIntentReceiver); in onPause()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsEventDispatcher.java | 147 final BroadcastReceiver mIntentReceiver = field in QnsEventDispatcher 279 mContext.registerReceiver(mIntentReceiver, intentFilter); in QnsEventDispatcher() 476 mContext.unregisterReceiver(mIntentReceiver); in close()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 160 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in PermissionMonitor 427 mIntentReceiver, intentFilter, null /* broadcastPermission */, handler); in startMonitoring() 436 mIntentReceiver, externalIntentFilter, null /* broadcastPermission */, handler); in startMonitoring() 443 mIntentReceiver, userIntentFilter, null /* broadcastPermission */, handler); in startMonitoring()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsSocketProvider.java | 107 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in MdnsSocketProvider 219 mIntentReceiver, intentFilter, null /* broadcastPermission */, mHandler); in MdnsSocketProvider()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 485 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in CalendarProvider2 556 mContext.registerReceiver(mIntentReceiver, filter); in initialize()
|