Searched refs:LoadCategory (Results 1 – 3 of 3) sorted by relevance
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | AnrParserTest.java | 54 assertEquals(0.71, anr.getLoad(AnrItem.LoadCategory.LOAD_1)); in testParse_application_not_responding() 55 assertEquals(0.83, anr.getLoad(AnrItem.LoadCategory.LOAD_5)); in testParse_application_not_responding() 56 assertEquals(0.51, anr.getLoad(AnrItem.LoadCategory.LOAD_15)); in testParse_application_not_responding() 87 assertEquals(0.71, anr.getLoad(AnrItem.LoadCategory.LOAD_1)); in testParse_anr_in_app() 88 assertEquals(0.83, anr.getLoad(AnrItem.LoadCategory.LOAD_5)); in testParse_anr_in_app() 89 assertEquals(0.51, anr.getLoad(AnrItem.LoadCategory.LOAD_15)); in testParse_anr_in_app() 120 assertEquals(0.71, anr.getLoad(AnrItem.LoadCategory.LOAD_1)); in testParse_anr_in_app_class_package() 121 assertEquals(0.83, anr.getLoad(AnrItem.LoadCategory.LOAD_5)); in testParse_anr_in_app_class_package() 122 assertEquals(0.51, anr.getLoad(AnrItem.LoadCategory.LOAD_15)); in testParse_anr_in_app_class_package() 155 assertEquals(0.71, anr.getLoad(AnrItem.LoadCategory.LOAD_1)); in testParse_anr_in_app_class_package_pid() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | AnrItem.java | 41 public enum LoadCategory { enum in AnrItem 59 LoadCategory.LOAD_1.toString(), 60 LoadCategory.LOAD_5.toString(), 61 LoadCategory.LOAD_15.toString(), 89 public Double getLoad(LoadCategory category) { in getLoad() 96 public void setLoad(LoadCategory category, Double usage) { in setLoad()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | AnrParser.java | 88 anr.setLoad(AnrItem.LoadCategory.LOAD_1, Double.parseDouble(m.group(1))); in parse() 89 anr.setLoad(AnrItem.LoadCategory.LOAD_5, Double.parseDouble(m.group(2))); in parse() 90 anr.setLoad(AnrItem.LoadCategory.LOAD_15, Double.parseDouble(m.group(3))); in parse()
|