Home
last modified time | relevance | path

Searched refs:cachedBluetoothDevice (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDeviceUpdater.java123 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in forceUpdate()
124 update(cachedBluetoothDevice); in forceUpdate()
138 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in removeAllDevicesFromPreference()
139 removePreference(cachedBluetoothDevice); in removeAllDevicesFromPreference()
211 public abstract boolean isFilterMatched(CachedBluetoothDevice cachedBluetoothDevice); in isFilterMatched() argument
221 protected void update(CachedBluetoothDevice cachedBluetoothDevice) { in update() argument
222 if (isFilterMatched(cachedBluetoothDevice)) { in update()
224 addPreference(cachedBluetoothDevice); in update()
226 removePreference(cachedBluetoothDevice); in update()
H A DAdvancedBluetoothDetailsHeaderController.java171 public void init(CachedBluetoothDevice cachedBluetoothDevice) { in init() argument
172 mCachedDevice = cachedBluetoothDevice; in init()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceTest.java718 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testAliasNameAvailable() local
721 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ALIAS); in deviceName_testAliasNameAvailable()
723 assertThat(cachedBluetoothDevice.hasHumanReadableName()).isTrue(); in deviceName_testAliasNameAvailable()
728 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testNameNotAvailable() local
731 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ADDRESS); in deviceName_testNameNotAvailable()
733 assertThat(cachedBluetoothDevice.hasHumanReadableName()).isFalse(); in deviceName_testNameNotAvailable()
745 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testRenameDevice() local
748 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ALIAS); in deviceName_testRenameDevice()
750 cachedBluetoothDevice.setName(null); in deviceName_testRenameDevice()
753 cachedBluetoothDevice.setName(DEVICE_ALIAS_NEW); in deviceName_testRenameDevice()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java155 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in getDeviceList()
156 if (Objects.equals(assocMac, cachedBluetoothDevice.getAddress())) { in getDeviceList()
162 sb.append(cachedBluetoothDevice.getName()); in getDeviceList()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothDeviceUpdaterTest.java115 public boolean isFilterMatched(CachedBluetoothDevice cachedBluetoothDevice) { in setUp()