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()
83 private void onPairListChanged(Set<BluetoothDevice> pairedDevices) { in onPairListChanged() argument126 Set<BluetoothDevice> pairedDevices = mPairListLiveData.getValue(); in hasPairedDevices() local127 return pairedDevices == null || !pairedDevices.isEmpty(); in hasPairedDevices()
52 Set<BluetoothDevice> pairedDevices = mBluetoothAdapter == null ? Collections.emptySet() in onReceive() local54 mFavoriteNumberRepository.cleanup(pairedDevices); in onReceive()
147 public void cleanup(Set<BluetoothDevice> pairedDevices) { in cleanup() argument148 L.d(TAG, "remove entries for unpaired devices except %s", pairedDevices); in cleanup()151 for (BluetoothDevice device : pairedDevices) { in cleanup()
284 final List<CachedBluetoothDevice> pairedDevices = getPairedBluetoothDevices(); in getBluetoothRowBuilders() local285 if (pairedDevices.isEmpty()) { in getBluetoothRowBuilders()294 for (CachedBluetoothDevice device : pairedDevices) { in getBluetoothRowBuilders()
250 void setNumberOfPairedDevices(int pairedDevices) { in setNumberOfPairedDevices() argument251 mNumberOfPairedDevices = pairedDevices; in setNumberOfPairedDevices()