Searched refs:parseMemoryStatFromProcfs (Results 1 – 3 of 3) sorted by relevance
25 import static com.android.server.am.MemoryStatUtil.parseMemoryStatFromProcfs;272 MemoryStat stat = parseMemoryStatFromProcfs(PROC_STAT_CONTENTS, PROC_STATUS_CONTENTS); in testParseMemoryStatFromProcfs_parsesCorrectValues()284 MemoryStat stat = parseMemoryStatFromProcfs("", PROC_STATUS_CONTENTS); in testParseMemoryStatFromProcfs_emptyContents()287 stat = parseMemoryStatFromProcfs(null, PROC_STATUS_CONTENTS); in testParseMemoryStatFromProcfs_emptyContents()290 stat = parseMemoryStatFromProcfs(PROC_STAT_CONTENTS, ""); in testParseMemoryStatFromProcfs_emptyContents()293 stat = parseMemoryStatFromProcfs(PROC_STAT_CONTENTS, null); in testParseMemoryStatFromProcfs_emptyContents()300 assertNull(parseMemoryStatFromProcfs(contents, PROC_STATUS_CONTENTS)); in testParseMemoryStatFromProcfs_invalidValue()
124 return parseMemoryStatFromProcfs(readFileContents(statPath), readFileContents(statusPath)); in readMemoryStatFromProcfs()206 static MemoryStat parseMemoryStatFromProcfs( in parseMemoryStatFromProcfs() method in MemoryStatUtil
3357 HSPLcom/android/server/am/MemoryStatUtil;->parseMemoryStatFromProcfs(Ljava/lang/String;)Lcom/androi…