Home
last modified time | relevance | path

Searched refs:mBluetoothStateReceiver (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java246 private BroadcastReceiver mBluetoothStateReceiver; field in BluetoothDevicePairer
326 if (mBluetoothStateReceiver == null) { in start()
327 mBluetoothStateReceiver = new BroadcastReceiver() { in start()
339 mContext.registerReceiver(mBluetoothStateReceiver, in start()
346 if (mBluetoothStateReceiver != null) { in start()
347 mContext.unregisterReceiver(mBluetoothStateReceiver); in start()
348 mBluetoothStateReceiver = null; in start()
389 if (mBluetoothStateReceiver != null) { in dispose()
390 mContext.unregisterReceiver(mBluetoothStateReceiver); in dispose()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DBluetoothHfpStateLiveData.java47 private BroadcastReceiver mBluetoothStateReceiver = new BroadcastReceiver() { field in BluetoothHfpStateLiveData
64 mContext.registerReceiver(mBluetoothStateReceiver, mIntentFilter); in onActive()
71 mContext.unregisterReceiver(mBluetoothStateReceiver); in onInactive()
DBluetoothStateLiveData.java54 private BroadcastReceiver mBluetoothStateReceiver = new BroadcastReceiver() { field in BluetoothStateLiveData
71 mContext.registerReceiver(mBluetoothStateReceiver, mIntentFilter); in onActive()
79 mContext.unregisterReceiver(mBluetoothStateReceiver); in onInactive()
DHfpDeviceListLiveData.java41 private BroadcastReceiver mBluetoothStateReceiver = new BroadcastReceiver() { field in HfpDeviceListLiveData
77 mContext.registerReceiver(mBluetoothStateReceiver, mIntentFilter); in onActive()
84 mContext.unregisterReceiver(mBluetoothStateReceiver); in onInactive()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamSendService.java48 private final BroadcastReceiver mBluetoothStateReceiver = new BroadcastReceiver() { field in BeamSendService
68 registerReceiver(mBluetoothStateReceiver, filter); in onCreate()
78 unregisterReceiver(mBluetoothStateReceiver); in onDestroy()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java54 private final BluetoothStateReceiver mBluetoothStateReceiver; field in CallAudioManager
96 mBluetoothStateReceiver = bluetoothStateReceiver; in CallAudioManager()
187 mBluetoothStateReceiver.setIsInCall(isInCall); in sendCallStatusToBluetoothStateReceiver()
540 if (mBluetoothStateReceiver.getBluetoothDeviceManager() != null) { in dump()
541 mBluetoothStateReceiver.getBluetoothDeviceManager().dump(pw); in dump()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java76 @Mock private BluetoothStateReceiver mBluetoothStateReceiver; field in CallAudioManagerTest
101 mBluetoothStateReceiver, in setUp()
DCallsManagerTest.java195 @Mock private BluetoothStateReceiver mBluetoothStateReceiver; field in CallsManagerTest
252 mBluetoothStateReceiver, in setUp()