Home
last modified time | relevance | path

Searched refs:mBluetoothDeviceManager (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java61 BluetoothDeviceManager mBluetoothDeviceManager; field in BluetoothDeviceManagerTest
85 mBluetoothDeviceManager = new BluetoothDeviceManager(mContext, mAdapterProxy); in setUp()
86 mBluetoothDeviceManager.setBluetoothRouteManager(mRouteManager); in setUp()
94 receiverUnderTest = new BluetoothStateReceiver(mBluetoothDeviceManager, mRouteManager); in setUp()
96 mBluetoothDeviceManager.setHeadsetServiceForTesting(mHeadsetProxy); in setUp()
97 mBluetoothDeviceManager.setHearingAidServiceForTesting(mBluetoothHearingAid); in setUp()
111 assertEquals(1, mBluetoothDeviceManager.getNumConnectedDevices()); in testSingleDeviceConnectAndDisconnect()
114 assertEquals(0, mBluetoothDeviceManager.getNumConnectedDevices()); in testSingleDeviceConnectAndDisconnect()
120 mBluetoothDeviceManager.setHeadsetServiceForTesting(null); in testAddDeviceFailsWhenServicesAreNull()
121 mBluetoothDeviceManager.setHearingAidServiceForTesting(null); in testAddDeviceFailsWhenServicesAreNull()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java52 private final BluetoothDeviceManager mBluetoothDeviceManager; field in BluetoothStateReceiver
126 mBluetoothDeviceManager.onDeviceConnected(device, isHearingAid); in handleConnectionStateChanged()
129 mBluetoothDeviceManager.onDeviceDisconnected(device, isHearingAid); in handleConnectionStateChanged()
160 return mBluetoothDeviceManager; in getBluetoothDeviceManager()
165 mBluetoothDeviceManager = deviceManager; in BluetoothStateReceiver()