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.cpp1241 if (mTotalEffectsMemory + desc->memoryUsage > getMaxEffectsMemory()) { in registerEffect()
1243 desc->name, desc->memoryUsage); in registerEffect()
1246 mTotalEffectsMemory += desc->memoryUsage; in registerEffect()
1249 ALOGV("registerEffect() memory %d, total memory %d", desc->memoryUsage, mTotalEffectsMemory); in registerEffect()
1275 if (mTotalEffectsMemory < pDesc->mDesc.memoryUsage) { in unregisterEffect()
1277 pDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
1278 pDesc->mDesc.memoryUsage = mTotalEffectsMemory; in unregisterEffect()
1280 mTotalEffectsMemory -= pDesc->mDesc.memoryUsage; in unregisterEffect()
1282 pDesc->mDesc.name, id, pDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()