Searched refs:pairedDevices (Results 1 – 6 of 6) 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()
218 private void onPairListChanged(Set<BluetoothDevice> pairedDevices) { in onPairListChanged() argument262 Set<BluetoothDevice> pairedDevices = mPairedListLiveData.getValue(); in hasPairedDevices() local263 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()
250 void setNumberOfPairedDevices(int pairedDevices) { in setNumberOfPairedDevices() argument251 mNumberOfPairedDevices = pairedDevices; in setNumberOfPairedDevices()