/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
memalign.c | 44 VO_MEM_INFO MemInfo; 48 MemInfo.Flag = 0; 49 MemInfo.Size = size + 1; 50 ret = pMemop->Alloc(CodecID, &MemInfo); 53 mem_ptr = (unsigned char *)MemInfo.VBuffer; 63 MemInfo.Flag = 0; 64 MemInfo.Size = size + alignment; 65 ret = pMemop->Alloc(CodecID, &MemInfo); 69 tmp = (unsigned char *)MemInfo.VBuffer;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
mem_align.c | 44 VO_MEM_INFO MemInfo; 48 MemInfo.Flag = 0; 49 MemInfo.Size = size + 1; 50 ret = pMemop->Alloc(CodecID, &MemInfo); 53 mem_ptr = (unsigned char *)MemInfo.VBuffer; 63 MemInfo.Flag = 0; 64 MemInfo.Size = size + alignment; 65 ret = pMemop->Alloc(CodecID, &MemInfo); 69 tmp = (unsigned char *)MemInfo.VBuffer;
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
LoadTestsAutoTest.java | 169 ps.println("** MEMINFO in pid " + Process.myPid() 182 Debug.MemoryInfo memInfo = new Debug.MemoryInfo(); 183 Debug.getMemoryInfo(memInfo); 185 final int nativeShared = memInfo.nativeSharedDirty; 186 final int dalvikShared = memInfo.dalvikSharedDirty; 187 final int otherShared = memInfo.otherSharedDirty; 189 final int nativePrivate = memInfo.nativePrivateDirty; 190 final int dalvikPrivate = memInfo.dalvikPrivateDirty; 191 final int otherPrivate = memInfo.otherPrivateDirty; 200 printRow(ps, formatString, "(Pss):", memInfo.nativePss, memInfo.dalvikPss [all...] |
/frameworks/base/core/java/android/webkit/ |
JniUtil.java | 184 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); 185 manager.getMemoryInfo(memInfo); 186 long leftToAllocate = memInfo.availMem - memInfo.threshold; 187 return !memInfo.lowMemory && bytesRequested < leftToAllocate;
|
/frameworks/base/core/java/com/android/internal/util/ |
MemInfoReader.java | 61 // Permit disk reads here, as /proc/meminfo isn't really "on 69 FileInputStream is = new FileInputStream("/proc/meminfo");
|
/frameworks/base/core/java/android/os/ |
PerformanceCollector.java | 492 Debug.MemoryInfo memInfo = new Debug.MemoryInfo(); 493 Debug.getMemoryInfo(memInfo); 519 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_PSS, memInfo.nativePss); 520 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_PRIVATE_DIRTY, memInfo.nativePrivateDirty); 521 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_SHARED_DIRTY, memInfo.nativeSharedDirty); 526 mPerfSnapshot.putLong(METRIC_KEY_JAVA_PSS, memInfo.dalvikPss); 527 mPerfSnapshot.putLong(METRIC_KEY_JAVA_PRIVATE_DIRTY, memInfo.dalvikPrivateDirty); 528 mPerfSnapshot.putLong(METRIC_KEY_JAVA_SHARED_DIRTY, memInfo.dalvikSharedDirty); 530 mPerfSnapshot.putLong(METRIC_KEY_OTHER_PSS, memInfo.otherPss); 531 mPerfSnapshot.putLong(METRIC_KEY_OTHER_PRIVATE_DIRTY, memInfo.otherPrivateDirty) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
MemoryUtils.java | 32 // getTotalSize() returns the "MemTotal" value from /proc/meminfo.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
MemoryUtils.java | 38 // getTotalSize() returns the "MemTotal" value from /proc/meminfo.
|
/external/webkit/Tools/record-memory-win/ |
main.cpp | 89 unsigned int memInfo = 0;
100 memInfo = (pmc.PrivateUsage);
104 return memInfo;
|
/hardware/ti/omap4xxx/hwc/ |
hal_public.h | 66 /* The `fd' field is used to "export" a meminfo to another process. 74 /* A KERNEL unique identifier for any exported kernel meminfo. Each 75 * exported kernel meminfo will have a unique stamp, but note that in
|
/system/extras/procrank/ |
procrank.c | 52 int fd = open("/proc/meminfo", O_RDONLY); 55 printf("Unable to open /proc/meminfo: %s\n", strerror(errno)); 63 printf("Empty /proc/meminfo");
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
MemoryUsageTest.java | 255 MemoryInfo meminfo = am.getProcessMemoryInfo(pids)[0]; local 256 return meminfo.getTotalPss();
|
/system/core/toolbox/ |
vmstat.c | 142 fprintf(stderr, "vmstat: could not read /proc/meminfo: %s\n", strerror(error)); 162 f = fopen("/proc/meminfo", "r");
|
/frameworks/base/core/java/android/app/ |
ActivityThread.java | [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningProcessesView.java | 443 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); 444 mAm.getMemoryInfo(memInfo); 445 SECONDARY_SERVER_MEM = memInfo.secondaryServerThreshold;
|
/external/chromium/base/ |
process_util_linux.cc | 550 // The format of /proc/meminfo is: 569 FilePath meminfo_file("/proc/meminfo"); 572 LOG(WARNING) << "Failed to open /proc/meminfo."; 579 LOG(WARNING) << "Failed to parse /proc/meminfo. Only found " <<
|
/external/quake/quake/src/WinQuake/ |
sys_dos.cpp | 208 __dpmi_free_mem_info meminfo;
local 233 __dpmi_get_free_memory_information(&meminfo);
237 working_size = meminfo.maximum_locked_page_allocation_in_pages * 4096;
241 working_size = meminfo.largest_available_free_block_in_bytes -
|
/frameworks/base/services/java/com/android/server/am/ |
DeviceMonitor.java | 92 new File(PROC, "meminfo"),
|
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
ConfigGenerator.java | 455 BufferedReader meminfo = new BufferedReader(new FileReader("/proc/meminfo")); local 456 while ((line = meminfo.readLine()) != null) { 473 meminfo.close();
|
/bionic/libc/bionic/ |
sysconf.cpp | 122 FILE* fp = fopen("/proc/meminfo", "r");
|
/frameworks/base/core/jni/ |
android_util_Process.cpp | 416 int fd = open("/proc/meminfo", O_RDONLY); 419 ALOGW("Unable to open /proc/meminfo"); 428 ALOGW("Unable to read /proc/meminfo");
|
android_os_Debug.cpp | 623 "android.os.Debug.Meminfo.NUM_OTHER_STATS=%d expected %d",
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
Monkey.java | 125 * "dumpsys meminfo" 418 * Run "dumpsys meminfo" 425 commandLineReport("meminfo", "dumpsys meminfo"); [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ProcessStats.java | 805 // Permit disk reads here, as /proc/meminfo isn't really "on
|
/frameworks/native/cmds/dumpstate/ |
dumpstate.c | 79 dump_file("MEMORY INFO", "/proc/meminfo");
|