Searched refs:mBluetoothDeviceManager (Results 1 – 2 of 2) sorted by relevance
61 BluetoothDeviceManager mBluetoothDeviceManager; field in BluetoothDeviceManagerTest85 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 …]
52 private final BluetoothDeviceManager mBluetoothDeviceManager; field in BluetoothStateReceiver126 mBluetoothDeviceManager.onDeviceConnected(device, isHearingAid); in handleConnectionStateChanged()129 mBluetoothDeviceManager.onDeviceDisconnected(device, isHearingAid); in handleConnectionStateChanged()160 return mBluetoothDeviceManager; in getBluetoothDeviceManager()165 mBluetoothDeviceManager = deviceManager; in BluetoothStateReceiver()