Home
last modified time | relevance | path

Searched refs:dataSplit (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticMemoryTest.java215 String dataSplit[] = line[lineCount].trim().split(SEPARATOR); in parseDumpsysInfo() local
216 if ((dataSplit[0].equalsIgnoreCase(NATIVE_HEAP) && dataSplit[1].equalsIgnoreCase(HEAP)) in parseDumpsysInfo()
217 || (dataSplit[0].equalsIgnoreCase(DALVIK_HEAP) in parseDumpsysInfo()
218 && dataSplit[1].equalsIgnoreCase(HEAP)) in parseDumpsysInfo()
219 || dataSplit[0].equalsIgnoreCase("Total")) { in parseDumpsysInfo()
220 if (dataSplit.length > 10) { in parseDumpsysInfo()
221 if (dataSplit[0].contains(NATIVE_HEAP) || dataSplit[0].contains(DALVIK_HEAP)) { in parseDumpsysInfo()
222 mMetrics.put(dataSplit[0] + ":PSS_TOTAL", dataSplit[2]); in parseDumpsysInfo()
223 mMetrics.put(dataSplit[0] + ":SHARED_DIRTY", dataSplit[4]); in parseDumpsysInfo()
224 mMetrics.put(dataSplit[0] + ":PRIVATE_DIRTY", dataSplit[5]); in parseDumpsysInfo()
[all …]
DSystemMemoryTest.java92 String dataSplit[] = line.split(SEPARATOR); in parseProcInfo() local
93 switch (dataSplit[0].toLowerCase()) { in parseProcInfo()
95 mMetrics.put("System_MEMTOTAL", dataSplit[1]); in parseProcInfo()
98 mMetrics.put("System_MEMFREE", dataSplit[1]); in parseProcInfo()
101 mMetrics.put("System_CACHED", dataSplit[1]); in parseProcInfo()