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.cpp43 mTotalEffectsMemory(0), in EffectDescriptorCollection()
59 if (mTotalEffectsMemory + desc->memoryUsage > getMaxEffectsMemory()) { in registerEffect()
64 mTotalEffectsMemory += desc->memoryUsage; in registerEffect()
65 if (mTotalEffectsMemory > mTotalEffectsMemoryMaxUsed) { in registerEffect()
66 mTotalEffectsMemoryMaxUsed = mTotalEffectsMemory; in registerEffect()
70 ALOGV("registerEffect() memory %d, total memory %d", desc->memoryUsage, mTotalEffectsMemory); in registerEffect()
96 if (mTotalEffectsMemory < effectDesc->mDesc.memoryUsage) { in unregisterEffect()
98 effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
99 effectDesc->mDesc.memoryUsage = mTotalEffectsMemory; in unregisterEffect()
101 mTotalEffectsMemory -= effectDesc->mDesc.memoryUsage; in unregisterEffect()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h122 uint32_t mTotalEffectsMemory; // current memory used by effects (in KB) variable