Home
last modified time | relevance | path

Searched refs:prevEnergyDataMap (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/powerstats/
DPowerStatsAidl.cpp249 std::unordered_map<int32_t, int64_t> prevEnergyDataMap; in dumpEnergyMeter() local
251 prevEnergyDataMap.emplace(data.id, data.energyUWs); in dumpEnergyMeter()
255 auto prevEnergyDataIt = prevEnergyDataMap.find(data.id); in dumpEnergyMeter()
257 if (prevEnergyDataIt != prevEnergyDataMap.end()) { in dumpEnergyMeter()
DPowerStats.cpp434 std::unordered_map<uint32_t, uint64_t> prevEnergyDataMap; in DumpEnergyDataDiffToFd() local
436 prevEnergyDataMap.emplace(data.index, data.energy); in DumpEnergyDataDiffToFd()
443 auto prevEnergyDataIt = prevEnergyDataMap.find(data.index); in DumpEnergyDataDiffToFd()
445 if (prevEnergyDataIt != prevEnergyDataMap.end()) { in DumpEnergyDataDiffToFd()