Home
last modified time | relevance | path

Searched refs:mStates (Results 1 – 9 of 9) sorted by relevance

/hardware/google/pixel/powerstats/
DDisplayStateResidencyDataProvider.cpp40 mStates(states), in DisplayStateResidencyDataProvider()
44 mResidencies.reserve(mStates.size()); in DisplayStateResidencyDataProvider()
45 for (uint32_t i = 0; i < mStates.size(); ++i) { in DisplayStateResidencyDataProvider()
96 s.states.resize(mStates.size()); in getStateSpaces()
97 for (uint32_t i = 0; i < mStates.size(); ++i) { in getStateSpaces()
98 s.states[i] = {.powerEntityStateId = i, .powerEntityStateName = mStates[i]}; in getStateSpaces()
126 for (uint32_t i = 0; i < mStates.size(); ++i) { in updateStats()
127 if (strstr(data, mStates[i].c_str())) { in updateStats()
/hardware/google/pixel/powerstats/dataproviders/
DDisplayStateResidencyDataProvider.cpp39 mStates(states), in DisplayStateResidencyDataProvider()
43 mResidencies.reserve(mStates.size()); in DisplayStateResidencyDataProvider()
44 for (int32_t i = 0; i < mStates.size(); ++i) { in DisplayStateResidencyDataProvider()
93 stateInfos.reserve(mStates.size()); in getInfo()
94 for (int32_t i = 0; i < mStates.size(); ++i) { in getInfo()
95 stateInfos.push_back({.id = i, .name = mStates[i]}); in getInfo()
126 for (uint32_t i = 0; i < mStates.size(); ++i) { in updateStats()
127 if (strcmp(data, mStates[i].c_str()) == 0) { in updateStats()
DPixelStateResidencyDataProvider.cpp104 ret.emplace(entry.mName, entry.mStates); in getInfo()
138 toRegister->mStates = in_states; in registerCallbackByStates()
/hardware/interfaces/power/stats/aidl/default/
DFakeStateResidencyDataProvider.h32 : mName(name), mStates(states) { in FakeStateResidencyDataProvider()
33 for (const auto& state : mStates) { in FakeStateResidencyDataProvider()
56 return {{mName, mStates}}; in getInfo()
78 const std::vector<State> mStates; variable
/hardware/google/pixel/powerstats/include/dataproviders/
DPixelStateResidencyDataProvider.h75 : mName(name), mStates(states), mCallback(nullptr) {} in Entry()
77 std::vector<State> mStates; member
DDisplayStateResidencyDataProvider.h63 std::vector<std::string> mStates; variable
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DDisplayStateResidencyDataProvider.h60 std::vector<std::string> mStates; variable
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DDisplayStateResidencyProvider.cpp77 return mStates; in getStates()
239 mStates.push_back({id, state.first}); in generatePowerStatsStates()
246 for (const auto& state : mStates) { in generatePowerStatsStates()
DDisplayStateResidencyProvider.h83 std::vector<State> mStates; variable