Home
last modified time | relevance | path

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

/hardware/google/pixel/powerstats/
DGenericStateResidencyDataProvider.cpp174 size_t numEntities = mPowerEntityConfigs.size(); in getResults()
175 auto nextConfig = mPowerEntityConfigs.cbegin(); in getResults()
176 auto endConfig = mPowerEntityConfigs.cend(); in getResults()
186 (nextConfig = findNext<decltype(mPowerEntityConfigs)::value_type>( in getResults()
187 mPowerEntityConfigs, fp.get(), &line, &len, pred)) != endConfig)) { in getResults()
233 mPowerEntityConfigs.emplace_back(id, config); in addEntity()
238 stateSpaces.reserve(mPowerEntityConfigs.size()); in getStateSpaces()
239 for (auto config : mPowerEntityConfigs) { in getStateSpaces()
/hardware/google/pixel/powerstats/dataproviders/
DGenericStateResidencyDataProvider.cpp156 size_t numEntities = mPowerEntityConfigs.size(); in getStateResidencies()
165 (nextConfig = findNextIndex<decltype(mPowerEntityConfigs)::value_type>( in getStateResidencies()
166 mPowerEntityConfigs, fp.get(), &line, &len, pred)) >= 0) { in getStateResidencies()
169 if (getStateData(&result, mPowerEntityConfigs[nextConfig].mStateResidencyConfigs, fp.get(), in getStateResidencies()
171 residencies->emplace(mPowerEntityConfigs[nextConfig].mName, result); in getStateResidencies()
191 for (const auto &entityConfig : mPowerEntityConfigs) { in getInfo()
/hardware/google/pixel/powerstats/include/dataproviders/
DGenericStateResidencyDataProvider.h61 : mPath(std::move(path)), mPowerEntityConfigs(std::move(configs)) {} in GenericStateResidencyDataProvider()
71 const std::vector<PowerEntityConfig> mPowerEntityConfigs; variable
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DGenericStateResidencyDataProvider.h68 std::vector<std::pair<uint32_t, PowerEntityConfig>> mPowerEntityConfigs; variable