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()
153 VolumeSource volumeSource, in setVolume() argument
162 if (volumeDb != getCurVolume(volumeSource) || force) { in setVolume()
163 … ALOGV("%s for volumeSrc %d, volume %f, delay %d", __func__, volumeSource, volumeDb, delayMs); in setVolume()
164 setCurVolume(volumeSource, volumeDb); in setVolume()
233 return client->volumeSource() != volumeSourceToIgnore; }) != end(mActiveClients); in isAnyActive()
653 VolumeSource volumeSource, const StreamTypeVector &streams, in setVolume() argument
659 volumeDb, volumeSource, streams, deviceTypes, delayMs, force); in setVolume()
668 bool SwAudioOutputCollection::isActive(VolumeSource volumeSource, uint32_t inPastMs) const in isActive() argument
[all …]
DClientDescriptor.cpp87 product_strategy_t strategy, VolumeSource volumeSource) : in SourceClientDescriptor() argument
90 stream, strategy, volumeSource, AUDIO_OUTPUT_FLAG_NONE, false,
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h162 VolumeSource volumeSource, const StreamTypeVector &streams,
187 bool isActive(VolumeSource volumeSource = VOLUME_SOURCE_NONE,
347 VolumeSource volumeSource, const StreamTypeVector &streams,
421 VolumeSource volumeSource, const StreamTypeVector &streams,
438 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
448 bool isActiveRemotely(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
458 bool isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
532 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
DClientDescriptor.h90 product_strategy_t strategy, VolumeSource volumeSource, in TrackClientDescriptor() argument
96 mStream(stream), mStrategy(strategy), mVolumeSource(volumeSource), mFlags(flags), in TrackClientDescriptor()
110 VolumeSource volumeSource() const { return mVolumeSource; } in volumeSource() function
189 VolumeSource volumeSource);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1591 auto clientVolSrc = client->volumeSource(); in startSource()
1712 checkAndSetVolume(curves, client->volumeSource(), in startSource()
1786 auto clientVolSrc = client->volumeSource(); in stopSource()
2552 if (isHigherPriority && (client->volumeSource() != vs)) { in setVolumeIndexForAttributes()
2559 client->volumeSource(), toString(client->attributes()).c_str(), i); in setVolumeIndexForAttributes()
2565 if (client->volumeSource() == vs) { in setVolumeIndexForAttributes()
5768 VolumeSource volumeSource, in computeVolume() argument
5784 if (volumeSource == a11yVolumeSrc in computeVolume()
5793 if ((volumeSource != callVolumeSrc && (isInCall() || in computeVolume()
5795 (volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM) || in computeVolume()
[all …]
DAudioPolicyManager.h389 IVolumeCurves &getVolumeCurves(VolumeSource volumeSource) in getVolumeCurves() argument
392 static_cast<volume_group_t>(volumeSource)); in getVolumeCurves()
393 ALOG_ASSERT(curves != nullptr, "No curves for volume source %d", volumeSource); in getVolumeCurves()
434 VolumeSource volumeSource,
444 VolumeSource volumeSource, int index,
478 void setVolumeSourceMute(VolumeSource volumeSource,