Searched refs:extractStat (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/powerstats/dataproviders/ |
D | WlanStateResidencyDataProvider.cpp | 34 static bool extractStat(const char *line, const std::string &prefix, uint64_t *stat) { in extractStat() function 70 if (extractStat(line, "cumulative_sleep_time_ms:", &stat)) { in getStateResidencies() 73 } else if (extractStat(line, "cumulative_total_on_time_ms:", &stat)) { in getStateResidencies() 76 } else if (extractStat(line, "deep_sleep_enter_counter:", &stat)) { in getStateResidencies() 80 } else if (extractStat(line, "last_deep_sleep_enter_tstamp_ms:", &stat)) { in getStateResidencies()
|
D | GenericStateResidencyDataProvider.cpp | 43 static bool extractStat(const char *line, const std::string &prefix, uint64_t *stat) { in extractStat() function 64 if (config.entryCountSupported && extractStat(*line, config.entryCountPrefix, &stat)) { in parseState() 68 } else if (config.totalTimeSupported && extractStat(*line, config.totalTimePrefix, &stat)) { in parseState() 72 } else if (config.lastEntrySupported && extractStat(*line, config.lastEntryPrefix, &stat)) { in parseState()
|
/hardware/google/pixel/powerstats/ |
D | WlanStateResidencyDataProvider.cpp | 67 if (utils::extractStat(line, "cumulative_sleep_time_ms:", stat)) { in getResults() 70 } else if (utils::extractStat(line, "cumulative_total_on_time_ms:", stat)) { in getResults() 73 } else if (utils::extractStat(line, "deep_sleep_enter_counter:", stat)) { in getResults() 77 } else if (utils::extractStat(line, "last_deep_sleep_enter_tstamp_ms:", stat)) { in getResults()
|
D | PowerStatsUtils.cpp | 26 bool extractStat(const char *line, const std::string &prefix, uint64_t &stat) { in extractStat() function
|
D | GenericStateResidencyDataProvider.cpp | 78 utils::extractStat(*line, config.entryCountPrefix, stat)) { in parseState() 83 utils::extractStat(*line, config.totalTimePrefix, stat)) { in parseState() 88 utils::extractStat(*line, config.lastEntryPrefix, stat)) { in parseState()
|
/hardware/google/pixel/powerstats/include/pixelpowerstats/ |
D | PowerStatsUtils.h | 14 bool extractStat(const char *line, const std::string &prefix, uint64_t &stat);
|