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.cpp87 mVolumeActivities[client->volumeSource()].setStopTime(sysTime); in setStopTime()
108 mVolumeActivities[client->volumeSource()].changeActivityCount(delta); in setClientActive()
162 VolumeSource volumeSource, in setVolume() argument
178 if (volumeDb != getCurVolume(volumeSource) || force) { in setVolume()
179 … ALOGV("%s for volumeSrc %d, volume %f, delay %d", __func__, volumeSource, volumeDb, delayMs); in setVolume()
180 setCurVolume(volumeSource, volumeDb, isVoiceVolSrc); in setVolume()
267 return client->volumeSource() != volumeSourceToIgnore; }) != end(mActiveClients); in isAnyActive()
834 VolumeSource volumeSource, const StreamTypeVector &streams, in setVolume() argument
841 volumeDb, muted, volumeSource, streams, deviceTypes, delayMs, force, isVoiceVolSrc); in setVolume()
850 bool SwAudioOutputCollection::isActive(VolumeSource volumeSource, uint32_t inPastMs) const in isActive() argument
[all …]
DClientDescriptor.cpp99 product_strategy_t strategy, VolumeSource volumeSource, in SourceClientDescriptor() argument
103 stream, strategy, volumeSource, AUDIO_OUTPUT_FLAG_NONE, false,
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h166 VolumeSource volumeSource, const StreamTypeVector &streams,
193 bool isActive(VolumeSource volumeSource = VOLUME_SOURCE_NONE,
401 VolumeSource volumeSource, const StreamTypeVector &streams,
517 VolumeSource volumeSource, const StreamTypeVector &streams,
535 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
545 bool isActiveRemotely(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
555 bool isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
639 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
DClientDescriptor.h109 product_strategy_t strategy, VolumeSource volumeSource, in TrackClientDescriptor() argument
116 mStream(stream), mStrategy(strategy), mVolumeSource(volumeSource), mFlags(flags), in TrackClientDescriptor()
133 VolumeSource volumeSource() const { return mVolumeSource; } in volumeSource() function
240 VolumeSource volumeSource,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h512 IVolumeCurves &getVolumeCurves(VolumeSource volumeSource) in getVolumeCurves() argument
515 static_cast<volume_group_t>(volumeSource)); in getVolumeCurves()
516 ALOG_ASSERT(curves != nullptr, "No curves for volume source %d", volumeSource); in getVolumeCurves()
599 virtual float computeVolume(IVolumeCurves &curves, VolumeSource volumeSource,
609 VolumeSource volumeSource, int index,
623 bool isVolumeConsistentForCalls(VolumeSource volumeSource,
657 void setVolumeSourceMute(VolumeSource volumeSource,
1397 VolumeSource volumeSource,
DAudioPolicyManager.cpp2379 auto clientVolSrc = client->volumeSource(); in startSource()
2518 if (NO_ERROR != checkAndSetVolume(curves, client->volumeSource(), in startSource()
2662 auto clientVolSrc = client->volumeSource(); in stopSource()
3542 if (isHigherPriority && (client->volumeSource() != activityVs)) { in setVolumeIndexForAttributes()
3549 client->volumeSource(), toString(client->attributes()).c_str(), i); in setVolumeIndexForAttributes()
3555 if (client->volumeSource() == activityVs) { in setVolumeIndexForAttributes()
8037 VolumeSource volumeSource, in adjustDeviceAttenuationForAbsVolume() argument
8058 if (vsToDriveAbs == volumeSource) { in adjustDeviceAttenuationForAbsVolume()
8070 volumeSource, volumeDb, newVolumeDb, volumeDbMax); in adjustDeviceAttenuationForAbsVolume()
8081 VolumeSource volumeSource, in computeVolume() argument
[all …]