Home
last modified time | relevance | path

Searched refs:mIntentReceiver (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsEventDispatcherTest.java148 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/
DAnalogClock.kt43 private val mIntentReceiver: BroadcastReceiver = object : BroadcastReceiver() { constant
106 context.registerReceiver(mIntentReceiver, filter) in onAttachedToWindow()
122 context.unregisterReceiver(mIntentReceiver) in onDetachedFromWindow()
DScreensaverActivity.kt43 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/
DTimeZoneFragment.java49 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in TimeZoneFragment
84 getActivity().registerReceiver(mIntentReceiver, filter, null, null); in onResume()
91 getActivity().unregisterReceiver(mIntentReceiver); in onPause()
DDateTimeFragment.java76 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/
DDateTimeState.java72 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/
DSapServerTest.java657 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/
DSapServer.java127 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/
DUserIdManager.java94 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in UserIdManager.RuntimeUserIdManager
119 mContext.registerReceiver(mIntentReceiver, filter); in RuntimeUserIdManager()
DUserManagerState.java151 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/
DWifiPrimarySwitchPreferenceControllerTest.java62 private Intent mIntentReceiver; field in WifiPrimarySwitchPreferenceControllerTest
83 doReturn(mIntentReceiver).when(mContext) in setUp()
/packages/apps/Car/Notification/src/com/android/car/notification/
DBeeper.java59 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in Beeper
87 context.registerReceiver(mIntentReceiver, filter); in Beeper()
DPreprocessingManager.java87 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/
DPreprocessingManagerTest.java263 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/
DDynamicRoutingController.java71 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in DynamicRoutingController
170 context.registerReceiver(mIntentReceiver, filter); in initialize()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java224 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/
DQnsEventDispatcher.java147 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/
DPermissionMonitor.java160 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/
DMdnsSocketProvider.java107 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/
DCalendarProvider2.java485 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { field in CalendarProvider2
556 mContext.registerReceiver(mIntentReceiver, filter); in initialize()