Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/src/com/android/bips/util/
DWifiMonitor.java44 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in WifiMonitor
67 mContext.registerReceiver(mBroadcastReceiver, filter); in WifiMonitor()
91 if (mBroadcastReceiver != null) { in close()
92 mContext.unregisterReceiver(mBroadcastReceiver); in close()
93 mBroadcastReceiver = null; in close()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java94 private BroadcastReceiver mBroadcastReceiver; field in BluetoothAccessoryFragment
160 mBroadcastReceiver = new UnpairReceiver(this, mDevice); in onStart()
161 getActivity().registerReceiver(mBroadcastReceiver, adapterIntentFilter); in onStart()
185 getActivity().unregisterReceiver(mBroadcastReceiver); in onStop()
385 private BroadcastReceiver mBroadcastReceiver; field in BluetoothAccessoryFragment.UnpairConfirmFragment
425 mBroadcastReceiver = new UnpairReceiver(this, mDevice); in onStart()
426 getActivity().registerReceiver(mBroadcastReceiver, adapterIntentFilter); in onStart()
432 getActivity().unregisterReceiver(mBroadcastReceiver); in onStop()
/packages/services/Car/tests/CarDiagnosticVerifier/src/com/google/android/car/diagnosticverifier/
DMainActivity.java80 private BroadcastReceiver mBroadcastReceiver; field in MainActivity
157 mBroadcastReceiver = new VerifierMsgReceiver(); in onCreate()
160 this.registerReceiver(mBroadcastReceiver, filter); in onCreate()
184 this.unregisterReceiver(mBroadcastReceiver); in onDestroy()
/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.java44 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BluetoothOppFileProvider
70 mBroadcastReceiver, UserHandle.CURRENT, userFilter, null, null); in attachInfo()
81 mContext.unregisterReceiver(mBroadcastReceiver); in attachInfo()
/packages/apps/Stk/src/com/android/stk/
DStkDialogActivity.java105 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
230 if (mBroadcastReceiver != null) { in onDestroy()
231 unregisterReceiver(mBroadcastReceiver); in onDestroy()
341 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in StkDialogActivity
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java49 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
126 ConfirmConnectToWifiNetworkActivity.this.unregisterReceiver(mBroadcastReceiver); in onDestroy()
130 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in ConfirmConnectToWifiNetworkActivity
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothSettingsFragment.java60 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BluetoothSettingsFragment
143 getActivity().registerReceiver(mBroadcastReceiver, filter); in onStart()
170 getActivity().unregisterReceiver(mBroadcastReceiver); in onStop()
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DListener.java119 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in Listener
252 LocalBroadcastManager.getInstance(this).registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
261 LocalBroadcastManager.getInstance(this).unregisterReceiver(mBroadcastReceiver); in onDestroy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionService.java67 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in HfpClientConnectionService
146 unregisterReceiver(mBroadcastReceiver); in onDestroy()
181 registerReceiver(mBroadcastReceiver, filter); in onStartCommand()
/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.java364 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {
392 mContext.registerReceiver(mBroadcastReceiver, filter);
396 mContext.registerReceiver(mBroadcastReceiver, sdFilter);
401 mContext.registerReceiver(mBroadcastReceiver, filter);
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateProvider.java40 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SystemStateProvider
67 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in SystemStateProvider()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminSettings.java104 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceAdminSettings
149 mBroadcastReceiver, UserHandle.ALL, filter, null, null); in onResume()
167 activity.unregisterReceiver(mBroadcastReceiver); in onPause()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java126 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EmergencyDialer
263 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
277 unregisterReceiver(mBroadcastReceiver); in onDestroy()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java97 registerReceiver(mBroadcastReceiver, filter); in start()
120 unregisterReceiver(mBroadcastReceiver); in stop()
155 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in HeadsetClientService
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java150 mContext.registerReceiver(mBroadcastReceiver, filter); in AvrcpControllerStateMachine()
871 mContext.unregisterReceiver(mBroadcastReceiver); in doQuit()
1092 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in AvrcpControllerStateMachine
/packages/apps/TV/src/com/android/tv/
DMainActivity.java305 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in MainActivity
716 registerReceiver(mBroadcastReceiver, SYSTEM_INTENT_FILTER); in onStart()
983 unregisterReceiver(mBroadcastReceiver); in onStop()