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.cpp48 mTotalEffectsMemory(0), in EffectDescriptorCollection()
60 if (mTotalEffectsMemory + desc->memoryUsage > getMaxEffectsMemory()) { in registerEffect()
65 mTotalEffectsMemory += desc->memoryUsage; in registerEffect()
66 if (mTotalEffectsMemory > mTotalEffectsMemoryMaxUsed) { in registerEffect()
67 mTotalEffectsMemoryMaxUsed = mTotalEffectsMemory; in registerEffect()
71 ALOGV("registerEffect() memory %d, total memory %d", desc->memoryUsage, mTotalEffectsMemory); in registerEffect()
97 if (mTotalEffectsMemory < effectDesc->mDesc.memoryUsage) { in unregisterEffect()
99 effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
100 effectDesc->mDesc.memoryUsage = mTotalEffectsMemory; in unregisterEffect()
102 mTotalEffectsMemory -= effectDesc->mDesc.memoryUsage; in unregisterEffect()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h59 uint32_t mTotalEffectsMemory; // current memory used by effects (in KB) variable