Searched refs:cachedBluetoothDevice (Results 1 – 5 of 5) sorted by relevance
123 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() argument221 protected void update(CachedBluetoothDevice cachedBluetoothDevice) { in update() argument222 if (isFilterMatched(cachedBluetoothDevice)) { in update()224 addPreference(cachedBluetoothDevice); in update()226 removePreference(cachedBluetoothDevice); in update()
171 public void init(CachedBluetoothDevice cachedBluetoothDevice) { in init() argument172 mCachedDevice = cachedBluetoothDevice; in init()
718 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testAliasNameAvailable() local721 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ALIAS); in deviceName_testAliasNameAvailable()723 assertThat(cachedBluetoothDevice.hasHumanReadableName()).isTrue(); in deviceName_testAliasNameAvailable()728 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testNameNotAvailable() local731 assertThat(cachedBluetoothDevice.getName()).isEqualTo(DEVICE_ADDRESS); in deviceName_testNameNotAvailable()733 assertThat(cachedBluetoothDevice.hasHumanReadableName()).isFalse(); in deviceName_testNameNotAvailable()745 CachedBluetoothDevice cachedBluetoothDevice = in deviceName_testRenameDevice() local748 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 …]
155 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in getDeviceList()156 if (Objects.equals(assocMac, cachedBluetoothDevice.getAddress())) { in getDeviceList()162 sb.append(cachedBluetoothDevice.getName()); in getDeviceList()
115 public boolean isFilterMatched(CachedBluetoothDevice cachedBluetoothDevice) { in setUp()