Home
last modified time | relevance | path

Searched refs:preferredDevices (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp563 AudioDeviceTypeAddrVector preferredDevices; in getPreferredAvailableDevicesForInputSource() local
565 inputSource, DEVICE_ROLE_PREFERRED, preferredDevices); in getPreferredAvailableDevicesForInputSource()
569 availableInputDevices.getDevicesFromDeviceTypeAddrVec(preferredDevices); in getPreferredAvailableDevicesForInputSource()
570 if (preferredAvailableDevVec.size() == preferredDevices.size()) { in getPreferredAvailableDevicesForInputSource()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1233 List<AudioDeviceAttributes> preferredDevices = mPreferredDevices.get(strategy); in onSaveSetDeviceAsNonDefault() local
1235 if (preferredDevices != null) { in onSaveSetDeviceAsNonDefault()
1236 preferredDevices.remove(device); in onSaveSetDeviceAsNonDefault()
1237 mPreferredDevices.put(strategy, preferredDevices); in onSaveSetDeviceAsNonDefault()
1239 dispatchPreferredDevice(strategy, preferredDevices); in onSaveSetDeviceAsNonDefault()