Home
last modified time | relevance | path

Searched refs:InterruptItem (Results 1 – 8 of 8) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/item/
DInterruptItemTest.java19 import com.android.loganalysis.item.InterruptItem.InterruptInfoItem;
36 InterruptItem item = new InterruptItem(); in testToJson()
37 item.addInterrupt("smd-modem",25, InterruptItem.InterruptCategory.ALARM_INTERRUPT); in testToJson()
42 assertTrue(output.has(InterruptItem.INTERRUPTS)); in testToJson()
43 assertTrue(output.get(InterruptItem.INTERRUPTS) instanceof JSONArray); in testToJson()
45 JSONArray interruptsInfo = output.getJSONArray(InterruptItem.INTERRUPTS); in testToJson()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DInterruptParserTest.java20 import com.android.loganalysis.item.InterruptItem;
46 InterruptItem interrupt = new InterruptParser().parse(inputBlock); in testInterruptParser()
49 InterruptItem.InterruptCategory.WIFI_INTERRUPT).size()); in testInterruptParser()
52 InterruptItem.InterruptCategory.WIFI_INTERRUPT).get(0).getName()); in testInterruptParser()
55 InterruptItem.InterruptCategory.MODEM_INTERRUPT).size()); in testInterruptParser()
57 assertEquals(5, interrupt.getInterrupts(InterruptItem.InterruptCategory.MODEM_INTERRUPT). in testInterruptParser()
/tools/loganalysis/src/com/android/loganalysis/parser/
DInterruptParser.java18 import com.android.loganalysis.item.InterruptItem;
19 import com.android.loganalysis.item.InterruptItem.InterruptCategory;
38 private InterruptItem mItem = new InterruptItem();
46 public InterruptItem parse(List<String> lines) { in parse()
68 InterruptItem getItem() { in getItem()
DBatteryStatsDetailedInfoParser.java21 import com.android.loganalysis.item.InterruptItem;
168 (InterruptItem) getSection(mInterruptParser)); in commit()
/tools/loganalysis/tests/src/com/android/loganalysis/rule/
DInterruptRuleTest.java22 import com.android.loganalysis.item.InterruptItem;
23 import com.android.loganalysis.item.InterruptItem.InterruptCategory;
56 InterruptItem interrupt = new InterruptItem(); in testInterruptAnalysis()
75 InterruptItem interrupt = new InterruptItem(); in testNoSignificantInterruptAnalysis()
/tools/loganalysis/src/com/android/loganalysis/rule/
DInterruptRule.java20 import com.android.loganalysis.item.InterruptItem;
21 import com.android.loganalysis.item.InterruptItem.InterruptInfoItem;
22 import com.android.loganalysis.item.InterruptItem.InterruptCategory;
48 InterruptItem interruptItem = getDetailedAnalysisItem().getInterruptItem(); in applyRule()
/tools/loganalysis/src/com/android/loganalysis/item/
DBatteryStatsDetailedInfoItem.java43 private InterruptItem mInterruptItem = null;
70 public void setInterruptItem(InterruptItem interruptItem) { in setInterruptItem()
112 public InterruptItem getInterruptItem() { in getInterruptItem()
DInterruptItem.java32 public class InterruptItem implements IItem { class