Searched refs:toVolumeSource (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 233 !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/ |
D | Engine.cpp | 158 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/ |
D | AudioPolicyManager.h | 377 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);
|
D | AudioPolicyManager.cpp | 1069 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/ |
D | EngineBase.h | 121 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function
|