Searched refs:getCachedDevice (Results 1 – 4 of 4) sorted by relevance
64 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded()80 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() method in HearingAidDeviceManager
165 ((BluetoothMediaDevice) device).getCachedDevice(); in connectDevice()427 if (isActiveDevice(((BluetoothMediaDevice) device).getCachedDevice()) in updateCurrentConnectedDevice()622 ((BluetoothMediaDevice) device).getCachedDevice() in unRegisterDeviceAttributeChangeCallback()678 && !((BluetoothMediaDevice) mOnTransferBluetoothDevice).getCachedDevice() in onDeviceAttributesChanged()
81 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothMediaDevice
184 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice()501 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceAttributesChanged_failingTransferring_shouldResetState()610 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()747 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()748 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()775 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()776 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()