Searched refs:curDevice (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioIODescriptorInterface.h | 61 sp<DeviceDescriptor> curDevice = findPreferredDevice(desc, filter, active, devices); in findPreferredDevice() local 62 if (active && curDevice == nullptr) { in findPreferredDevice() 64 } else if (curDevice != nullptr) { in findPreferredDevice() 65 device = curDevice; in findPreferredDevice()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 2512 audio_devices_t curDevice = desc->devices().types(); in setVolumeIndexForAttributes() local 2514 if (curDevice & AUDIO_DEVICE_OUT_SPEAKER_SAFE) { in setVolumeIndexForAttributes() 2515 curDevice |= AUDIO_DEVICE_OUT_SPEAKER; in setVolumeIndexForAttributes() 2516 curDevice &= ~AUDIO_DEVICE_OUT_SPEAKER_SAFE; in setVolumeIndexForAttributes() 2560 status_t volStatus = checkAndSetVolume(curves, vs, index, desc, curDevice, in setVolumeIndexForAttributes() 2571 if ((device != AUDIO_DEVICE_OUT_DEFAULT_FOR_VOLUME) && ((curDevice & device) == 0)) { in setVolumeIndexForAttributes() 2576 applyVolume = (Volume::getDeviceForVolume(curDevice) & curSrcDevice) != 0; in setVolumeIndexForAttributes() 2585 curves, vs, index, desc, curDevice, in setVolumeIndexForAttributes()
|