Searched refs:pairedDevices (Results 1 – 7 of 7) sorted by relevance
55 List<DeviceEntry> pairedDevices = new ArrayList<>(); in BluetoothPreference() local58 .forEach((BluetoothDevice device) -> pairedDevices.add(new DeviceEntry(device))); in BluetoothPreference()59 setEntries(pairedDevices.stream().map(DeviceEntry::getName).toArray(String[]::new)); in BluetoothPreference()60 setEntryValues(pairedDevices.stream().map(DeviceEntry::getAddress).toArray(String[]::new)); in BluetoothPreference()
72 private void onPairListChanged(Set<BluetoothDevice> pairedDevices) { in onPairListChanged() argument116 Set<BluetoothDevice> pairedDevices = mPairListLiveData.getValue(); in hasPairedDevices() local117 return pairedDevices == null || !pairedDevices.isEmpty(); in hasPairedDevices()
44 Set<BluetoothDevice> pairedDevices = bluetoothAdapter == null ? Collections.emptySet() in onReceive() local46 favoriteNumberRepository.cleanup(pairedDevices); in onReceive()
137 public void cleanup(Set<BluetoothDevice> pairedDevices) { in cleanup() argument138 L.d(TAG, "remove entries for unpaired devices except %s", pairedDevices); in cleanup()141 for (BluetoothDevice device : pairedDevices) { in cleanup()
283 final List<CachedBluetoothDevice> pairedDevices = getPairedBluetoothDevices(); in getBluetoothRowBuilders() local284 if (pairedDevices.isEmpty()) { in getBluetoothRowBuilders()293 for (CachedBluetoothDevice device : pairedDevices) { in getBluetoothRowBuilders()
250 void setNumberOfPairedDevices(int pairedDevices) { in setNumberOfPairedDevices() argument251 mNumberOfPairedDevices = pairedDevices; in setNumberOfPairedDevices()