Searched refs:mFileNumbers (Results 1 – 1 of 1) sorted by relevance
73 private final List<Integer> mFileNumbers = new ArrayList<>(); field in BatteryStatsHistory138 mFileNumbers.addAll(dedup); in BatteryStatsHistory()139 Collections.sort(mFileNumbers); in BatteryStatsHistory()140 setActiveFile(mFileNumbers.get(mFileNumbers.size() - 1)); in BatteryStatsHistory()143 mFileNumbers.add(0); in BatteryStatsHistory()186 if (mFileNumbers.isEmpty()) { in startNextFile()192 final int next = mFileNumbers.get(mFileNumbers.size() - 1) + 1; in startNextFile()193 mFileNumbers.add(next); in startNextFile()198 int oldest = mFileNumbers.remove(0); in startNextFile()204 while (mFileNumbers.size() > mStats.mConstants.MAX_HISTORY_FILES) { in startNextFile()[all …]