Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java75 String memoryUsage = null; in getPid() local
77 memoryUsage = captureMemInfo(); in getPid()
78 String[] poList2 = memoryUsage.split("\t|\\s+"); in getPid()
89 String memoryUsage = null; in captureMemInfo() local
99 memoryUsage = sb.toString(); in captureMemInfo()
103 String[] poList = memoryUsage.split("\r|\n|\r\n"); in captureMemInfo()
111 String memoryUsage = captureMemInfo(); in getVsize() local
112 String[] poList2 = memoryUsage.split("\t|\\s+"); in getVsize()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp54 if (mTotalEffectsMemory + desc->memoryUsage > getMaxEffectsMemory()) { in registerEffect()
56 desc->name, desc->memoryUsage); in registerEffect()
59 mTotalEffectsMemory += desc->memoryUsage; 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()
98 effectDesc->mDesc.name, id, effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp103 video->memoryUsage = sizeof(VideoDecData); in PVInitVideoDecoder()
117 video->memoryUsage += nLayers * sizeof(Vol *); in PVInitVideoDecoder()
136 video->memoryUsage += (sizeof(Vop) * 2); in PVInitVideoDecoder()
146 video->memoryUsage += (sizeof(Vop) * 2); in PVInitVideoDecoder()
157 video->memoryUsage += (sizeof(Vop *) * nLayers); in PVInitVideoDecoder()
184 video->memoryUsage += (sizeof(Vop)); in PVInitVideoDecoder()
188 video->memoryUsage += sizeof(Vol); in PVInitVideoDecoder()
201 video->memoryUsage += sizeof(Vol); in PVInitVideoDecoder()
207 video->memoryUsage += sizeof(BitstreamDecVideo); in PVInitVideoDecoder()
223 video->memoryUsage += buffer_size; in PVInitVideoDecoder()
[all …]
Dmp4lib_int.h265 int32 memoryUsage; member
/frameworks/base/tools/preload/
DMemoryUsage.java180 if (measurer.memoryUsage == null) { in forClass()
191 if (measurer.memoryUsage == null) { in forClass()
199 return measurer.memoryUsage; in forClass()
206 MemoryUsage memoryUsage = null; field in MemoryUsage.MeasureWithTimeout
216 memoryUsage = measured; in run()
DLoadedClass.java37 MemoryUsage memoryUsage = MemoryUsage.NOT_AVAILABLE; field in LoadedClass
54 this.memoryUsage = MemoryUsage.forClass(name); in measureMemoryUsage()
DPrintCsv.java106 if (loadedClass.memoryUsage.isAvailable()) { in printRow()
108 = loadedClass.memoryUsage.subtract(baseline); in printRow()
DPrintHtmlDiff.java124 if (clazz.memoryUsage.isAvailable()) { in printTable()
126 = clazz.memoryUsage.subtract(baseline); in printTable()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java322 String memoryUsage = null; in captureMediaserverInfo() local
332 memoryUsage = sb.toString(); in captureMediaserverInfo()
336 String[] poList = memoryUsage.split("\r|\n|\r\n"); in captureMediaserverInfo()
350 String memoryUsage = null; in getMediaserverPid() local
352 memoryUsage = captureMediaserverInfo(); in getMediaserverPid()
353 String[] poList2 = memoryUsage.split("\t|\\s+"); in getMediaserverPid()
361 String memoryUsage = captureMediaserverInfo(); in getMediaserverVsize() local
362 String[] poList2 = memoryUsage.split("\t|\\s+"); in getMediaserverVsize()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DPrecomputedTextMemoryUsageTest.java49 private void reportMemoryUsage(int memoryUsage, String key) { in reportMemoryUsage() argument
51 status.putInt(key + "_median", memoryUsage); in reportMemoryUsage()
/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp65 halDescriptor->memoryUsage = descriptor.memoryUsage; in effectDescriptorToHal()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1941 int memoryUsage; in updateAppWidgetInstanceLocked() local
1944 ((memoryUsage = widget.views.estimateMemoryUsage()) > mMaxWidgetBitmapMemory)) { in updateAppWidgetInstanceLocked()
1947 + " maximum bitmap memory usage (used: " + memoryUsage in updateAppWidgetInstanceLocked()