Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp227 !outputs.isActiveRemotely(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
229 outputs.isActive(toVolumeSource(AUDIO_STREAM_MUSIC), in getDevicesForProductStrategy()
235 (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDevicesForProductStrategy()
236 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM)))) { in getDevicesForProductStrategy()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp156 if (isInCall() || outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDeviceForStrategyInt()
162 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_MUSIC), in getDeviceForStrategyInt()
165 toVolumeSource(AUDIO_STREAM_ACCESSIBILITY), in getDeviceForStrategyInt()
300 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDeviceForStrategyInt()
373 if (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDeviceForStrategyInt()
374 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM))) { in getDeviceForStrategyInt()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h366 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() function
370 VolumeSource toVolumeSource(const audio_attributes_t &attributes) const in toVolumeSource() function
372 return toVolumeSource(mEngine->getVolumeGroupForAttributes(attributes)); in toVolumeSource()
374 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function
376 return toVolumeSource(mEngine->getVolumeGroupForStreamType(stream)); in toVolumeSource()
430 VolumeSource toVolumeSource);
DAudioPolicyManager.cpp1096 toVolumeSource(resultAttr), in getOutputForAttr()
1615 toVolumeSource(AUDIO_STREAM_TTS) /*sourceToIgnore*/)) { in startSource()
2479 VolumeSource vs = toVolumeSource(group); in setVolumeIndexForAttributes()
2524 if (!(desc->isActive(toVolumeSource(group)) || isInCall())) { in setVolumeIndexForAttributes()
2561 (vs == toVolumeSource(AUDIO_STREAM_SYSTEM)? in setVolumeIndexForAttributes()
2586 ((vs == toVolumeSource(AUDIO_STREAM_SYSTEM))? in setVolumeIndexForAttributes()
2690 if (activeOnly && !desc->isActive(toVolumeSource(AUDIO_STREAM_MUSIC))) { in selectOutputForMusicEffects()
2796 return mOutputs.isActive(toVolumeSource(stream), inPastMs); in isStreamActive()
2801 return mOutputs.isActiveRemotely(toVolumeSource(stream), inPastMs); in isStreamActiveRemotely()
3835 toVolumeSource(*attributes)); in startAudioSource()
[all …]
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h109 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function