Searched refs:totalMemory (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/cmds/statsd/src/guardrail/
H A DMemoryLeakTrackUtil.cpp51 size_t* totalMemory, size_t* backtraceSize);
59 size_t totalMemory; local
61 get_malloc_leak_info(&info, &overallSize, &infoSize, &totalMemory, &backtraceSize);
71 oss << totalMemory << " bytes in " << count << " allocations\n";
/frameworks/av/media/utils/
H A DMemoryLeakTrackUtil.cpp51 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
60 size_t totalMemory; local
62 get_malloc_leak_info(&info, &overallSize, &infoSize, &totalMemory, &backtraceSize);
72 oss << totalMemory << " bytes in " << count << " allocations\n";
/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp34 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
50 size_t totalMemory; member in struct:Header
83 &header.totalMemory, &header.backtraceSize);
85 ALOGD("*** mapSize: %zu allocSize: %zu allocInfoSize: %zu totalMemory: %zu",
86 header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory);
H A Dandroid_os_Debug.cpp940 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
1005 size_t overallSize, infoSize, totalMemory, backtraceSize; local
1007 get_malloc_leak_info(&info, &overallSize, &infoSize, &totalMemory,
1024 fprintf(fp, "Total memory: %zu\n", totalMemory);
H A Dandroid_media_AudioSystem.cpp623 JNIEnv *env, jobject clazz, jboolean isLowRamDevice, jlong totalMemory)
625 return (jint) AudioSystem::setLowRamDevice((bool) isLowRamDevice, (int64_t) totalMemory);
622 android_media_AudioSystem_setLowRamDevice( JNIEnv *env, jobject clazz, jboolean isLowRamDevice, jlong totalMemory) argument
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
H A DTimedStatement.java127 return mRuntime.totalMemory() - mRuntime.freeMemory();
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java497 long dalvikMax = runtime.totalMemory() / 1024;
/frameworks/av/media/libaudioclient/
H A DIAudioFlinger.cpp714 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override
721 ?: data.writeInt64(totalMemory)
1341 int64_t totalMemory; local
1344 data.readInt64(&totalMemory) ?:
1345 setLowRamDevice(isLowRamDevice != 0, totalMemory);
H A DAudioSystem.cpp1063 status_t AudioSystem::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) argument
1067 return af->setLowRamDevice(isLowRamDevice, totalMemory);
/frameworks/av/include/media/
H A DAudioSystem.h286 static status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory);
H A DIAudioFlinger.h459 // android.app.ActivityManager.isLowRamDevice(). The totalMemory parameter
461 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
/frameworks/av/media/libaudioclient/include/media/
H A DAudioSystem.h286 static status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory);
H A DIAudioFlinger.h459 // android.app.ActivityManager.isLowRamDevice(). The totalMemory parameter
461 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
/frameworks/base/media/java/android/media/
H A DAudioSystem.java806 public static native int setLowRamDevice(boolean isLowRamDevice, long totalMemory); argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h227 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
H A DAudioFlinger.cpp1885 status_t AudioFlinger::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) argument
1896 mTotalMemory = totalMemory;
1917 ALOGD("isLowRamDevice:%s totalMemory:%lld mClientSharedHeapSize:%zu",
/frameworks/base/core/java/android/app/
H A DActivityThread.java1088 long dalvikMax = runtime.totalMemory() / 1024;
1240 long dalvikMax = runtime.totalMemory() / 1024;
6505 long dalvikUsed = runtime.totalMemory() - runtime.freeMemory();
6508 + " total=" + (runtime.totalMemory()/1024)
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java7297 long totalMemory = 1024 * 1024 * 1024; // 1GB is the default if ActivityManager fails.
7302 totalMemory = info.totalMem;
7308 final int status = AudioSystem.setLowRamDevice(isLowRamDevice, totalMemory);

Completed in 232 milliseconds