Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java179 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices()
292 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
316 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
338 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
398 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
407 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
416 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
431 CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive()
465 final CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive()
DCachedBluetoothDeviceManager.java62 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated()
78 public synchronized CachedBluetoothDevice findDevice(BluetoothDevice device) { in findDevice() method in CachedBluetoothDeviceManager
164 CachedBluetoothDevice cachedDevice = findDevice(device); in getName()
DHidDeviceProfile.java67 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()
DHidProfile.java61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DA2dpSinkProfile.java66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DMapProfile.java69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DMapClientProfile.java70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
DHfpClientProfile.java70 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.java271 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java69 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in setUp()
187 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(null); in dispatchAclConnectionStateChanged_findDeviceReturnNull_shouldNotDispatchCallback()
DCachedBluetoothDeviceManagerTest.java133 assertThat(mCachedDeviceManager.findDevice(mDevice1)).isEqualTo(cachedDevice1); in addDevice_validCachedDevices_devicesAdded()
134 assertThat(mCachedDeviceManager.findDevice(mDevice2)).isEqualTo(cachedDevice2); in addDevice_validCachedDevices_devicesAdded()
203 assertThat(mCachedDeviceManager.findDevice(mDevice1)).isEqualTo(cachedDevice1); in findDevice_sameHiSyncId_foundBothDevice()
204 assertThat(mCachedDeviceManager.findDevice(mDevice2)).isEqualTo(cachedDevice2); in findDevice_sameHiSyncId_foundBothDevice()
DLocalBluetoothProfileManagerTest.java83 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaManager.java102 mCachedBluetoothDeviceManager.findDevice(device); in addConnectableA2dpDevices()
134 mCachedBluetoothDeviceManager.findDevice(device); in addConnectableHearingAidDevices()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java97 when(mCachedDeviceManager.findDevice(bluetoothDevice)).thenReturn(cachedDevice); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()
114 when(mCachedDeviceManager.findDevice(bluetoothDevice)).thenReturn(cachedDevice); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()
142 when(mCachedDeviceManager.findDevice(bluetoothDevice)).thenReturn(cachedDevice); in startScan_haveHapProfileDeviceIsPreferredAndBonded_shouldAddDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java320 CachedBluetoothDevice cachedDevice = mCachedDeviceManager.findDevice(d); in getCachedBluetoothDevice()