Lines Matching refs:toVolumeSource

1096                                   toVolumeSource(resultAttr),  in getOutputForAttr()
1615 toVolumeSource(AUDIO_STREAM_TTS) /*sourceToIgnore*/)) { in startSource()
2479 VolumeSource vs = toVolumeSource(group); in setVolumeIndexForAttributes()
2524 if (!(desc->isActive(toVolumeSource(group)) || isInCall())) { in setVolumeIndexForAttributes()
2561 (vs == toVolumeSource(AUDIO_STREAM_SYSTEM)? in setVolumeIndexForAttributes()
2586 ((vs == toVolumeSource(AUDIO_STREAM_SYSTEM))? in setVolumeIndexForAttributes()
2690 if (activeOnly && !desc->isActive(toVolumeSource(AUDIO_STREAM_MUSIC))) { in selectOutputForMusicEffects()
2796 return mOutputs.isActive(toVolumeSource(stream), inPastMs); in isStreamActive()
2801 return mOutputs.isActiveRemotely(toVolumeSource(stream), inPastMs); in isStreamActiveRemotely()
3835 toVolumeSource(*attributes)); in startAudioSource()
4002 return computeVolume(getVolumeCurves(stream), toVolumeSource(stream), index, device); in getStreamVolumeDB()
5287 if (outputDesc->isActive(toVolumeSource(curStream))) { in getDevicesForStream()
5362 auto ttsVolumeSource = toVolumeSource(AUDIO_STREAM_TTS); in setBeaconMute()
5689 const auto callVolumeSrc = toVolumeSource(AUDIO_STREAM_VOICE_CALL); in computeVolume()
5690 const auto ringVolumeSrc = toVolumeSource(AUDIO_STREAM_RING); in computeVolume()
5691 const auto musicVolumeSrc = toVolumeSource(AUDIO_STREAM_MUSIC); in computeVolume()
5692 const auto alarmVolumeSrc = toVolumeSource(AUDIO_STREAM_ALARM); in computeVolume()
5694 if (volumeSource == toVolumeSource(AUDIO_STREAM_ACCESSIBILITY) in computeVolume()
5705 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM) || in computeVolume()
5708 volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION) || in computeVolume()
5709 volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE) || in computeVolume()
5710 volumeSource == toVolumeSource(AUDIO_STREAM_DTMF) || in computeVolume()
5711 volumeSource == toVolumeSource(AUDIO_STREAM_ACCESSIBILITY))) { in computeVolume()
5744 (volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION)) || in computeVolume()
5745 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM)) || in computeVolume()
5746 ((volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE)) && in computeVolume()
5791 VolumeSource toVolumeSource) in rescaleVolumeIndex() argument
5793 if (fromVolumeSource == toVolumeSource) { in rescaleVolumeIndex()
5797 auto &dstCurves = getVolumeCurves(toVolumeSource); in rescaleVolumeIndex()
5829 VolumeSource callVolSrc = toVolumeSource(AUDIO_STREAM_VOICE_CALL); in checkAndSetVolume()
5830 VolumeSource btScoVolSrc = toVolumeSource(AUDIO_STREAM_BLUETOOTH_SCO); in checkAndSetVolume()
5880 auto &curves = getVolumeCurves(toVolumeSource(volumeGroup)); in applyStreamVolumes()
5881 checkAndSetVolume(curves, toVolumeSource(volumeGroup), in applyStreamVolumes()
5896 VolumeSource source = toVolumeSource(attributes); in setStrategyMute()
5920 (volumeSource != toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE) || in setVolumeSourceMute()