• Home
  • Raw
  • Download

Lines Matching refs:volumeSource

1789     auto clientVolSrc = client->volumeSource();  in startSource()
1910 checkAndSetVolume(curves, client->volumeSource(), in startSource()
1985 auto clientVolSrc = client->volumeSource(); in stopSource()
2787 if (isHigherPriority && (client->volumeSource() != vs)) { in setVolumeIndexForAttributes()
2794 client->volumeSource(), toString(client->attributes()).c_str(), i); in setVolumeIndexForAttributes()
2800 if (client->volumeSource() == vs) { in setVolumeIndexForAttributes()
6362 VolumeSource volumeSource, in computeVolume() argument
6378 if (volumeSource == a11yVolumeSrc in computeVolume()
6387 if ((volumeSource != callVolumeSrc && (isInCall() || in computeVolume()
6389 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM) || in computeVolume()
6390 volumeSource == ringVolumeSrc || volumeSource == musicVolumeSrc || in computeVolume()
6391 volumeSource == alarmVolumeSrc || in computeVolume()
6392 volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION) || in computeVolume()
6393 volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE) || in computeVolume()
6394 volumeSource == toVolumeSource(AUDIO_STREAM_DTMF) || in computeVolume()
6395 volumeSource == a11yVolumeSrc)) { in computeVolume()
6408 ((volumeSource == ringVolumeSrc) || (volumeSource == a11yVolumeSrc)) in computeVolume()
6411 volumeSource, volumeDb); in computeVolume()
6414 volumeSource, volumeDb, callVolumeSrc, maxVoiceVolDb); in computeVolume()
6430 ((volumeSource == alarmVolumeSrc || in computeVolume()
6431 volumeSource == ringVolumeSrc) || in computeVolume()
6432 (volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION)) || in computeVolume()
6433 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM)) || in computeVolume()
6434 ((volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE)) && in computeVolume()
6466 __func__, volumeSource, dumpDeviceTypes(deviceTypes).c_str(), volumeDb, in computeVolume()
6472 (!(volumeSource == alarmVolumeSrc || volumeSource == ringVolumeSrc))) { in computeVolume()
6507 VolumeSource volumeSource, in checkAndSetVolume() argument
6515 if (outputDesc->isMuted(volumeSource)) { in checkAndSetVolume()
6516 ALOGVV("%s: volume source %d muted count %d active=%d", __func__, volumeSource, in checkAndSetVolume()
6517 outputDesc->getMuteCount(volumeSource), outputDesc->isActive(volumeSource)); in checkAndSetVolume()
6522 bool isVoiceVolSrc = callVolSrc == volumeSource; in checkAndSetVolume()
6523 bool isBtScoVolSrc = btScoVolSrc == volumeSource; in checkAndSetVolume()
6532 volumeSource, isScoRequested ? " " : "n ot "); in checkAndSetVolume()
6541 float volumeDb = computeVolume(curves, volumeSource, index, deviceTypes); in checkAndSetVolume()
6549 volumeDb, volumeSource, curves.getStreamTypes(), deviceTypes, delayMs, force); in checkAndSetVolume()
6602 void AudioPolicyManager::setVolumeSourceMute(VolumeSource volumeSource, in setVolumeSourceMute() argument
6611 auto &curves = getVolumeCurves(volumeSource); in setVolumeSourceMute()
6613 if (!outputDesc->isMuted(volumeSource)) { in setVolumeSourceMute()
6615 (volumeSource != toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE) || in setVolumeSourceMute()
6618 checkAndSetVolume(curves, volumeSource, 0, outputDesc, deviceTypes, delayMs); in setVolumeSourceMute()
6623 outputDesc->incMuteCount(volumeSource); in setVolumeSourceMute()
6625 if (!outputDesc->isMuted(volumeSource)) { in setVolumeSourceMute()
6629 if (outputDesc->decMuteCount(volumeSource) == 0) { in setVolumeSourceMute()
6630 checkAndSetVolume(curves, volumeSource, in setVolumeSourceMute()