Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp233 !outputs.isActiveRemotely(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
235 outputs.isActive(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
241 (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDevicesForProductStrategy()
242 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM)))) { in getDevicesForProductStrategy()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp159 if (isInCall() || outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDevicesForStrategyInt()
164 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForStrategyInt()
167 toVolumeSource(AUDIO_STREAM_ACCESSIBILITY), in getDevicesForStrategyInt()
293 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDevicesForStrategyInt()
358 if (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDevicesForStrategyInt()
359 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM))) { in getDevicesForStrategyInt()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h387 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() function
391 VolumeSource toVolumeSource(const audio_attributes_t &attributes) const in toVolumeSource() function
393 return toVolumeSource(mEngine->getVolumeGroupForAttributes(attributes)); in toVolumeSource()
395 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function
397 return toVolumeSource(mEngine->getVolumeGroupForStreamType(stream)); in toVolumeSource()
451 VolumeSource toVolumeSource);
DAudioPolicyManager.cpp1110 toVolumeSource(resultAttr), in getOutputForAttr()
1650 toVolumeSource(AUDIO_STREAM_TTS) /*sourceToIgnore*/)) { in startSource()
2532 VolumeSource vs = toVolumeSource(group); in setVolumeIndexForAttributes()
2633 ((vs == toVolumeSource(AUDIO_STREAM_SYSTEM))? in setVolumeIndexForAttributes()
2737 if (activeOnly && !desc->isActive(toVolumeSource(AUDIO_STREAM_MUSIC))) { in selectOutputForMusicEffects()
2835 return mOutputs.isActive(toVolumeSource(stream), inPastMs); in isStreamActive()
2840 return mOutputs.isActiveRemotely(toVolumeSource(stream), inPastMs); in isStreamActiveRemotely()
4083 toVolumeSource(*attributes)); in startAudioSource()
4215 return computeVolume(getVolumeCurves(stream), toVolumeSource(stream), index, {device}); in getStreamVolumeDB()
5545 if (outputDesc->isActive(toVolumeSource(curStream))) { in getDevicesForStream()
[all …]
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h121 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function