Searched refs:BYTES_IN_KILOBYTE (Results 1 – 2 of 2) sorted by relevance
19 import static com.android.server.am.MemoryStatUtil.BYTES_IN_KILOBYTE;275 assertEquals(126776 * BYTES_IN_KILOBYTE, stat.rssInBytes); in testParseMemoryStatFromProcfs_parsesCorrectValues()277 assertEquals(22 * BYTES_IN_KILOBYTE, stat.swapInBytes); in testParseMemoryStatFromProcfs_parsesCorrectValues()279 assertEquals(37860 * BYTES_IN_KILOBYTE, stat.anonRssInBytes); in testParseMemoryStatFromProcfs_parsesCorrectValues()305 assertEquals(137668, parseVmHWMFromProcfs(PROC_STATUS_CONTENTS) / BYTES_IN_KILOBYTE); in testParseVmHWMFromProcfs_parsesCorrectValue()
47 static final int BYTES_IN_KILOBYTE = 1024; field in MemoryStatUtil225 tryParseLong(PROCFS_RSS_IN_KILOBYTES, procStatusContents) * BYTES_IN_KILOBYTE; in parseMemoryStatFromProcfs()227 tryParseLong(PROCFS_ANON_RSS_IN_KILOBYTES, procStatusContents) * BYTES_IN_KILOBYTE; in parseMemoryStatFromProcfs()229 tryParseLong(PROCFS_SWAP_IN_KILOBYTES, procStatusContents) * BYTES_IN_KILOBYTE; in parseMemoryStatFromProcfs()249 * BYTES_IN_KILOBYTE; in parseVmHWMFromProcfs()