Searched refs:cachedDevices (Results 1 – 10 of 10) sorted by relevance
207 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_noAssociations() local211 cachedDevices.add(cbd1); in getDeviceList_noAssociations()212 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_noAssociations()238 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_singleDevice() local242 cachedDevices.add(cbd1); in getDeviceList_singleDevice()243 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_singleDevice()255 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_multipleDevices() local259 cachedDevices.add(cbd1); in getDeviceList_multipleDevices()264 cachedDevices.add(cbd2); in getDeviceList_multipleDevices()265 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_multipleDevices()
124 Collection<CachedBluetoothDevice> cachedDevices = in updateState() local128 devicesToRemove.removeAll(cachedDevices); in updateState()133 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in updateState()
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()
36 public void setCachedDevicesCopy(Collection<CachedBluetoothDevice> cachedDevices) { in setCachedDevicesCopy() argument37 mCachedDevices = cachedDevices; in setCachedDevicesCopy()
104 Collection<CachedBluetoothDevice> cachedDevices = in getQCItem() local112 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in getQCItem()159 Collection<CachedBluetoothDevice> cachedDevices = in onNotifyChange() local161 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in onNotifyChange()
246 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference() local247 cachedDevices.add(mCachedBluetoothDevice); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()250 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
244 Collection<CachedBluetoothDevice> cachedDevices = in isDeviceInCachedList() local246 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in isDeviceInCachedList()
191 final Collection<CachedBluetoothDevice> cachedDevices = in getPairedBluetoothDevices() local195 return cachedDevices.stream() in getPairedBluetoothDevices()
145 final Collection<CachedBluetoothDevice> cachedDevices = in getDeviceList() local147 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in getDeviceList()