Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp153 if (!(isInCall() || outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL)))) { in filterOutputDevicesForStrategy()
238 if (outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in remapStrategyFromContext()
244 if (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in remapStrategyFromContext()
245 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM))) { in remapStrategyFromContext()
391 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForStrategyInt()
394 toVolumeSource(AUDIO_STREAM_ACCESSIBILITY), in getDevicesForStrategyInt()
397 bool ringActiveLocally = outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_RING), 0); in getDevicesForStrategyInt()
/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/managerdefault/
DAudioPolicyManager.h420 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() function
424 VolumeSource toVolumeSource(const audio_attributes_t &attributes) const in toVolumeSource() function
426 return toVolumeSource(mEngine->getVolumeGroupForAttributes(attributes)); in toVolumeSource()
428 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function
430 return toVolumeSource(mEngine->getVolumeGroupForStreamType(stream)); in toVolumeSource()
484 VolumeSource toVolumeSource);
DAudioPolicyManager.cpp1191 toVolumeSource(resultAttr), in getOutputForAttr()
1795 toVolumeSource(AUDIO_STREAM_TTS) /*sourceToIgnore*/)) { in startSource()
2716 VolumeSource vs = toVolumeSource(group); in setVolumeIndexForAttributes()
2817 ((vs == toVolumeSource(AUDIO_STREAM_SYSTEM))? in setVolumeIndexForAttributes()
2921 if (activeOnly && !desc->isActive(toVolumeSource(AUDIO_STREAM_MUSIC))) { in selectOutputForMusicEffects()
3019 return mOutputs.isActive(toVolumeSource(stream), inPastMs); in isStreamActive()
3024 return mOutputs.isActiveRemotely(toVolumeSource(stream), inPastMs); in isStreamActiveRemotely()
4411 toVolumeSource(*attributes)); in startAudioSource()
4547 return computeVolume(getVolumeCurves(stream), toVolumeSource(stream), index, {device}); in getStreamVolumeDB()
5844 outputDesc->isActive(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) && in getNewOutputDevices()
[all …]
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h123 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function