Home
last modified time | relevance | path

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

/tools/loganalysis/src/com/android/loganalysis/rule/
DProcessUsageRule.java21 import com.android.loganalysis.item.ProcessUsageItem.ProcessUsageInfoItem;
43 private List<ProcessUsageInfoItem> mOffendingAlarmList;
44 private List<ProcessUsageInfoItem> mOffendingSensorList;
53 mOffendingAlarmList = new ArrayList<ProcessUsageInfoItem>(); in applyRule()
54 mOffendingSensorList = new ArrayList<ProcessUsageInfoItem>(); in applyRule()
58 for (ProcessUsageInfoItem usage : processUsageItem.getProcessUsage()) { in applyRule()
69 private void addAlarmAnalysis(ProcessUsageInfoItem usage) { in addAlarmAnalysis()
76 private void addSensorAnalysis(ProcessUsageInfoItem usage) { in addSensorAnalysis()
93 for (ProcessUsageInfoItem alarmInfo : mOffendingAlarmList) { in getAnalysis()
103 for (ProcessUsageInfoItem sensorInfo : mOffendingSensorList) { in getAnalysis()
/tools/loganalysis/src/com/android/loganalysis/item/
DProcessUsageItem.java37 private Collection<ProcessUsageInfoItem> mProcessUsage =
38 new LinkedList<ProcessUsageInfoItem>();
77 public static class ProcessUsageInfoItem extends GenericItem { class in ProcessUsageItem
95 public ProcessUsageInfoItem(String uid, int alarmWakeups, in ProcessUsageInfoItem() method in ProcessUsageItem.ProcessUsageInfoItem
157 mProcessUsage.add(new ProcessUsageInfoItem(processUID, alarmWakeups, sensorUsage)); in addProcessUsage()
176 public Collection<ProcessUsageInfoItem> getProcessUsage() { in getProcessUsage()
189 for (ProcessUsageInfoItem usage : mProcessUsage) { in toJson()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DProcessUsageParserTest.java19 import com.android.loganalysis.item.ProcessUsageItem.ProcessUsageInfoItem;
64 LinkedList<ProcessUsageInfoItem> processUsageInfo = in testProcessUsageParser()
65 (LinkedList<ProcessUsageInfoItem>)processUsage.getProcessUsage(); in testProcessUsageParser()