Home
last modified time | relevance | path

Searched refs:mTotalEffectsMemory (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp38 mTotalEffectsMemory(0), in EffectDescriptorCollection()
54 if (mTotalEffectsMemory + desc->memoryUsage > getMaxEffectsMemory()) { in registerEffect()
59 mTotalEffectsMemory += desc->memoryUsage; in registerEffect()
60 if (mTotalEffectsMemory > mTotalEffectsMemoryMaxUsed) { in registerEffect()
61 mTotalEffectsMemoryMaxUsed = mTotalEffectsMemory; in registerEffect()
65 ALOGV("registerEffect() memory %d, total memory %d", desc->memoryUsage, mTotalEffectsMemory); in registerEffect()
91 if (mTotalEffectsMemory < effectDesc->mDesc.memoryUsage) { in unregisterEffect()
93 effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
94 effectDesc->mDesc.memoryUsage = mTotalEffectsMemory; in unregisterEffect()
96 mTotalEffectsMemory -= effectDesc->mDesc.memoryUsage; in unregisterEffect()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h81 uint32_t mTotalEffectsMemory; // current memory used by effects (in KB) variable