Searched refs:memInfo (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | PerformanceCollector.java | 499 Debug.MemoryInfo memInfo = new Debug.MemoryInfo(); in endPerformanceSnapshot() local 500 Debug.getMemoryInfo(memInfo); in endPerformanceSnapshot() 526 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_PSS, memInfo.nativePss); in endPerformanceSnapshot() 527 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_PRIVATE_DIRTY, memInfo.nativePrivateDirty); in endPerformanceSnapshot() 528 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_SHARED_DIRTY, memInfo.nativeSharedDirty); in endPerformanceSnapshot() 533 mPerfSnapshot.putLong(METRIC_KEY_JAVA_PSS, memInfo.dalvikPss); in endPerformanceSnapshot() 534 mPerfSnapshot.putLong(METRIC_KEY_JAVA_PRIVATE_DIRTY, memInfo.dalvikPrivateDirty); in endPerformanceSnapshot() 535 mPerfSnapshot.putLong(METRIC_KEY_JAVA_SHARED_DIRTY, memInfo.dalvikSharedDirty); in endPerformanceSnapshot() 537 mPerfSnapshot.putLong(METRIC_KEY_OTHER_PSS, memInfo.otherPss); in endPerformanceSnapshot() 538 mPerfSnapshot.putLong(METRIC_KEY_OTHER_PRIVATE_DIRTY, memInfo.otherPrivateDirty); in endPerformanceSnapshot() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 1236 private void dumpMemInfo(PrintWriter pw, Debug.MemoryInfo memInfo, boolean checkin, in dumpMemInfo() argument 1271 dumpMemInfoTable(pw, memInfo, checkin, dumpFullInfo, dumpDalvik, dumpSummaryOnly, in dumpMemInfo() 1387 private void dumpMemInfo(ProtoOutputStream proto, Debug.MemoryInfo memInfo, in dumpMemInfo() argument 1427 dumpMemInfoTable(proto, memInfo, dumpDalvik, dumpSummaryOnly, in dumpMemInfo() 2509 public static void dumpMemInfoTable(PrintWriter pw, Debug.MemoryInfo memInfo, boolean checkin, in dumpMemInfoTable() argument 2544 pw.print(memInfo.nativePss); pw.print(','); in dumpMemInfoTable() 2545 pw.print(memInfo.dalvikPss); pw.print(','); in dumpMemInfoTable() 2546 pw.print(memInfo.otherPss); pw.print(','); in dumpMemInfoTable() 2547 pw.print(memInfo.getTotalPss()); pw.print(','); in dumpMemInfoTable() 2550 pw.print(memInfo.nativeSwappablePss); pw.print(','); in dumpMemInfoTable() [all …]
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 508 MemoryInfo memInfo = new MemoryInfo(); in getMemoryInfo() local 509 activityManager.getMemoryInfo(memInfo); in getMemoryInfo() 510 return memInfo; in getMemoryInfo() 521 MemoryInfo memInfo = getMemoryInfo(); in updateSystemInfo() local 524 getReadableMemory(memInfo.availMem) + " from " + in updateSystemInfo() 525 getReadableMemory(memInfo.totalMem) + ".\nVisible " + in updateSystemInfo()
|
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/ |
D | NativeProcessesMemoryTest.java | 147 String memInfo = getDevice().executeShellCommand(DUMPSYS_MEMINFO_OOM_CMD); in collectNativeProcesses() local 149 for (String line : memInfo.split(LINE_SEPARATOR)) { in collectNativeProcesses()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 1923 MemInfoReader memInfo = null; 1927 memInfo = new MemInfoReader(); 1930 if (memInfo != null) { 1949 memInfo.readMemInfo(); 1953 final long cachedKb = memInfo.getCachedSizeKb(); 1954 final long freeKb = memInfo.getFreeSizeKb(); 1955 final long zramKb = memInfo.getZramTotalSizeKb(); 1956 final long kernelKb = memInfo.getKernelUsedSizeKb(); 4416 final Debug.MemoryInfo memInfo = new Debug.MemoryInfo(); in getProcessMemoryInfo() local 4417 Debug.getMemoryInfo(pids[i], memInfo); in getProcessMemoryInfo() [all …]
|