Searched refs:cachedDevices (Results 1 – 8 of 8) sorted by relevance
172 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_noAssociations() local176 cachedDevices.add(cbd1); in getDeviceList_noAssociations()177 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_noAssociations()201 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_singleDevice() local205 cachedDevices.add(cbd1); in getDeviceList_singleDevice()206 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_singleDevice()217 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_multipleDevices() local221 cachedDevices.add(cbd1); in getDeviceList_multipleDevices()226 cachedDevices.add(cbd2); in getDeviceList_multipleDevices()227 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_multipleDevices()
121 final Collection<CachedBluetoothDevice> cachedDevices = in forceUpdate() local123 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in forceUpdate()136 final Collection<CachedBluetoothDevice> cachedDevices = in removeAllDevicesFromPreference() local138 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in removeAllDevicesFromPreference()
141 Collection<CachedBluetoothDevice> cachedDevices = in addCachedDevices() local143 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in addCachedDevices()
115 Collection<CachedBluetoothDevice> cachedDevices = in updateState() local119 devicesToRemove.removeAll(cachedDevices); in updateState()124 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in updateState()
36 public void setCachedDevicesCopy(Collection<CachedBluetoothDevice> cachedDevices) { in setCachedDevicesCopy() argument37 mCachedDevices = cachedDevices; in setCachedDevicesCopy()
216 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference() local217 cachedDevices.add(mCachedBluetoothDevice); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()220 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
185 final Collection<CachedBluetoothDevice> cachedDevices = in getPairedBluetoothDevices() local189 return cachedDevices.stream() in getPairedBluetoothDevices()
153 final Collection<CachedBluetoothDevice> cachedDevices = in getDeviceList() local155 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in getDeviceList()