Searched refs:memoryStat (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | MemoryStatUtil.java | 192 final MemoryStat memoryStat = new MemoryStat(); in parseMemoryStatFromMemcg() local 193 memoryStat.pgfault = tryParseLong(PGFAULT, memoryStatContents); in parseMemoryStatFromMemcg() 194 memoryStat.pgmajfault = tryParseLong(PGMAJFAULT, memoryStatContents); in parseMemoryStatFromMemcg() 195 memoryStat.rssInBytes = tryParseLong(RSS_IN_BYTES, memoryStatContents); in parseMemoryStatFromMemcg() 196 memoryStat.cacheInBytes = tryParseLong(CACHE_IN_BYTES, memoryStatContents); in parseMemoryStatFromMemcg() 197 memoryStat.swapInBytes = tryParseLong(SWAP_IN_BYTES, memoryStatContents); in parseMemoryStatFromMemcg() 198 return memoryStat; in parseMemoryStatFromMemcg() 221 final MemoryStat memoryStat = new MemoryStat(); in parseMemoryStatFromProcfs() local 222 memoryStat.pgfault = Long.parseLong(splits[PGFAULT_INDEX]); in parseMemoryStatFromProcfs() 223 memoryStat.pgmajfault = Long.parseLong(splits[PGMAJFAULT_INDEX]); in parseMemoryStatFromProcfs() [all …]
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 1176 final MemoryStat memoryStat = readMemoryStatFromFilesystem(processMemoryState.uid, in pullProcessMemoryState() local 1178 if (memoryStat == null) { in pullProcessMemoryState() 1185 e.writeLong(memoryStat.pgfault); in pullProcessMemoryState() 1186 e.writeLong(memoryStat.pgmajfault); in pullProcessMemoryState() 1187 e.writeLong(memoryStat.rssInBytes); in pullProcessMemoryState() 1188 e.writeLong(memoryStat.cacheInBytes); in pullProcessMemoryState() 1189 e.writeLong(memoryStat.swapInBytes); in pullProcessMemoryState() 1191 e.writeLong(memoryStat.startTimeNanos); in pullProcessMemoryState() 1192 e.writeInt(anonAndSwapInKilobytes(memoryStat)); in pullProcessMemoryState() 1204 MemoryStat memoryStat = readMemoryStatFromProcfs(pid); in pullNativeProcessMemoryState() local [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityMetricsLogger.java | 943 final MemoryStat memoryStat = readMemoryStatFromFilesystem(uid, pid); in logAppStartMemoryStateCapture() local 944 if (memoryStat == null) { in logAppStartMemoryStateCapture() 954 memoryStat.pgfault, in logAppStartMemoryStateCapture() 955 memoryStat.pgmajfault, in logAppStartMemoryStateCapture() 956 memoryStat.rssInBytes, in logAppStartMemoryStateCapture() 957 memoryStat.cacheInBytes, in logAppStartMemoryStateCapture() 958 memoryStat.swapInBytes); in logAppStartMemoryStateCapture()
|