/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
H A D | InfoMediaManager.java | 218 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 D | MediaOutputMetricLogger.java | 78 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 D | MediaOutputGroupAdapter.java | 165 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 D | BootUsbScanner.java | 29 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 D | IOProfile.cpp | 113 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 D | BtHelper.java | 451 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 D | HidProfile.java | 58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 59 while (!deviceList.isEmpty()) { in onServiceConnected() 60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | MapClientProfile.java | 65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 66 while (!deviceList.isEmpty()) { in onServiceConnected() 67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | PbapClientProfile.java | 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 64 while (!deviceList.isEmpty()) { in onServiceConnected() 65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | SapProfile.java | 65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 66 while (!deviceList.isEmpty()) { in onServiceConnected() 67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | A2dpSinkProfile.java | 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 64 while (!deviceList.isEmpty()) { in onServiceConnected() 65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | HfpClientProfile.java | 67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 68 while (!deviceList.isEmpty()) { in onServiceConnected() 69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | MapProfile.java | 66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 67 while (!deviceList.isEmpty()) { in onServiceConnected() 68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | HeadsetProfile.java | 68 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 69 while (!deviceList.isEmpty()) { in onServiceConnected() 70 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | HearingAidProfile.java | 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 64 while (!deviceList.isEmpty()) { in onServiceConnected() 65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
|
H A D | HidDeviceProfile.java | 65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local 66 for (BluetoothDevice nextDevice : deviceList) { in onServiceConnected()
|
H A D | A2dpProfile.java | 69 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 D | WifiP2pDeviceList.java | 206 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 D | CallAudioTestInCallService.java | 120 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 D | IOProfile.h | 149 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 D | AccessibilityHearingAidPreferenceControllerTest.java | 221 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 D | WifiP2pSettingsTest.java | 454 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 D | A2dpSinkService.java | 390 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 D | PbapClientStateMachine.java | 394 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 D | CallRecordingTonePlayer.java | 318 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getTelephonyDevice() local 319 for (AudioDeviceInfo device: deviceList) { in getTelephonyDevice()
|