Home
last modified time | relevance | path

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

/device/google/gs-common/powerstats/
DDisplayMrrStateResidencyDataProvider.cpp39 mConfigs = std::vector<Config>(); in DisplayMrrStateResidencyDataProvider()
48 mConfigs.push_back(config); in DisplayMrrStateResidencyDataProvider()
52 mConfigs.clear(); in DisplayMrrStateResidencyDataProvider()
94 if (mConfigs.empty()) { in getStateResidencies()
107 for (int i = 0; i < mConfigs.size(); i++) { in getStateResidencies()
119 found = std::find(mConfigs.begin(), mConfigs.end(), config); in getStateResidencies()
120 if (found != mConfigs.end()) { in getStateResidencies()
121 stateResidencies[found - mConfigs.begin()].totalTimeInStateMs = duration; in getStateResidencies()
145 for (int32_t id = 0; id < mConfigs.size(); id++) { in getInfo()
146 dispId = mConfigs[id].state; in getInfo()
[all …]
/device/generic/goldfish-opengl/system/hwc3/
DDisplay.cpp100 mConfigs.emplace(config.getId(), config); in init()
114 auto it = mConfigs.find(activeConfigId); in init()
115 if (it == mConfigs.end()) { in init()
138 auto it = mConfigs.find(*mActiveConfigId); in updateParameters()
139 if (it == mConfigs.end()) { in updateParameters()
218 auto it = mConfigs.find(configId); in getDisplayAttribute()
219 if (it == mConfigs.end()) { in getDisplayAttribute()
258 outConfigIds->reserve(mConfigs.size()); in getDisplayConfigs()
259 for (const auto& [configId, _] : mConfigs) { in getDisplayConfigs()
272 outConfigs->reserve(mConfigs.size()); in getDisplayConfigurations()
[all …]
DDisplay.h184 std::unordered_map<int32_t, DisplayConfig> mConfigs; variable
/device/google/gs-common/powerstats/include/
DDisplayMrrStateResidencyDataProvider.h61 std::vector<Config> mConfigs; variable