Searched refs:BatteryUsageItem (Results 1 – 6 of 6) sorted by relevance
18 import com.android.loganalysis.item.BatteryUsageItem.BatteryUsageInfoItem;35 BatteryUsageItem item = new BatteryUsageItem(); in testToJson()41 assertTrue(output.has(BatteryUsageItem.BATTERY_CAPACITY)); in testToJson()42 assertTrue(output.get(BatteryUsageItem.BATTERY_USAGE) instanceof JSONArray); in testToJson()44 JSONArray usage = output.getJSONArray(BatteryUsageItem.BATTERY_USAGE); in testToJson()
18 import com.android.loganalysis.item.BatteryUsageItem;36 private BatteryUsageItem mItem = new BatteryUsageItem();44 public BatteryUsageItem parse(List<String> lines) { in parse()65 BatteryUsageItem getItem() { in getItem()
20 import com.android.loganalysis.item.BatteryUsageItem;164 (BatteryUsageItem) getSection(mBatteryUsageParser)); in commit()
41 private BatteryUsageItem mBatteryUsageItem = null;84 public void setBatteryUsageItem(BatteryUsageItem batteryUsageItem) { in setBatteryUsageItem()126 public BatteryUsageItem getBatteryUsageItem() { in getBatteryUsageItem()
32 public class BatteryUsageItem implements IItem { class
18 import com.android.loganalysis.item.BatteryUsageItem;45 BatteryUsageItem usage = new BatteryUsageParser().parse(inputBlock); in testBatteryUsageParser()