Searched refs:processUsage (Results 1 – 3 of 3) sorted by relevance
/tools/loganalysis/tests/src/com/android/loganalysis/rule/ |
D | ProcessUsageRuleTest.java | 57 ProcessUsageItem processUsage = new ProcessUsageItem(); in testAlarmAnalysis() local 65 processUsage.addProcessUsage("0", 0, uid0Sensor); in testAlarmAnalysis() 66 processUsage.addProcessUsage("u0a9", 180, uidU0a9Sensor); in testAlarmAnalysis() 67 processUsage.addProcessUsage("u0a8", 0, null); in testAlarmAnalysis() 69 mBatteryStatsDetailedInfo.setProcessUsageItem(processUsage); in testAlarmAnalysis() 86 ProcessUsageItem processUsage = new ProcessUsageItem(); in testSensorAnalysis() local 94 processUsage.addProcessUsage("0", 0, uid0Sensor); in testSensorAnalysis() 95 processUsage.addProcessUsage("u0a9", 15, uidU0a9Sensor); in testSensorAnalysis() 96 processUsage.addProcessUsage("u0a8", 0, null); in testSensorAnalysis() 98 mBatteryStatsDetailedInfo.setProcessUsageItem(processUsage); in testSensorAnalysis()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | ProcessUsageParserTest.java | 60 ProcessUsageItem processUsage = new ProcessUsageParser().parse(inputBlock); in testProcessUsageParser() local 62 assertEquals(3, processUsage.getProcessUsage().size()); in testProcessUsageParser() 65 (LinkedList<ProcessUsageInfoItem>)processUsage.getProcessUsage(); in testProcessUsageParser()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | ProcessUsageItem.java | 188 JSONArray processUsage = new JSONArray(); in toJson() local 190 processUsage.put(usage.toJson()); in toJson() 192 object.put(PROCESS_USAGE, processUsage); in toJson()
|