Home
last modified time | relevance | path

Searched refs:mHistoryTagPool (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/core/java/android/os/
H A DBatteryUsageStats.java129 private final List<BatteryStats.HistoryTag> mHistoryTagPool; field in BatteryUsageStats
140 mHistoryTagPool = builder.mHistoryTagPool; in BatteryUsageStats()
293 mHistoryTagPool); in iterateBatteryStatsHistory()
351 mHistoryTagPool = new ArrayList<>(historyTagCount); in BatteryUsageStats()
357 mHistoryTagPool.add(tag); in BatteryUsageStats()
361 mHistoryTagPool = null; in BatteryUsageStats()
400 dest.writeInt(mHistoryTagPool.size()); in writeToParcel()
401 for (int i = mHistoryTagPool.size() - 1; i >= 0; i--) { in writeToParcel()
402 final BatteryStats.HistoryTag tag = mHistoryTagPool.get(i); in writeToParcel()
759 private List<BatteryStats.HistoryTag> mHistoryTagPool; field in BatteryUsageStats.Builder
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryUsageStatsProvider.java190 batteryStatsImpl.mHistoryTagPool.size()); in getCurrentBatteryUsageStats()
192 batteryStatsImpl.mHistoryTagPool.entrySet()) { in getCurrentBatteryUsageStats()
H A DBatteryStatsImpl.java770 final HashMap<HistoryTag, Integer> mHistoryTagPool = new HashMap<>(); field in BatteryStatsImpl
3312 Integer idxObj = mHistoryTagPool.get(tag); in writeHistoryTag()
3321 mHistoryTagPool.put(key, idx); in writeHistoryTag()
3906 mHistoryTagPool.clear(); in clearHistoryLocked()
11502 ArrayList<HistoryTag> tags = new ArrayList<>(mHistoryTagPool.size()); in createBatteryStatsHistoryIterator()
11503 for (Map.Entry<HistoryTag, Integer> entry: mHistoryTagPool.entrySet()) { in createBatteryStatsHistoryIterator()
15557 mHistoryTagPool.clear();
15573 mHistoryTagPool.put(tag, idx);
16080 out.writeInt(mHistoryTagPool.size());
16081 for (HashMap.Entry<HistoryTag, Integer> ent : mHistoryTagPool.entrySet()) {
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt77653 Lcom/android/internal/os/BatteryStatsImpl;->mHistoryTagPool:Ljava/util/HashMap;