Searched refs:volumeDb (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 102 void setVolume(float volumeDb) { mCurVolumeDb = volumeDb; } in setVolume() argument 161 virtual bool setVolume(float volumeDb, 225 void setCurVolume(VolumeSource vs, float volumeDb) in setCurVolume() argument 228 mVolumeActivities[vs].setVolume(volumeDb); in setCurVolume() 355 virtual bool setVolume(float volumeDb, 438 virtual bool setVolume(float volumeDb,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 158 bool AudioOutputDescriptor::setVolume(float volumeDb, 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() 438 bool SwAudioOutputDescriptor::setVolume(float volumeDb, in setVolume() argument 445 if (!AudioOutputDescriptor::setVolume(volumeDb, vs, streamTypes, deviceTypes, delayMs, force)) { in setVolume() 471 int gainValueMb = ((volumeDb * 100)/ gainStepValueInMb) * gainStepValueInMb; in setVolume() 488 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume() 682 bool HwAudioOutputDescriptor::setVolume(float volumeDb, in setVolume() argument 689 volumeDb, volumeSource, streams, deviceTypes, delayMs, force); in setVolume()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 6366 float volumeDb = curves.volIndexToDb(Volume::getDeviceCategory(deviceTypes), index); in computeVolume() local 6383 return ringVolumeDb - 4 > volumeDb ? ringVolumeDb - 4 : volumeDb; in computeVolume() 6411 volumeSource, volumeDb); in computeVolume() 6412 if ((volumeDb > maxVoiceVolDb) && !exemptFromCapping) { in computeVolume() 6414 volumeSource, volumeDb, callVolumeSrc, maxVoiceVolDb); in computeVolume() 6415 volumeDb = maxVoiceVolDb; in computeVolume() 6443 volumeDb += SONIFICATION_HEADSET_VOLUME_FACTOR_DB; in computeVolume() 6454 if (volumeDb > minVolDb) { in computeVolume() 6455 volumeDb = minVolDb; in computeVolume() 6463 if ((volumeDb > -96.0f) && in computeVolume() [all …]
|