Home
last modified time | relevance | path

Searched refs:findDevice (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java180 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices()
299 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
317 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
339 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
402 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
411 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
420 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
435 CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive()
469 final CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive()
DCachedBluetoothDeviceManager.java61 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated()
77 public synchronized CachedBluetoothDevice findDevice(BluetoothDevice device) { in findDevice() method in CachedBluetoothDeviceManager
102 newDevice = findDevice(device); in addDevice()
166 CachedBluetoothDevice cachedDevice = findDevice(device); in getName()
DHidDeviceProfile.java67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DMapClientProfile.java68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DHidProfile.java61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DSapProfile.java68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DPbapClientProfile.java66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DHfpClientProfile.java70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DMapProfile.java69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DA2dpSinkProfile.java66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DHeadsetProfile.java71 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DHearingAidProfile.java64 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DA2dpProfile.java72 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DLocalBluetoothProfileManager.java272 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java94 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in setUp()
219 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(null); in dispatchAclConnectionStateChanged_findDeviceReturnNull_shouldNotDispatchCallback()
361 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonAuthTimeout_showCorrectedErrorCode()
377 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonRemoteDeviceDown_showCorrectedErrorCode()
392 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonAuthRejected_showCorrectedErrorCode()
407 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonAuthFailed_showCorrectedErrorCode()
DCachedBluetoothDeviceManagerTest.java130 assertThat(mCachedDeviceManager.findDevice(mDevice1)).isEqualTo(cachedDevice1); in addDevice_validCachedDevices_devicesAdded()
131 assertThat(mCachedDeviceManager.findDevice(mDevice2)).isEqualTo(cachedDevice2); in addDevice_validCachedDevices_devicesAdded()
219 assertThat(mCachedDeviceManager.findDevice(mDevice1)).isEqualTo(cachedDevice1); in findDevice_sameHiSyncId_foundBothDevice()
220 assertThat(mCachedDeviceManager.findDevice(mDevice2)).isEqualTo(cachedDevice2); in findDevice_sameHiSyncId_foundBothDevice()
DLocalBluetoothProfileManagerTest.java83 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); in setUp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java577 when(cachedManager.findDevice(bluetoothDevice)).thenReturn(cachedDevice); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice()
671 when(cachedManager.findDevice(bluetoothDevice)).thenReturn(cachedDevice); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
672 when(cachedManager.findDevice(bluetoothDevice2)).thenReturn(cachedDevice); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
673 when(cachedManager.findDevice(bluetoothDevice3)).thenReturn(cachedDevice); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
674 when(cachedManager.findDevice(bluetoothDevice4)).thenReturn(cachedDevice); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
675 when(cachedManager.findDevice(bluetoothDevice5)).thenReturn(cachedDevice); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
676 when(cachedManager.findDevice(bluetoothDevice6)).thenReturn(cachedDevice); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
DInfoMediaManagerTest.java695 when(cachedBluetoothDeviceManager.findDevice(any(BluetoothDevice.class))) in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
717 when(cachedBluetoothDeviceManager.findDevice(any(BluetoothDevice.class))) in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java493 mBluetoothManager.getCachedDeviceManager().findDevice(device); in addMediaDevice()
DLocalMediaManager.java525 cachedDeviceManager.findDevice(device); in buildDisconnectedBluetoothDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java324 CachedBluetoothDevice cachedDevice = mCachedDeviceManager.findDevice(d); in getCachedBluetoothDevice()