Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java248 final List<MediaDevice> deviceList = new ArrayList<>(); in getSelectableMediaDevice() local
251 return deviceList; in getSelectableMediaDevice()
257 deviceList.add(new InfoMediaDevice(mContext, mRouterManager, in getSelectableMediaDevice()
260 return deviceList; in getSelectableMediaDevice()
266 return deviceList; in getSelectableMediaDevice()
275 final List<MediaDevice> deviceList = new ArrayList<>(); in getDeselectableMediaDevice() local
278 return deviceList; in getDeselectableMediaDevice()
284 deviceList.add(new InfoMediaDevice(mContext, mRouterManager, in getDeselectableMediaDevice()
288 return deviceList; in getDeselectableMediaDevice()
293 return deviceList; in getDeselectableMediaDevice()
[all …]
DDeviceIconUtil.java42 List<Device> deviceList = Arrays.asList( in DeviceIconUtil() local
75 for (int i = 0; i < deviceList.size(); i++) { in DeviceIconUtil()
76 Device device = deviceList.get(i); in DeviceIconUtil()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputMetricLogger.java78 public void logOutputSuccess(String selectedDeviceType, List<MediaDevice> deviceList) { in logOutputSuccess() argument
83 updateLoggingDeviceCount(deviceList); in logOutputSuccess()
174 public void logOutputFailure(List<MediaDevice> deviceList, int reason) { in logOutputFailure() argument
179 updateLoggingDeviceCount(deviceList); in logOutputFailure()
219 private void updateLoggingDeviceCount(List<MediaDevice> deviceList) { in updateLoggingDeviceCount() argument
223 for (MediaDevice mediaDevice : deviceList) { in updateLoggingDeviceCount()
DMediaOutputBaseAdapter.java109 boolean isDeviceIncluded(List<MediaDevice> deviceList, MediaDevice targetDevice) { in isDeviceIncluded() argument
110 for (MediaDevice device : deviceList) { in isDeviceIncluded()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp113 DeviceVector deviceList = mSupportedDevices.getDevicesFromType(device->type()); in containsSingleDeviceSupportingEncodedFormats() local
114 return std::count_if(deviceList.begin(), deviceList.end(), in containsSingleDeviceSupportingEncodedFormats()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DVolumeControlProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 while (!deviceList.isEmpty()) { in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DSapProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 while (!deviceList.isEmpty()) { in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DPbapClientProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DMapClientProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 while (!deviceList.isEmpty()) { in onServiceConnected()
67 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHidProfile.java58 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
59 while (!deviceList.isEmpty()) { in onServiceConnected()
60 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHfpClientProfile.java67 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
68 while (!deviceList.isEmpty()) { in onServiceConnected()
69 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DA2dpSinkProfile.java63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
64 while (!deviceList.isEmpty()) { in onServiceConnected()
65 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DMapProfile.java66 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
67 while (!deviceList.isEmpty()) { in onServiceConnected()
68 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DCsipSetCoordinatorProfile.java69 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
70 while (!deviceList.isEmpty()) { in onServiceConnected()
71 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHeadsetProfile.java68 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
69 while (!deviceList.isEmpty()) { in onServiceConnected()
70 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DLeAudioProfile.java76 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
77 while (!deviceList.isEmpty()) { in onServiceConnected()
78 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DHidDeviceProfile.java65 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
66 for (BluetoothDevice nextDevice : deviceList) { in onServiceConnected()
DLocalBluetoothLeBroadcastAssistant.java74 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
75 while (!deviceList.isEmpty()) {
76 BluetoothDevice nextDevice = deviceList.remove(0);
DHearingAidProfile.java98 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
99 while (!deviceList.isEmpty()) { in onServiceConnected()
100 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
DA2dpProfile.java74 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() local
75 while (!deviceList.isEmpty()) { in onServiceConnected()
76 BluetoothDevice nextDevice = deviceList.remove(0); in onServiceConnected()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h148 DeviceVector deviceList = in devicesSupportEncodedFormats() local
150 for (const auto& device : deviceList) { in devicesSupportEncodedFormats()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
661 if (deviceList.size() > 0) {
662 mBluetoothHeadsetDevice = deviceList.get(0);
/frameworks/base/media/java/android/media/
DRingtone.java169 AudioDeviceInfo[] deviceList = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS); in getBuiltinDevice() local
170 for (AudioDeviceInfo device : deviceList) { in getBuiltinDevice()
DAudioSystem.java2361 @NonNull List<AudioDeviceAttributes> deviceList) { in generateAudioDeviceTypesSet()
2363 for (AudioDeviceAttributes device : deviceList) { in generateAudioDeviceTypesSet()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java548 final List<BluetoothDevice> deviceList = proxy.getConnectedDevices(); in onBtProfileConnected() local
549 if (deviceList.isEmpty()) { in onBtProfileConnected()
552 final BluetoothDevice btDevice = deviceList.get(0); in onBtProfileConnected()

12