Lines Matching refs:curDevices
3501 DeviceTypeSet curDevices = desc->devices().types(); in setVolumeIndexForAttributes() local
3503 if (curDevices.erase(AUDIO_DEVICE_OUT_SPEAKER_SAFE)) { in setVolumeIndexForAttributes()
3504 curDevices.insert(AUDIO_DEVICE_OUT_SPEAKER); in setVolumeIndexForAttributes()
3511 curDevices.find(device) == curDevices.end()) { in setVolumeIndexForAttributes()
3518 Volume::getDeviceForVolume(curDevices)) != curSrcDevices.end()) in setVolumeIndexForAttributes()
3532 desc->setSwMute((index == 0), vs, curves.getStreamTypes(), curDevices, 0 /*delayMs*/); in setVolumeIndexForAttributes()
3571 curves, vs, index, desc, curDevices, in setVolumeIndexForAttributes()
7592 DeviceVector curDevices; in getDevicesForAttributes() local
7593 if (status_t status = getDevicesForAttributes(attr, curDevices, forVolume); status != OK) { in getDevicesForAttributes()
7596 for (const auto& device : curDevices) { in getDevicesForAttributes()
7699 DeviceVector curDevices = in checkDeviceMuteStrategies() local
7701 curDevices = curDevices.filter(outputDesc->supportedDevices()); in checkDeviceMuteStrategies()
7702 bool mute = shouldMute && curDevices.containsAtLeastOne(devices) && curDevices != devices; in checkDeviceMuteStrategies()
7720 mute ? "muting" : "unmuting", curDevices.toString().c_str()); in checkDeviceMuteStrategies()