Home
last modified time | relevance | path

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

/hardware/google/pixel/powerstats/
DGenericStateResidencyDataProvider.cpp40 std::vector<StateResidencyConfig> stateResidencyConfigs; in generateGenericStateResidencyConfigs() local
41 stateResidencyConfigs.reserve(stateHeaders.size()); in generateGenericStateResidencyConfigs()
46 stateResidencyConfigs.emplace_back(cfg); in generateGenericStateResidencyConfigs()
48 return stateResidencyConfigs; in generateGenericStateResidencyConfigs()
51 PowerEntityConfig::PowerEntityConfig(const std::vector<StateResidencyConfig> &stateResidencyConfigs) in PowerEntityConfig() argument
52 : PowerEntityConfig("", stateResidencyConfigs) {} in PowerEntityConfig()
55 const std::vector<StateResidencyConfig> &stateResidencyConfigs) in PowerEntityConfig() argument
57 mStateResidencyConfigs.reserve(stateResidencyConfigs.size()); in PowerEntityConfig()
58 for (uint32_t i = 0; i < stateResidencyConfigs.size(); ++i) { in PowerEntityConfig()
59 mStateResidencyConfigs.emplace_back(i, stateResidencyConfigs[i]); in PowerEntityConfig()
[all …]
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DGenericStateResidencyDataProvider.h32 PowerEntityConfig(const std::vector<StateResidencyConfig> &stateResidencyConfigs);
34 const std::vector<StateResidencyConfig> &stateResidencyConfigs);