Searched refs:railNames (Results 1 – 2 of 2) sorted by relevance
/hardware/google/pixel/powerstats/ |
D | PowerStats.cpp | 398 const std::unordered_map<uint32_t, std::pair<std::string, std::string>> &railNames, in DumpEnergyDataToFd() argument 408 dumpStats << android::base::StringPrintf(dataFormat, railNames.at(data.index).first.c_str(), in DumpEnergyDataToFd() 409 railNames.at(data.index).second.c_str(), in DumpEnergyDataToFd() 419 const std::unordered_map<uint32_t, std::pair<std::string, std::string>> &railNames, in DumpEnergyDataDiffToFd() argument 440 const char *subsysName = railNames.at(data.index).first.c_str(); in DumpEnergyDataDiffToFd() 441 const char *railName = railNames.at(data.index).second.c_str(); in DumpEnergyDataDiffToFd() 468 std::unordered_map<uint32_t, std::pair<std::string, std::string>> railNames; in debugEnergyData() local 469 getRailInfo([&railNames](auto infos, auto /* status */) { in debugEnergyData() 472 railNames.emplace(info.index, std::make_pair(info.subsysName, info.railName)); in debugEnergyData() 475 if (railNames.empty()) { in debugEnergyData() [all …]
|
/hardware/interfaces/power/stats/1.0/default/ |
D | PowerStats.cpp | 107 std::istringstream railNames(data); in parsePowerRails() local 109 while (std::getline(railNames, line)) { in parsePowerRails()
|