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.cpp158 if (isInCall() || outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDevicesForStrategyInt()
163 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForStrategyInt()
166 toVolumeSource(AUDIO_STREAM_ACCESSIBILITY), in getDevicesForStrategyInt()
291 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDevicesForStrategyInt()
356 if (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDevicesForStrategyInt()
357 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM))) { in getDevicesForStrategyInt()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h377 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() function
381 VolumeSource toVolumeSource(const audio_attributes_t &attributes) const in toVolumeSource() function
383 return toVolumeSource(mEngine->getVolumeGroupForAttributes(attributes)); in toVolumeSource()
385 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function
387 return toVolumeSource(mEngine->getVolumeGroupForStreamType(stream)); in toVolumeSource()
441 VolumeSource toVolumeSource);
DAudioPolicyManager.cpp1069 toVolumeSource(resultAttr), in getOutputForAttr()
1597 toVolumeSource(AUDIO_STREAM_TTS) /*sourceToIgnore*/)) { in startSource()
2481 VolumeSource vs = toVolumeSource(group); in setVolumeIndexForAttributes()
2582 ((vs == toVolumeSource(AUDIO_STREAM_SYSTEM))? in setVolumeIndexForAttributes()
2686 if (activeOnly && !desc->isActive(toVolumeSource(AUDIO_STREAM_MUSIC))) { in selectOutputForMusicEffects()
2794 return mOutputs.isActive(toVolumeSource(stream), inPastMs); in isStreamActive()
2799 return mOutputs.isActiveRemotely(toVolumeSource(stream), inPastMs); in isStreamActiveRemotely()
3964 toVolumeSource(*attributes)); in startAudioSource()
4095 return computeVolume(getVolumeCurves(stream), toVolumeSource(stream), index, {device}); in getStreamVolumeDB()
5372 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