Home
last modified time | relevance | path

Searched refs:memoryStat (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DMemoryStatUtil.java121 final MemoryStat memoryStat = new MemoryStat(); in parseMemoryStatFromMemcg() local
124 memoryStat.pgfault = m.find() ? Long.valueOf(m.group(1)) : 0; in parseMemoryStatFromMemcg()
126 memoryStat.pgmajfault = m.find() ? Long.valueOf(m.group(1)) : 0; in parseMemoryStatFromMemcg()
128 memoryStat.rssInBytes = m.find() ? Long.valueOf(m.group(1)) : 0; in parseMemoryStatFromMemcg()
130 memoryStat.cacheInBytes = m.find() ? Long.valueOf(m.group(1)) : 0; in parseMemoryStatFromMemcg()
132 memoryStat.swapInBytes = m.find() ? Long.valueOf(m.group(1)) : 0; in parseMemoryStatFromMemcg()
133 return memoryStat; in parseMemoryStatFromMemcg()
151 final MemoryStat memoryStat = new MemoryStat(); in parseMemoryStatFromProcfs() local
152 memoryStat.pgfault = Long.valueOf(splits[PGFAULT_INDEX]); in parseMemoryStatFromProcfs()
153 memoryStat.pgmajfault = Long.valueOf(splits[PGMAJFAULT_INDEX]); in parseMemoryStatFromProcfs()
[all …]
DActivityMetricsLogger.java646 final MemoryStat memoryStat = readMemoryStatFromFilesystem(uid, pid); in logAppStartMemoryStateCapture() local
647 if (memoryStat == null) { in logAppStartMemoryStateCapture()
657 memoryStat.pgfault, in logAppStartMemoryStateCapture()
658 memoryStat.pgmajfault, in logAppStartMemoryStateCapture()
659 memoryStat.rssInBytes, in logAppStartMemoryStateCapture()
660 memoryStat.cacheInBytes, in logAppStartMemoryStateCapture()
661 memoryStat.swapInBytes); in logAppStartMemoryStateCapture()
DActivityManagerService.java26805 final MemoryStat memoryStat = readMemoryStatFromFilesystem(uid, pid); in getMemoryStateForProcesses() local
26806 if (memoryStat == null) { in getMemoryStateForProcesses()
26813 memoryStat.pgfault, in getMemoryStateForProcesses()
26814 memoryStat.pgmajfault, in getMemoryStateForProcesses()
26815 memoryStat.rssInBytes, in getMemoryStateForProcesses()
26816 memoryStat.cacheInBytes, in getMemoryStateForProcesses()
26817 memoryStat.swapInBytes); in getMemoryStateForProcesses()