Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DInfoMediaManager.java218 final List<MediaDevice> deviceList = new ArrayList<>(); in getSelectableMediaDevice() local
221 return deviceList; in getSelectableMediaDevice()
230 return deviceList; in getSelectableMediaDevice()
236 return deviceList; in getSelectableMediaDevice()
245 final List<MediaDevice> deviceList = new ArrayList<>(); in getDeselectableMediaDevice() local
248 return deviceList; in getDeselectableMediaDevice()
258 return deviceList; in getDeselectableMediaDevice()
263 return deviceList; in getDeselectableMediaDevice()
275 return deviceList; in getSelectedMediaDevice()
284 return deviceList; in getSelectedMediaDevice()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputMetricLogger.java78 public void logOutputSuccess(String selectedDeviceType, List<MediaDevice> deviceList) { in logOutputSuccess() argument
83 updateLoggingDeviceCount(deviceList); in logOutputSuccess()
103 public void logOutputFailure(List<MediaDevice> deviceList, int reason) { in logOutputFailure() argument
108 updateLoggingDeviceCount(deviceList); in logOutputFailure()
123 private void updateLoggingDeviceCount(List<MediaDevice> deviceList) { in updateLoggingDeviceCount() argument
127 for (MediaDevice mediaDevice : deviceList) { in updateLoggingDeviceCount()
H A DMediaOutputGroupAdapter.java165 private boolean isDeviceIncluded(List<MediaDevice> deviceList, MediaDevice targetDevice) { in isDeviceIncluded() argument
166 for (MediaDevice device : deviceList) { in isDeviceIncluded()
/aosp12/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DBootUsbScanner.java29 HashMap<String, UsbDevice> deviceList = usbManager.getDeviceList(); in onReceive() local
30 if (deviceList.size() > 0) { in onReceive()
33 BootUsbService.USB_DEVICE_LIST_KEY, new ArrayList<>(deviceList.values())); in onReceive()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DIOProfile.cpp113 DeviceVector deviceList = mSupportedDevices.getDevicesFromType(device->type()); in containsSingleDeviceSupportingEncodedFormats() local
114 return std::count_if(deviceList.begin(), deviceList.end(), in containsSingleDeviceSupportingEncodedFormats()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DBtHelper.java451 final List<BluetoothDevice> deviceList = mA2dp.getConnectedDevices(); in onA2dpProfileConnected() local
452 if (deviceList.isEmpty()) { in onA2dpProfileConnected()
455 final BluetoothDevice btDevice = deviceList.get(0); in onA2dpProfileConnected()
464 final List<BluetoothDevice> deviceList = profile.getConnectedDevices(); in onA2dpSinkProfileConnected() local
465 if (deviceList.isEmpty()) { in onA2dpSinkProfileConnected()
468 final BluetoothDevice btDevice = deviceList.get(0); in onA2dpSinkProfileConnected()
477 final List<BluetoothDevice> deviceList = mHearingAid.getConnectedDevices(); in onHearingAidProfileConnected() local
478 if (deviceList.isEmpty()) { in onHearingAidProfileConnected()
481 final BluetoothDevice btDevice = deviceList.get(0); in onHearingAidProfileConnected()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHidProfile.java58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
59 while (!deviceList.isEmpty()) { in onServiceConnected()
60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DMapClientProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 while (!deviceList.isEmpty()) { in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DPbapClientProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DSapProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 while (!deviceList.isEmpty()) { in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DA2dpSinkProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DHfpClientProfile.java67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
68 while (!deviceList.isEmpty()) { in onServiceConnected()
69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DMapProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
67 while (!deviceList.isEmpty()) { in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DHeadsetProfile.java68 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
69 while (!deviceList.isEmpty()) { in onServiceConnected()
70 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DHearingAidProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
H A DHidDeviceProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 for (BluetoothDevice nextDevice : deviceList) { in onServiceConnected()
H A DA2dpProfile.java69 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
70 while (!deviceList.isEmpty()) { in onServiceConnected()
71 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
H A DWifiP2pDeviceList.java206 WifiP2pDeviceList deviceList = new WifiP2pDeviceList();
210 deviceList.update((WifiP2pDevice)in.readParcelable(null));
212 return deviceList;
/aosp12/packages/services/Telecomm/testapps/callaudiotest/src/com/android/server/telecom/callaudiotest/
H A DCallAudioTestInCallService.java120 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice() local
121 for (AudioDeviceInfo device: deviceList) { in getTelephonyDevice()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DIOProfile.h149 DeviceVector deviceList = in devicesSupportEncodedFormats() local
151 for (const auto& device : deviceList) { in devicesSupportEncodedFormats()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
H A DAccessibilityHearingAidPreferenceControllerTest.java221 final List<BluetoothDevice> deviceList = new ArrayList<>(1); in generateHearingAidDeviceList() local
222 deviceList.add(mBluetoothDevice); in generateHearingAidDeviceList()
223 return deviceList; in generateHearingAidDeviceList()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
H A DWifiP2pSettingsTest.java454 final ArrayList<WifiP2pDevice> deviceList = new ArrayList<>(); in peersCategoryController_withOnePeerDevice_shouldBeAvailable() local
455 deviceList.add(wifiP2pDevice); in peersCategoryController_withOnePeerDevice_shouldBeAvailable()
457 doReturn(deviceList).when(peers).getDeviceList(); in peersCategoryController_withOnePeerDevice_shouldBeAvailable()
466 final ArrayList<WifiP2pDevice> deviceList = new ArrayList<>(); in peersCategoryController_withNoPeerDevice_shouldBeUnavailable() local
468 doReturn(deviceList).when(peers).getDeviceList(); in peersCategoryController_withNoPeerDevice_shouldBeUnavailable()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java390 List<BluetoothDevice> deviceList = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
398 deviceList.add(device); in getDevicesMatchingConnectionStates()
402 if (DBG) Log.d(TAG, deviceList.toString()); in getDevicesMatchingConnectionStates()
404 return deviceList; in getDevicesMatchingConnectionStates()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientStateMachine.java394 List<BluetoothDevice> deviceList = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
398 deviceList.add(currentDevice); in getDevicesMatchingConnectionStates()
402 return deviceList; in getDevicesMatchingConnectionStates()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallRecordingTonePlayer.java318 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice() local
319 for (AudioDeviceInfo device: deviceList) { in getTelephonyDevice()

12