Lines Matching refs:toVolumeSource
850 mCommunnicationStrategy, toVolumeSource(aa), true, in connectTelephonyTxAudioSource()
1496 toVolumeSource(resultAttr), in getOutputForAttr()
2385 toVolumeSource(AUDIO_STREAM_TTS, false) /*sourceToIgnore*/)) { in startSource()
3462 VolumeSource vs = toVolumeSource(group); in setVolumeIndexForAttributes()
3465 VolumeSource activityVs = (vs == toVolumeSource(AUDIO_STREAM_BLUETOOTH_SCO, false)) ? in setVolumeIndexForAttributes()
3466 toVolumeSource(AUDIO_STREAM_VOICE_CALL, false) : vs; in setVolumeIndexForAttributes()
3572 ((vs == toVolumeSource(AUDIO_STREAM_SYSTEM, false))? in setVolumeIndexForAttributes()
3691 if (activeOnly && !desc->isActive(toVolumeSource(AUDIO_STREAM_MUSIC))) { in selectOutputForMusicEffects()
3790 auto vs = toVolumeSource(stream, false); in isStreamActive()
3796 auto vs = toVolumeSource(stream, false); in isStreamActiveRemotely()
5099 mEngine->getProductStrategyForAttributes(attributes), toVolumeSource(attributes), in createAudioPatch()
5812 toVolumeSource(*attributes), internal, isCallRx, false); in startAudioSourceInternal()
5906 return computeVolume(getVolumeCurves(stream), toVolumeSource(stream), index, {device}); in getStreamVolumeDB()
7505 outputDesc->isActive(toVolumeSource(AUDIO_STREAM_VOICE_CALL, false))) && in getNewOutputDevices()
7656 auto ttsVolumeSource = toVolumeSource(AUDIO_STREAM_TTS, false); in setBeaconMute()
8057 VolumeSource vsToDriveAbs = toVolumeSource(groupToDriveAbs); in adjustDeviceAttenuationForAbsVolume()
8098 const auto callVolumeSrc = toVolumeSource(AUDIO_STREAM_VOICE_CALL, false); in computeVolume()
8099 const auto ringVolumeSrc = toVolumeSource(AUDIO_STREAM_RING, false); in computeVolume()
8100 const auto musicVolumeSrc = toVolumeSource(AUDIO_STREAM_MUSIC, false); in computeVolume()
8101 const auto alarmVolumeSrc = toVolumeSource(AUDIO_STREAM_ALARM, false); in computeVolume()
8102 const auto a11yVolumeSrc = toVolumeSource(AUDIO_STREAM_ACCESSIBILITY, false); in computeVolume()
8114 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM, false) || in computeVolume()
8117 volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION, false) || in computeVolume()
8118 volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE, false) || in computeVolume()
8119 volumeSource == toVolumeSource(AUDIO_STREAM_DTMF, false) || in computeVolume()
8158 (volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION, false)) || in computeVolume()
8159 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM, false)) || in computeVolume()
8160 ((volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE, false)) && in computeVolume()
8210 VolumeSource toVolumeSource) in rescaleVolumeIndex() argument
8212 if (fromVolumeSource == toVolumeSource) { in rescaleVolumeIndex()
8216 auto &dstCurves = getVolumeCurves(toVolumeSource); in rescaleVolumeIndex()
8308 const VolumeSource callVolSrc = toVolumeSource(AUDIO_STREAM_VOICE_CALL, false); in isVolumeConsistentForCalls()
8309 const VolumeSource btScoVolSrc = toVolumeSource(AUDIO_STREAM_BLUETOOTH_SCO, false); in isVolumeConsistentForCalls()
8334 auto &curves = getVolumeCurves(toVolumeSource(volumeGroup)); in applyStreamVolumes()
8335 checkAndSetVolume(curves, toVolumeSource(volumeGroup), in applyStreamVolumes()
8351 VolumeSource source = toVolumeSource(attributes, false); in setStrategyMute()
8377 (volumeSource != toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE, false) || in setVolumeSourceMute()