Home
last modified time | relevance | path

Searched refs:toVolumeSource (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp179 if (outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_RING)) in isBtScoActive()
212 if (!(isInCall() || outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL)))) { in filterOutputDevicesForStrategy()
310 if (outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in remapStrategyFromContext()
316 if (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in remapStrategyFromContext()
317 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM))) { in remapStrategyFromContext()
511 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForStrategyInt()
514 toVolumeSource(AUDIO_STREAM_ACCESSIBILITY), in getDevicesForStrategyInt()
517 bool ringActiveLocally = outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_RING), 0); in getDevicesForStrategyInt()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp362 !outputs.isActiveRemotely(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
364 outputs.isActive(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
368 (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDevicesForProductStrategy()
369 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM)))) { in getDevicesForProductStrategy()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h483 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() function
500 VolumeSource toVolumeSource(
503 return toVolumeSource(mEngine->getVolumeGroupForAttributes(
506 VolumeSource toVolumeSource(
509 return toVolumeSource(mEngine->getVolumeGroupForStreamType(
606 VolumeSource toVolumeSource);
DAudioPolicyManager.cpp850 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()
[all …]
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h139 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function