Home
last modified time | relevance | path

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

/hardware/libhardware/include/hardware/
Daudio_effect.h76 uint16_t memoryUsage; // Data Memory usage (see below) member
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp1242 if (mTotalEffectsMemory + desc->memoryUsage > getMaxEffectsMemory()) { in registerEffect()
1244 desc->name, desc->memoryUsage); in registerEffect()
1247 mTotalEffectsMemory += desc->memoryUsage; in registerEffect()
1250 ALOGV("registerEffect() memory %d, total memory %d", desc->memoryUsage, mTotalEffectsMemory); in registerEffect()
1276 if (mTotalEffectsMemory < pDesc->mDesc.memoryUsage) { in unregisterEffect()
1278 pDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
1279 pDesc->mDesc.memoryUsage = mTotalEffectsMemory; in unregisterEffect()
1281 mTotalEffectsMemory -= pDesc->mDesc.memoryUsage; in unregisterEffect()
1283 pDesc->mDesc.name, id, pDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()