Home
last modified time | relevance | path

Searched refs:DroppedCategory (Results 1 – 4 of 4) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DMonkeyLogParserTest.java21 import com.android.loganalysis.item.MonkeyLogItem.DroppedCategory;
96 assertEquals(5, monkeyLog.getDroppedCount(DroppedCategory.KEYS).intValue()); in testParse_success()
97 assertEquals(6, monkeyLog.getDroppedCount(DroppedCategory.POINTERS).intValue()); in testParse_success()
98 assertEquals(7, monkeyLog.getDroppedCount(DroppedCategory.TRACKBALLS).intValue()); in testParse_success()
99 assertEquals(8, monkeyLog.getDroppedCount(DroppedCategory.FLIPS).intValue()); in testParse_success()
100 assertEquals(9, monkeyLog.getDroppedCount(DroppedCategory.ROTATIONS).intValue()); in testParse_success()
644 assertNull(monkeyLog.getDroppedCount(DroppedCategory.KEYS)); in testParse_no_activities()
645 assertNull(monkeyLog.getDroppedCount(DroppedCategory.POINTERS)); in testParse_no_activities()
646 assertNull(monkeyLog.getDroppedCount(DroppedCategory.TRACKBALLS)); in testParse_no_activities()
647 assertNull(monkeyLog.getDroppedCount(DroppedCategory.FLIPS)); in testParse_no_activities()
[all …]
DMonkeyLogParserFuncTest.java21 import com.android.loganalysis.item.MonkeyLogItem.DroppedCategory;
92 for (DroppedCategory drop : DroppedCategory.values()) { in testParse()
/tools/loganalysis/src/com/android/loganalysis/item/
DMonkeyLogItem.java34 public enum DroppedCategory { enum in MonkeyLogItem
79 DroppedCategory.KEYS.toString(),
80 DroppedCategory.POINTERS.toString(),
81 DroppedCategory.TRACKBALLS.toString(),
82 DroppedCategory.FLIPS.toString(),
83 DroppedCategory.ROTATIONS.toString()));
322 public Integer getDroppedCount(DroppedCategory category) { in getDroppedCount()
329 public void setDroppedCount(DroppedCategory category, int count) { in setDroppedCount()
/tools/loganalysis/src/com/android/loganalysis/parser/
DMonkeyLogParser.java21 import com.android.loganalysis.item.MonkeyLogItem.DroppedCategory;
247 mMonkeyLog.setDroppedCount(DroppedCategory.KEYS, Integer.parseInt(m.group(1))); in parseLine()
251 mMonkeyLog.setDroppedCount(DroppedCategory.POINTERS, Integer.parseInt(m.group(1))); in parseLine()
255 mMonkeyLog.setDroppedCount(DroppedCategory.TRACKBALLS, Integer.parseInt(m.group(1))); in parseLine()
259 mMonkeyLog.setDroppedCount(DroppedCategory.FLIPS, Integer.parseInt(m.group(1))); in parseLine()
263 mMonkeyLog.setDroppedCount(DroppedCategory.ROTATIONS, Integer.parseInt(m.group(1))); in parseLine()