Lines Matching refs:volumeSource

1591     auto clientVolSrc = client->volumeSource();  in startSource()
1712 checkAndSetVolume(curves, client->volumeSource(), in startSource()
1786 auto clientVolSrc = client->volumeSource(); in stopSource()
2552 if (isHigherPriority && (client->volumeSource() != vs)) { in setVolumeIndexForAttributes()
2559 client->volumeSource(), toString(client->attributes()).c_str(), i); in setVolumeIndexForAttributes()
2565 if (client->volumeSource() == vs) { in setVolumeIndexForAttributes()
5768 VolumeSource volumeSource, in computeVolume() argument
5784 if (volumeSource == a11yVolumeSrc in computeVolume()
5793 if ((volumeSource != callVolumeSrc && (isInCall() || in computeVolume()
5795 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM) || in computeVolume()
5796 volumeSource == ringVolumeSrc || volumeSource == musicVolumeSrc || in computeVolume()
5797 volumeSource == alarmVolumeSrc || in computeVolume()
5798 volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION) || in computeVolume()
5799 volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE) || in computeVolume()
5800 volumeSource == toVolumeSource(AUDIO_STREAM_DTMF) || in computeVolume()
5801 volumeSource == a11yVolumeSrc)) { in computeVolume()
5814 ((volumeSource == ringVolumeSrc) || (volumeSource == a11yVolumeSrc)) in computeVolume()
5817 volumeSource, volumeDb); in computeVolume()
5820 volumeSource, volumeDb, callVolumeSrc, maxVoiceVolDb); in computeVolume()
5835 ((volumeSource == alarmVolumeSrc || in computeVolume()
5836 volumeSource == ringVolumeSrc) || in computeVolume()
5837 (volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION)) || in computeVolume()
5838 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM)) || in computeVolume()
5839 ((volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE)) && in computeVolume()
5870 __func__, volumeSource, dumpDeviceTypes(deviceTypes).c_str(), volumeDb, in computeVolume()
5876 (!(volumeSource == alarmVolumeSrc || volumeSource == ringVolumeSrc))) { in computeVolume()
5911 VolumeSource volumeSource, in checkAndSetVolume() argument
5919 if (outputDesc->isMuted(volumeSource)) { in checkAndSetVolume()
5920 ALOGVV("%s: volume source %d muted count %d active=%d", __func__, volumeSource, in checkAndSetVolume()
5921 outputDesc->getMuteCount(volumeSource), outputDesc->isActive(volumeSource)); in checkAndSetVolume()
5926 bool isVoiceVolSrc = callVolSrc == volumeSource; in checkAndSetVolume()
5927 bool isBtScoVolSrc = btScoVolSrc == volumeSource; in checkAndSetVolume()
5937 volumeSource, forceUseForComm); in checkAndSetVolume()
5944 float volumeDb = computeVolume(curves, volumeSource, index, deviceTypes); in checkAndSetVolume()
5953 volumeDb, volumeSource, curves.getStreamTypes(), deviceTypes, delayMs, force); in checkAndSetVolume()
6006 void AudioPolicyManager::setVolumeSourceMute(VolumeSource volumeSource, in setVolumeSourceMute() argument
6015 auto &curves = getVolumeCurves(volumeSource); in setVolumeSourceMute()
6017 if (!outputDesc->isMuted(volumeSource)) { in setVolumeSourceMute()
6019 (volumeSource != toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE) || in setVolumeSourceMute()
6022 checkAndSetVolume(curves, volumeSource, 0, outputDesc, deviceTypes, delayMs); in setVolumeSourceMute()
6027 outputDesc->incMuteCount(volumeSource); in setVolumeSourceMute()
6029 if (!outputDesc->isMuted(volumeSource)) { in setVolumeSourceMute()
6033 if (outputDesc->decMuteCount(volumeSource) == 0) { in setVolumeSourceMute()
6034 checkAndSetVolume(curves, volumeSource, in setVolumeSourceMute()