Home
last modified time | relevance | path

Searched refs:getCachedDevice (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManager.java64 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded()
80 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() method in HearingAidDeviceManager
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java117 ((BluetoothMediaDevice) device).getCachedDevice(); in connectDevice()
225 if (isConnected(((BluetoothMediaDevice) device).getCachedDevice())) { in updateCurrentConnectedDevice()
DBluetoothMediaDevice.java85 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothMediaDevice
DBluetoothMediaManager.java177 ((BluetoothMediaDevice) device).getCachedDevice() in unregisterDeviceAttributeChangeCallback()
191 ((BluetoothMediaDevice) device).getCachedDevice() in onBluetoothStateChanged()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java241 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in onBluetoothStateChanged_bluetoothStateIsOff_callOnDeviceListRemoved()
242 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in onBluetoothStateChanged_bluetoothStateIsOff_callOnDeviceListRemoved()
DLocalMediaManagerTest.java123 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice()