Home
last modified time | relevance | path

Searched refs:InterruptInfoItem (Results 1 – 3 of 3) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/item/
DInterruptItem.java36 private Collection<InterruptInfoItem> mInterrupts = new LinkedList<InterruptInfoItem>();
49 public static class InterruptInfoItem extends GenericItem { class in InterruptItem
67 public InterruptInfoItem(String name, int interruptCount, in InterruptInfoItem() method in InterruptItem.InterruptInfoItem
107 mInterrupts.add(new InterruptInfoItem(name, interruptCount, category)); in addInterrupt()
113 public List<InterruptInfoItem> getInterrupts(InterruptCategory category) { in getInterrupts()
114 LinkedList<InterruptInfoItem> interrupts = new LinkedList<InterruptInfoItem>(); in getInterrupts()
119 for (InterruptInfoItem interrupt : mInterrupts) { in getInterrupts()
130 public List<InterruptInfoItem> getInterrupts() { in getInterrupts()
131 return (List<InterruptInfoItem>) mInterrupts; in getInterrupts()
159 for (InterruptInfoItem interrupt : mInterrupts) { in toJson()
/tools/loganalysis/src/com/android/loganalysis/rule/
DInterruptRule.java21 import com.android.loganalysis.item.InterruptItem.InterruptInfoItem;
39 private List<InterruptInfoItem> mOffendingInterruptsList;
47 mOffendingInterruptsList = new ArrayList<InterruptInfoItem>(); in applyRule()
52 for (InterruptInfoItem interrupts : interruptItem.getInterrupts()) { in applyRule()
69 for (InterruptInfoItem interrupts : mOffendingInterruptsList) { in getAnalysis()
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DInterruptItemTest.java19 import com.android.loganalysis.item.InterruptItem.InterruptInfoItem;
48 assertTrue(interruptsInfo.getJSONObject(0).has(InterruptInfoItem.NAME)); in testToJson()
49 assertTrue(interruptsInfo.getJSONObject(0).has(InterruptInfoItem.CATEGORY)); in testToJson()
50 assertTrue(interruptsInfo.getJSONObject(0).has(InterruptInfoItem.INTERRUPT_COUNT)); in testToJson()