/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | BluetoothEventManager.java | 180 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()
|
H A D | CachedBluetoothDeviceManager.java | 61 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()
|
H A D | HidDeviceProfile.java | 67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | HidProfile.java | 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | MapClientProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | PbapClientProfile.java | 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | SapProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | A2dpSinkProfile.java | 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | HfpClientProfile.java | 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | MapProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | HeadsetProfile.java | 71 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
H A D | HearingAidProfile.java | 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
H A D | SavedBluetoothDeviceUpdaterTest.java | 170 when(mDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference() 188 when(mDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference() 205 when(mDeviceManager.findDevice(mBluetoothDevice)).thenReturn(null); in forceUpdate_notFindCachedBluetoothDevice_doNothing() 239 when(mDeviceManager.findDevice(device2)).thenReturn(cachedDevice2); in forceUpdate_deviceNotContain_removePreference() 243 when(mDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in forceUpdate_deviceNotContain_removePreference()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
H A D | BluetoothEventManagerTest.java | 94 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()
|
H A D | CachedBluetoothDeviceManagerTest.java | 130 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()
|
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | SavedBluetoothDeviceUpdater.java | 67 final CachedBluetoothDevice cachedDevice = cachedManager.findDevice(device); in forceUpdate() 81 final CachedBluetoothDevice cachedDevice = cachedManager.findDevice(device); in removePreferenceIfNecessary()
|
H A D | RemoteDeviceNameDialogFragment.java | 50 return manager.getCachedDeviceManager().findDevice(device); in getDevice()
|
H A D | ForgetDeviceDialogFragment.java | 56 return manager.getCachedDeviceManager().findDevice(device); in getDevice()
|
H A D | BluetoothDeviceDetailsFragment.java | 96 return mManager.getCachedDeviceManager().findDevice(remoteDevice); in getCachedDevice()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
H A D | LocalMediaManagerTest.java | 577 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()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
H A D | RemoteRenameDialogFragment.java | 56 mCachedDevice = manager.getCachedDeviceManager().findDevice(device); in onAttach()
|
H A D | BluetoothDeviceDetailsFragment.java | 69 mCachedDevice = manager.getCachedDeviceManager().findDevice(remoteDevice); in onAttach()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | AccessoryUtils.java | 75 return localBluetoothManager.getCachedDeviceManager().findDevice(device); in getCachedBluetoothDevice()
|
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
H A D | RemoteRenameDialogFragmentTest.java | 79 when(mCachedDeviceManager.findDevice(device)).thenReturn(mCachedDevice); in setUp()
|
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | AccessibilityHearingAidPreferenceController.java | 165 return mLocalBluetoothManager.getCachedDeviceManager().findDevice(obj); in getConnectedHearingAidDevice()
|