Searched refs:getCachedDevice (Results 1 – 6 of 6) sorted by relevance
64 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded()80 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() method in HearingAidDeviceManager
117 ((BluetoothMediaDevice) device).getCachedDevice(); in connectDevice()225 if (isConnected(((BluetoothMediaDevice) device).getCachedDevice())) { in updateCurrentConnectedDevice()
85 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothMediaDevice
177 ((BluetoothMediaDevice) device).getCachedDevice() in unregisterDeviceAttributeChangeCallback()191 ((BluetoothMediaDevice) device).getCachedDevice() in onBluetoothStateChanged()
241 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in onBluetoothStateChanged_bluetoothStateIsOff_callOnDeviceListRemoved()242 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in onBluetoothStateChanged_bluetoothStateIsOff_callOnDeviceListRemoved()
123 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice()