Searched refs:getCachedDevice (Results 1 – 7 of 7) sorted by relevance
203 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()
87 final CachedBluetoothDevice mainDevice = getCachedDevice(groupId); in setMemberDeviceIfNeeded()112 public CachedBluetoothDevice getCachedDevice(int groupId) { in getCachedDevice() method in CsipDeviceManager221 return getCachedDevice(groupId) != null; in isExistedGroupId()
97 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded()118 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() method in HearingAidDeviceManager
519 mainDevice = mCsipDeviceManager.getCachedDevice(groupId); in syncConfigFromMainDevice()
187 ((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()
108 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothMediaDevice
195 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()