Searched refs:railNames (Results 1 – 4 of 4) sorted by relevance
/hardware/google/pixel/pwrstats_util/dataproviders/ |
D | RailEnergyDataProvider.cpp | 35 std::unordered_map<uint32_t, std::string> railNames; in getImpl() local 39 ret = powerStatsService->getRailInfo([&railNames, &retStatus](auto railInfos, auto status) { in getImpl() 46 railNames.emplace(info.index, info.railName); in getImpl() 61 {}, [&railEntries, &railNames, &resultSuccess](auto energyData, auto status) { in getImpl() 70 entry->set_rail_name(railNames.at(energyDatum.index)); in getImpl()
|
/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/google/pixel/powerstats/dataproviders/ |
D | IioEnergyMeterDataProvider.cpp | 83 std::istringstream railNames(data); in parseEnabledRails() local 85 while (std::getline(railNames, line)) { in parseEnabledRails()
|
/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()
|