Home
last modified time | relevance | path

Searched refs:mBroadcastReceiver (Results 1 – 23 of 23) sorted by relevance

/packages/modules/ExtServices/src/android/ext/services/notification/
DSmsHelper.java38 private BroadcastReceiver mBroadcastReceiver; field in SmsHelper
45 if (mBroadcastReceiver == null) { in initialize()
47 mBroadcastReceiver = new BroadcastReceiver() { in initialize()
59 mBroadcastReceiver, in initialize()
65 if (mBroadcastReceiver != null) { in destroy()
66 mContext.unregisterReceiver(mBroadcastReceiver); in destroy()
67 mBroadcastReceiver = null; in destroy()
DAgingHelper.java62 mContext.registerReceiver(mBroadcastReceiver, filter); in AgingHelper()
101 mContext.unregisterReceiver(mBroadcastReceiver); in onDestroy()
160 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in AgingHelper
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java102 private BroadcastReceiver mBroadcastReceiver; field in BluetoothAccessoryFragment
168 mBroadcastReceiver = new UnpairReceiver(this, mDevice); in onStart()
169 getActivity().registerReceiver(mBroadcastReceiver, adapterIntentFilter); in onStart()
193 getActivity().unregisterReceiver(mBroadcastReceiver); in onStop()
406 private BroadcastReceiver mBroadcastReceiver; field in BluetoothAccessoryFragment.UnpairConfirmFragment
448 mBroadcastReceiver = new UnpairReceiver(this, mDevice); in onStart()
449 getActivity().registerReceiver(mBroadcastReceiver, adapterIntentFilter); in onStart()
457 getActivity().unregisterReceiver(mBroadcastReceiver); in onStop()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsChangeListener.java45 private BroadcastReceiver mBroadcastReceiver; field in SubscriptionsChangeListener
59 mBroadcastReceiver = new BroadcastReceiver() { in SubscriptionsChangeListener()
76 mContext.registerReceiver(mBroadcastReceiver, radioTechnologyChangedFilter); in start()
82 mContext.unregisterReceiver(mBroadcastReceiver); in stop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DSubscriptionsChangeListener.java45 private BroadcastReceiver mBroadcastReceiver; field in SubscriptionsChangeListener
59 mBroadcastReceiver = new BroadcastReceiver() { in SubscriptionsChangeListener()
75 mContext.registerReceiver(mBroadcastReceiver, radioTechnologyChangedFilter); in start()
81 mContext.unregisterReceiver(mBroadcastReceiver); in stop()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DNetworkMonitor.java82 mContext.registerReceiver(mBroadcastReceiver, FILTER); in startListening()
94 mContext.unregisterReceiver(mBroadcastReceiver); in stopListening()
97 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NetworkMonitor
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppFileProvider.java45 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BluetoothOppFileProvider
70 mContext.registerReceiver(mBroadcastReceiver, userFilter, null, null); in attachInfo()
83 mContext.unregisterReceiver(mBroadcastReceiver); in attachInfo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBroadcastManager.java104 private final BroadcastReceiver mBroadcastReceiver; field in ShadowLocalBroadcastManager.Wrapper
108 this.mBroadcastReceiver = broadcastReceiver; in Wrapper()
113 return mBroadcastReceiver; in getBroadcastReceiver()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java51 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
137 ConfirmConnectToWifiNetworkActivity.this.unregisterReceiver(mBroadcastReceiver); in onDestroy()
141 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in ConfirmConnectToWifiNetworkActivity
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java82 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceAdminListPreferenceController
128 mBroadcastReceiver, UserHandle.ALL, FILTER, in onStart()
147 mContext.unregisterReceiver(mBroadcastReceiver); in onStop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java82 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceAdminListPreferenceController
128 mBroadcastReceiver, UserHandle.ALL, FILTER, in onStart()
147 mContext.unregisterReceiver(mBroadcastReceiver); in onStop()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java143 registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, in onCreate()
232 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in HvacUiService
251 unregisterReceiver(mBroadcastReceiver); in onDestroy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionService.java61 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in HfpClientConnectionService
141 unregisterReceiver(mBroadcastReceiver); in onDestroy()
176 registerReceiver(mBroadcastReceiver, filter); in onStartCommand()
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemStateInterface.java90 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SystemStateInterface.DefaultImpl
167 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in scheduleActionForBootCompleted()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java252 private BroadcastReceiver mBroadcastReceiver = field in AccountTypeManagerImpl
295 mContext.registerReceiver(mBroadcastReceiver, filter); in AccountTypeManagerImpl()
299 mContext.registerReceiver(mBroadcastReceiver, sdFilter); in AccountTypeManagerImpl()
304 mContext.registerReceiver(mBroadcastReceiver, filter); in AccountTypeManagerImpl()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java365 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {
393 mContext.registerReceiver(mBroadcastReceiver, filter);
397 mContext.registerReceiver(mBroadcastReceiver, sdFilter);
402 mContext.registerReceiver(mBroadcastReceiver, filter);
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateHelper.java54 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SystemStateHelper
94 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in SystemStateHelper()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java147 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in FixedActivityService
317 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, in startMonitoringEvents()
355 mContext.unregisterReceiver(mBroadcastReceiver); in stopMonitoringEvents()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DOpportunisticNetworkService.java90 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in OpportunisticNetworkService
379 mContext.registerReceiver(mBroadcastReceiver, in initialize()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java104 registerReceiver(mBroadcastReceiver, filter); in start()
132 unregisterReceiver(mBroadcastReceiver); in stop()
152 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in HeadsetClientService
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java161 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CarProjectionService
754 mBroadcastReceiver, new IntentFilter(WifiManager.WIFI_AP_STATE_CHANGED_ACTION)); in init()
781 mContext.unregisterReceiver(mBroadcastReceiver); in release()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java175 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EmergencyDialer
352 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
372 unregisterReceiver(mBroadcastReceiver); in onDestroy()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java370 private final BroadcastReceiver mBroadcastReceiver = field in MainActivity
831 registerReceiver(mBroadcastReceiver, SYSTEM_INTENT_FILTER); in onStart()
1103 unregisterReceiver(mBroadcastReceiver); in onStop()