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/
DCsipDeviceManager.java86 final CachedBluetoothDevice CsipDevice = getCachedDevice(groupId); in setMemberDeviceIfNeeded()
111 public CachedBluetoothDevice getCachedDevice(int groupId) { in getCachedDevice() method in CsipDeviceManager
318 if (getCachedDevice(groupId) != null) { in isExistedGroupId()
DHearingAidDeviceManager.java91 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded()
107 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() method in HearingAidDeviceManager
DCachedBluetoothDeviceManager.java399 mainDevice = mCsipDeviceManager.getCachedDevice(groupId); in syncConfigFromMainDevice()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java189 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice()
506 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceAttributesChanged_failingTransferring_shouldResetState()
614 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()
689 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()
690 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()
717 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
718 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java175 ((BluetoothMediaDevice) device).getCachedDevice(); in connectDevice()
479 if (isActiveDevice(((BluetoothMediaDevice) device).getCachedDevice()) in updateCurrentConnectedDevice()
723 ((BluetoothMediaDevice) device).getCachedDevice() in unRegisterDeviceAttributeChangeCallback()
808 && !((BluetoothMediaDevice) mOnTransferBluetoothDevice).getCachedDevice() in onDeviceAttributesChanged()
DBluetoothMediaDevice.java82 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothMediaDevice