Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java207 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_noAssociations() local
211 cachedDevices.add(cbd1); in getDeviceList_noAssociations()
212 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_noAssociations()
238 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_singleDevice() local
242 cachedDevices.add(cbd1); in getDeviceList_singleDevice()
243 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_singleDevice()
255 Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in getDeviceList_multipleDevices() local
259 cachedDevices.add(cbd1); in getDeviceList_multipleDevices()
264 cachedDevices.add(cbd2); in getDeviceList_multipleDevices()
265 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_multipleDevices()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceController.java124 Collection<CachedBluetoothDevice> cachedDevices = in updateState() local
128 devicesToRemove.removeAll(cachedDevices); in updateState()
133 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in updateState()
/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/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/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java104 Collection<CachedBluetoothDevice> cachedDevices = in getQCItem() local
112 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in getQCItem()
159 Collection<CachedBluetoothDevice> cachedDevices = in onNotifyChange() local
161 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in onNotifyChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DSavedBluetoothDeviceUpdaterTest.java246 final Collection<CachedBluetoothDevice> cachedDevices = new ArrayList<>(); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference() local
247 cachedDevices.add(mCachedBluetoothDevice); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
250 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
/packages/apps/Settings/src/com/android/settings/sound/
DAudioSwitchPreferenceController.java244 Collection<CachedBluetoothDevice> cachedDevices = in isDeviceInCachedList() local
246 for (CachedBluetoothDevice cachedDevice : cachedDevices) { in isDeviceInCachedList()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java191 final Collection<CachedBluetoothDevice> cachedDevices = in getPairedBluetoothDevices() local
195 return cachedDevices.stream() in getPairedBluetoothDevices()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java145 final Collection<CachedBluetoothDevice> cachedDevices = in getDeviceList() local
147 for (CachedBluetoothDevice cachedBluetoothDevice : cachedDevices) { in getDeviceList()