Searched refs:getNumConnectedDevices (Results 1 – 5 of 5) sorted by relevance
111 assertEquals(1, mBluetoothDeviceManager.getNumConnectedDevices()); in testSingleDeviceConnectAndDisconnect()114 assertEquals(0, mBluetoothDeviceManager.getNumConnectedDevices()); in testSingleDeviceConnectAndDisconnect()128 assertEquals(0, mBluetoothDeviceManager.getNumConnectedDevices()); in testAddDeviceFailsWhenServicesAreNull()142 assertEquals(2, mBluetoothDeviceManager.getNumConnectedDevices()); in testMultiDeviceConnectAndDisconnect()145 assertEquals(1, mBluetoothDeviceManager.getNumConnectedDevices()); in testMultiDeviceConnectAndDisconnect()157 assertEquals(3, mBluetoothDeviceManager.getNumConnectedDevices()); in testHearingAidDedup()177 assertEquals(1, mBluetoothDeviceManager.getNumConnectedDevices()); in testHeadsetServiceDisconnect()196 assertEquals(2, mBluetoothDeviceManager.getNumConnectedDevices()); in testHearingAidServiceDisconnect()
181 when(mDeviceManager.getNumConnectedDevices()).thenReturn( in setupConnectedDevices()
345 when(mDeviceManager.getNumConnectedDevices()).thenReturn(devices.length); in setupConnectedDevices()
139 public int getNumConnectedDevices() { in getNumConnectedDevices() method in BluetoothDeviceManager
497 return mDeviceManager.getNumConnectedDevices() > 0; in isBluetoothAvailable()