Home
last modified time | relevance | path

Searched refs:bluetoothDevices (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DSavedBluetoothDeviceUpdaterTest.java211 final List<BluetoothDevice> bluetoothDevices = new ArrayList<>(); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference() local
212 bluetoothDevices.add(mBluetoothDevice); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference()
215 when(mBluetoothAdapter.getMostRecentlyConnectedDevices()).thenReturn(bluetoothDevices); in forceUpdate_findCachedBluetoothDeviceIsMatched_addPreference()
229 final List<BluetoothDevice> bluetoothDevices = new ArrayList<>(); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference() local
230 bluetoothDevices.add(mBluetoothDevice); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference()
233 when(mBluetoothAdapter.getMostRecentlyConnectedDevices()).thenReturn(bluetoothDevices); in forceUpdate_findCachedBluetoothDeviceNotMatched_removePreference()
246 final List<BluetoothDevice> bluetoothDevices = new ArrayList<>(); in forceUpdate_notFindCachedBluetoothDevice_doNothing() local
247 bluetoothDevices.add(mBluetoothDevice); in forceUpdate_notFindCachedBluetoothDevice_doNothing()
250 when(mBluetoothAdapter.getMostRecentlyConnectedDevices()).thenReturn(bluetoothDevices); in forceUpdate_notFindCachedBluetoothDevice_doNothing()
277 final List<BluetoothDevice> bluetoothDevices = new ArrayList<>(); in forceUpdate_deviceNotContain_removePreference() local
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DSavedBluetoothDeviceUpdater.java64 final List<BluetoothDevice> bluetoothDevices = in forceUpdate() local
66 removePreferenceIfNecessary(bluetoothDevices, cachedManager); in forceUpdate()
67 for (BluetoothDevice device : bluetoothDevices) { in forceUpdate()
78 private void removePreferenceIfNecessary(List<BluetoothDevice> bluetoothDevices, in removePreferenceIfNecessary() argument
81 if (!bluetoothDevices.contains(device)) { in removePreferenceIfNecessary()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactoryTest.java101 List<BluetoothDevice> bluetoothDevices = new ArrayList<>(); in networkStartReverseTetherStop() local
103 bluetoothDevices.add(bluetoothDevice); in networkStartReverseTetherStop()
105 when(mPanService.getConnectedDevices()).thenReturn(bluetoothDevices); in networkStartReverseTetherStop()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsHelper.java285 List<BluetoothDevice> bluetoothDevices = in getConnectedBluetoothDevices() local
298 Log.d(TAG, "getConnectedBluetoothDevices() devices: " + bluetoothDevices); in getConnectedBluetoothDevices()
299 return bluetoothDevices; in getConnectedBluetoothDevices()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DAudioRoutesManager.java147 List<CachedBluetoothDevice> bluetoothDevices = in updateAudioRoutesList() local
149 for (CachedBluetoothDevice bluetoothDevice : bluetoothDevices) { in updateAudioRoutesList()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DMainActivity.java741 bluetoothDevices -> { in setupViewModelObservers()
742 recyclerViewAdapter.updateLeAudioDeviceList(bluetoothDevices); in setupViewModelObservers()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceTest.java337 BluetoothDevice[] bluetoothDevices = new BluetoothDevice[] {testDevice}; in getDevicesMatchingConnectionStates() local
338 doReturn(bluetoothDevices).when(mAdapterService).getBondedDevices(); in getDevicesMatchingConnectionStates()