Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java203 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice()
400 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceAttributesChanged_failingTransferring_shouldResetState()
500 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice()
567 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()
568 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()
595 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
596 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCsipDeviceManager.java87 final CachedBluetoothDevice mainDevice = getCachedDevice(groupId); in setMemberDeviceIfNeeded()
112 public CachedBluetoothDevice getCachedDevice(int groupId) { in getCachedDevice() method in CsipDeviceManager
221 return getCachedDevice(groupId) != null; in isExistedGroupId()
DHearingAidDeviceManager.java97 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded()
118 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() method in HearingAidDeviceManager
DCachedBluetoothDeviceManager.java519 mainDevice = mCsipDeviceManager.getCachedDevice(groupId); in syncConfigFromMainDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java187 ((BluetoothMediaDevice) device).getCachedDevice(); in connectDevice()
471 if (isActiveDevice(((BluetoothMediaDevice) device).getCachedDevice()) in updateCurrentConnectedDevice()
684 ((BluetoothMediaDevice) device).getCachedDevice() in unRegisterDeviceAttributeChangeCallback()
769 && !((BluetoothMediaDevice) mOnTransferBluetoothDevice).getCachedDevice() in onDeviceAttributesChanged()
DBluetoothMediaDevice.java108 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothMediaDevice
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBroadcastDialogTest.java195 when(((BluetoothMediaDevice) mBluetoothMediaDevice).getCachedDevice()) in startBroadcastWithConnectedDevices_hasBroadcastSource_failToAddSource()
218 when(((BluetoothMediaDevice) mBluetoothMediaDevice).getCachedDevice()).thenReturn( in startBroadcastWithConnectedDevices_noBroadcastSource_failToAddSource()
392 when(((BluetoothMediaDevice) mBluetoothMediaDevice).getCachedDevice()) in addSourceToAllConnectedDevices()