Searched refs:cachedDevices (Results 1 – 9 of 9) sorted by relevance
263 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference() local264 cachedDevices.add(mCachedBluetoothDevice); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()267 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()322 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in update_notExclusivelyManagedDevice_addDevice() local323 cachedDevices.add(mCachedBluetoothDevice); in update_notExclusivelyManagedDevice_addDevice()327 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in update_notExclusivelyManagedDevice_addDevice()343 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in update_existingExclusivelyManagedDevice_packageEnabled_removePreference() local346 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in update_existingExclusivelyManagedDevice_packageEnabled_removePreference()366 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in update_newExclusivelyManagedDevice_packageEnabled_doNotAddPreference() local367 cachedDevices.add(mCachedBluetoothDevice); in update_newExclusivelyManagedDevice_packageEnabled_doNotAddPreference()[all …]
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 final Collection<CachedBluetoothDevice> cachedDevices = in forceUpdate() local126 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in forceUpdate()140 final Collection<CachedBluetoothDevice> cachedDevices = in removeAllDevicesFromPreference() local142 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in removeAllDevicesFromPreference()352 Collection<CachedBluetoothDevice> cachedDevices = in isDeviceOfMapInCachedDevicesList() local354 if (cachedDevices == null || cachedDevices.isEmpty()) { in isDeviceOfMapInCachedDevicesList()357 return cachedDevices.stream() in isDeviceOfMapInCachedDevicesList()
36 public void setCachedDevicesCopy(Collection<CachedBluetoothDevice> cachedDevices) { in setCachedDevicesCopy() argument37 mCachedDevices = cachedDevices; in setCachedDevicesCopy()
124 Collection<CachedBluetoothDevice> cachedDevices = in updateState() local128 devicesToRemove.removeAll(cachedDevices); in updateState()133 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in updateState()
112 Collection<CachedBluetoothDevice> cachedDevices = in getQCItem() local120 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in getQCItem()169 Collection<CachedBluetoothDevice> cachedDevices = in onNotifyChange() local171 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in onNotifyChange()
263 Collection<CachedBluetoothDevice> cachedDevices = in isDeviceInCachedList() local265 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in isDeviceInCachedList()
191 final Collection<CachedBluetoothDevice> cachedDevices = in getPairedBluetoothDevices() local195 return cachedDevices.stream() in getPairedBluetoothDevices()
139 final Collection<CachedBluetoothDevice> cachedDevices = in getDeviceList() local141 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in getDeviceList()