Home
last modified time | relevance | path

Searched refs:deviceList (Results 1 – 20 of 20) 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.java291 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
299 deviceList.add(device); in getDevicesMatchingConnectionStates()
303 if (DBG) Log.d(TAG, deviceList.toString()); in getDevicesMatchingConnectionStates()
305 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DDvbDeviceAccessor.java128 List<DvbDeviceInfoWrapper> deviceList = getDvbDeviceList(); in getRecordingCapability() local
133 .setMaxConcurrentTunedSessions(deviceList.size()) in getRecordingCapability()
134 .setMaxConcurrentSessionsOfAllTypes(deviceList.size() + 1) in getRecordingCapability()
/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.java197 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
205 deviceList.add(device); in getDevicesMatchingConnectionStates()
209 if (DBG) Log.d(TAG, deviceList.toString()); in getDevicesMatchingConnectionStates()
210 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java344 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(0); in getDevicesMatchingConnectionStates() local
351 deviceList.add(stateMachineEntry.getKey()); in getDevicesMatchingConnectionStates()
356 return deviceList; in getDevicesMatchingConnectionStates()
DPbapClientStateMachine.java392 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
396 deviceList.add(currentDevice); in getDevicesMatchingConnectionStates()
400 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java668 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
676 deviceList.add(device); in getDevicesMatchingConnectionStates()
680 if (DBG) Log.d(TAG, deviceList.toString()); in getDevicesMatchingConnectionStates()
682 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/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java271 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice() local
272 for (AudioDeviceInfo device: deviceList) { in getTelephonyDevice()
DCallAudioRouteStateMachine.java1703 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in checkForEarpieceSupport() local
1704 for (AudioDeviceInfo device: deviceList) { in checkForEarpieceSupport()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientTest.java93 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in cleanUpInstanceMap() local
94 for (BluetoothDevice d : deviceList) { in cleanUpInstanceMap()
/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/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/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java378 List<String> deviceList = Arrays.asList(devicesStr.split(SETTINGS_DELIMITER)); in load() local
379 if (deviceList == null) { in load()
385 for (String address : deviceList) { in load()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java544 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
547 return deviceList; in getDevicesMatchingConnectionStates()
558 deviceList.add(device); in getDevicesMatchingConnectionStates()
563 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.java558 AudioDeviceInfo[] deviceList = mAudioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in isOnEarphone() local
560 for (AudioDeviceInfo devInfo : deviceList) { in isOnEarphone()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1835 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
1847 deviceList.add(device); in getDevicesMatchingConnectionStates()
1852 return deviceList; in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1888 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
1893 deviceList.add(entry.getKey()); in getDevicesMatchingConnectionStates()
1898 return deviceList; in getDevicesMatchingConnectionStates()