Searched refs:getCpuUsage (Results 1 – 2 of 2) sorted by relevance
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | AnrParserTest.java | 57 assertEquals(33.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.TOTAL)); in testParse_application_not_responding() 58 assertEquals(21.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.USER)); in testParse_application_not_responding() 59 assertEquals(11.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.KERNEL)); in testParse_application_not_responding() 60 assertEquals(0.3, anr.getCpuUsage(AnrItem.CpuUsageCategory.IOWAIT)); in testParse_application_not_responding() 90 assertEquals(33.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.TOTAL)); in testParse_anr_in_app() 91 assertEquals(21.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.USER)); in testParse_anr_in_app() 92 assertEquals(11.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.KERNEL)); in testParse_anr_in_app() 93 assertEquals(0.3, anr.getCpuUsage(AnrItem.CpuUsageCategory.IOWAIT)); in testParse_anr_in_app() 123 assertEquals(33.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.TOTAL)); in testParse_anr_in_app_class_package() 124 assertEquals(21.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.USER)); in testParse_anr_in_app_class_package() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | AnrItem.java | 75 public Double getCpuUsage(CpuUsageCategory category) { in getCpuUsage() method in AnrItem
|