Home
last modified time | relevance | path

Searched refs:volumeSource (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp84 mVolumeActivities[client->volumeSource()].setStopTime(sysTime); in setStopTime()
105 mVolumeActivities[client->volumeSource()].changeActivityCount(delta); in setClientActive()
159 VolumeSource volumeSource, in setVolume() argument
174 if (volumeDb != getCurVolume(volumeSource) || force) { in setVolume()
175 … ALOGV("%s for volumeSrc %d, volume %f, delay %d", __func__, volumeSource, volumeDb, delayMs); in setVolume()
176 setCurVolume(volumeSource, volumeDb); in setVolume()
245 return client->volumeSource() != volumeSourceToIgnore; }) != end(mActiveClients); in isAnyActive()
683 VolumeSource volumeSource, const StreamTypeVector &streams, in setVolume() argument
689 volumeDb, volumeSource, streams, deviceTypes, delayMs, force); in setVolume()
698 bool SwAudioOutputCollection::isActive(VolumeSource volumeSource, uint32_t inPastMs) const in isActive() argument
[all …]
DClientDescriptor.cpp94 product_strategy_t strategy, VolumeSource volumeSource) : in SourceClientDescriptor() argument
97 stream, strategy, volumeSource, AUDIO_OUTPUT_FLAG_NONE, false,
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h162 VolumeSource volumeSource, const StreamTypeVector &streams,
188 bool isActive(VolumeSource volumeSource = VOLUME_SOURCE_NONE,
356 VolumeSource volumeSource, const StreamTypeVector &streams,
439 VolumeSource volumeSource, const StreamTypeVector &streams,
456 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
466 bool isActiveRemotely(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
476 bool isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
545 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
DClientDescriptor.h91 product_strategy_t strategy, VolumeSource volumeSource, in TrackClientDescriptor() argument
98 mStream(stream), mStrategy(strategy), mVolumeSource(volumeSource), mFlags(flags), in TrackClientDescriptor()
115 VolumeSource volumeSource() const { return mVolumeSource; } in volumeSource() function
200 VolumeSource volumeSource);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1789 auto clientVolSrc = client->volumeSource(); in startSource()
1910 checkAndSetVolume(curves, client->volumeSource(), in startSource()
1985 auto clientVolSrc = client->volumeSource(); in stopSource()
2787 if (isHigherPriority && (client->volumeSource() != vs)) { in setVolumeIndexForAttributes()
2794 client->volumeSource(), toString(client->attributes()).c_str(), i); in setVolumeIndexForAttributes()
2800 if (client->volumeSource() == vs) { in setVolumeIndexForAttributes()
6362 VolumeSource volumeSource, in computeVolume() argument
6378 if (volumeSource == a11yVolumeSrc in computeVolume()
6387 if ((volumeSource != callVolumeSrc && (isInCall() || in computeVolume()
6389 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM) || in computeVolume()
[all …]
DAudioPolicyManager.h432 IVolumeCurves &getVolumeCurves(VolumeSource volumeSource) in getVolumeCurves() argument
435 static_cast<volume_group_t>(volumeSource)); in getVolumeCurves()
436 ALOG_ASSERT(curves != nullptr, "No curves for volume source %d", volumeSource); in getVolumeCurves()
477 VolumeSource volumeSource,
487 VolumeSource volumeSource, int index,
521 void setVolumeSourceMute(VolumeSource volumeSource,