Searched refs:BatteryHistoryFile (Results 1 – 1 of 1) sorted by relevance
173 private BatteryHistoryFile mCurrentFile;217 private static class BatteryHistoryFile implements Comparable<BatteryHistoryFile> { class in BatteryStatsHistory221 private BatteryHistoryFile(File directory, long monotonicTimeMs) { in BatteryHistoryFile() method in BatteryStatsHistory.BatteryHistoryFile227 public int compareTo(BatteryHistoryFile o) { in compareTo()233 return monotonicTimeMs == ((BatteryHistoryFile) o).monotonicTimeMs; in equals()251 private final List<BatteryHistoryFile> mHistoryFiles = new ArrayList<>();296 final Set<BatteryHistoryFile> dedup = new ArraySet<>(); in load()305 dedup.add(new BatteryHistoryFile(mDirectory, monotonicTime)); in load()335 for (BatteryHistoryFile historyFile : mHistoryFiles) { in getFileNames()345 BatteryHistoryFile getFirstFile() { in getFirstFile()[all …]