Home
last modified time | relevance | path

Searched refs:deviceList (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbScanner.java27 HashMap<String, UsbDevice> deviceList = usbManager.getDeviceList(); in onReceive() local
28 if (deviceList.size() > 0) { in onReceive()
31 BootUsbService.USB_DEVICE_LIST_KEY, new ArrayList<>(deviceList.values())); in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java345 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
353 deviceList.add(device); in getDevicesMatchingConnectionStates()
357 if (DBG) Log.d(TAG, deviceList.toString()); in getDevicesMatchingConnectionStates()
359 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java221 final List<BluetoothDevice> deviceList = new ArrayList<>(1); in generateHearingAidDeviceList() local
222 deviceList.add(mBluetoothDevice); in generateHearingAidDeviceList()
223 return deviceList; in generateHearingAidDeviceList()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java205 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
213 deviceList.add(device); in getDevicesMatchingConnectionStates()
217 if (DBG) Log.d(TAG, deviceList.toString()); in getDevicesMatchingConnectionStates()
218 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java392 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
396 deviceList.add(currentDevice); in getDevicesMatchingConnectionStates()
400 return deviceList; in getDevicesMatchingConnectionStates()
DPbapClientService.java396 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(0); in getDevicesMatchingConnectionStates() local
403 deviceList.add(stateMachineEntry.getKey()); in getDevicesMatchingConnectionStates()
408 return deviceList; in getDevicesMatchingConnectionStates()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java627 Collection<BluetoothDevice> deviceList = mDeviceManager.getConnectedDevices(); in connectBtAudio() local
628 Optional<BluetoothDevice> matchingDevice = deviceList.stream() in connectBtAudio()
637 if (deviceList.size() > 0) { in connectBtAudio()
638 actualAddress = deviceList.iterator().next().getAddress(); in connectBtAudio()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java759 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
767 deviceList.add(device); in getDevicesMatchingConnectionStates()
771 if (DBG) Log.d(TAG, deviceList.toString()); in getDevicesMatchingConnectionStates()
773 return deviceList; in getDevicesMatchingConnectionStates()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java276 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice() local
277 for (AudioDeviceInfo device: deviceList) { in getTelephonyDevice()
DCallAudioRouteStateMachine.java1808 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in checkForEarpieceSupport() local
1809 for (AudioDeviceInfo device: deviceList) { in checkForEarpieceSupport()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilityHearingAidPreferenceController.java159 final List<BluetoothDevice> deviceList = mLocalBluetoothManager.getProfileManager() in getConnectedHearingAidDevice() local
161 final Iterator it = deviceList.iterator(); in getConnectedHearingAidDevice()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceController.java159 final List<BluetoothDevice> deviceList = mLocalBluetoothManager.getProfileManager() in getConnectedHearingAidDevice() local
161 final Iterator it = deviceList.iterator(); in getConnectedHearingAidDevice()
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java387 List<String> deviceList = Arrays.asList(devicesStr.split(SETTINGS_DELIMITER)); in load() local
388 if (deviceList == null) { in load()
394 for (String address : deviceList) { in load()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java555 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
558 return deviceList; in getDevicesMatchingConnectionStates()
569 deviceList.add(device); in getDevicesMatchingConnectionStates()
574 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java568 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
580 deviceList.add(device); in getDevicesMatchingConnectionStates()
585 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java656 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in isOnEarphone() local
658 for (AudioDeviceInfo devInfo : deviceList) { in isOnEarphone()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1764 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
1776 deviceList.add(device); in getDevicesMatchingConnectionStates()
1781 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1892 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
1897 deviceList.add(entry.getKey()); in getDevicesMatchingConnectionStates()
1902 return deviceList; in getDevicesMatchingConnectionStates()