Searched refs:toVolumeSource (Results 1 – 5 of 5) sorted by relevance
227 !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()
156 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()
366 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() function370 VolumeSource toVolumeSource(const audio_attributes_t &attributes) const in toVolumeSource() function372 return toVolumeSource(mEngine->getVolumeGroupForAttributes(attributes)); in toVolumeSource()374 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function376 return toVolumeSource(mEngine->getVolumeGroupForStreamType(stream)); in toVolumeSource()430 VolumeSource toVolumeSource);
1096 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 …]
109 VolumeSource toVolumeSource(audio_stream_type_t stream) const in toVolumeSource() function