Searched refs:parseIonHeapSizeFromDebugfs (Results 1 – 2 of 2) sorted by relevance
23 import static com.android.server.am.MemoryStatUtil.parseIonHeapSizeFromDebugfs;354 assertEquals(0, parseIonHeapSizeFromDebugfs("")); in testParseIonHeapSizeFromDebugfs_emptyContents()356 assertEquals(0, parseIonHeapSizeFromDebugfs(null)); in testParseIonHeapSizeFromDebugfs_emptyContents()361 assertEquals(0, parseIonHeapSizeFromDebugfs("<<no-value>>")); in testParseIonHeapSizeFromDebugfs_invalidValue()363 assertEquals(0, parseIonHeapSizeFromDebugfs("\ntotal 12345678901234567890\n")); in testParseIonHeapSizeFromDebugfs_invalidValue()368 assertEquals(55193600, parseIonHeapSizeFromDebugfs(DEBUG_SYSTEM_ION_HEAP_CONTENTS)); in testParseIonHeapSizeFromDebugfs_correctValue()370 assertEquals(159928320, parseIonHeapSizeFromDebugfs(DEBUG_SYSTEM_ION_HEAP_CONTENTS_SARGO)); in testParseIonHeapSizeFromDebugfs_correctValue()
154 return parseIonHeapSizeFromDebugfs(readFileContents(DEBUG_SYSTEM_ION_HEAP_FILE)); in readSystemIonHeapSizeFromDebugfs()275 static long parseIonHeapSizeFromDebugfs(String contents) { in parseIonHeapSizeFromDebugfs() method in MemoryStatUtil