Home
last modified time | relevance | path

Searched refs:cachedDevices (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java172 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_noAssociations() local
176 cachedDevices.add(cbd1); in getDeviceList_noAssociations()
177 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_noAssociations()
201 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_singleDevice() local
205 cachedDevices.add(cbd1); in getDeviceList_singleDevice()
206 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_singleDevice()
217 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_multipleDevices() local
221 cachedDevices.add(cbd1); in getDeviceList_multipleDevices()
226 cachedDevices.add(cbd2); in getDeviceList_multipleDevices()
227 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_multipleDevices()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java121 final Collection<CachedBluetoothDevice> cachedDevices = in forceUpdate() local
123 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in forceUpdate()
136 final Collection<CachedBluetoothDevice> cachedDevices = in removeAllDevicesFromPreference() local
138 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in removeAllDevicesFromPreference()
DDeviceListPreferenceFragment.java141 Collection<CachedBluetoothDevice> cachedDevices = in addCachedDevices() local
143 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in addCachedDevices()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceController.java115 Collection<CachedBluetoothDevice> cachedDevices = in updateState() local
119 devicesToRemove.removeAll(cachedDevices); in updateState()
124 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowCachedBluetoothDeviceManager.java36 public void setCachedDevicesCopy(Collection<CachedBluetoothDevice> cachedDevices) { in setCachedDevicesCopy() argument
37 mCachedDevices = cachedDevices; in setCachedDevicesCopy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DSavedBluetoothDeviceUpdaterTest.java216 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference() local
217 cachedDevices.add(mCachedBluetoothDevice); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
220 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java185 final Collection<CachedBluetoothDevice> cachedDevices = in getPairedBluetoothDevices() local
189 return cachedDevices.stream() in getPairedBluetoothDevices()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java153 final Collection<CachedBluetoothDevice> cachedDevices = in getDeviceList() local
155 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in getDeviceList()