Searched refs:mStates (Results 1 – 9 of 9) sorted by relevance
/hardware/google/pixel/powerstats/ |
D | DisplayStateResidencyDataProvider.cpp | 40 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/ |
D | DisplayStateResidencyDataProvider.cpp | 39 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()
|
D | PixelStateResidencyDataProvider.cpp | 104 ret.emplace(entry.mName, entry.mStates); in getInfo() 138 toRegister->mStates = in_states; in registerCallbackByStates()
|
/hardware/interfaces/power/stats/aidl/default/ |
D | FakeStateResidencyDataProvider.h | 32 : 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/ |
D | PixelStateResidencyDataProvider.h | 75 : mName(name), mStates(states), mCallback(nullptr) {} in Entry() 77 std::vector<State> mStates; member
|
D | DisplayStateResidencyDataProvider.h | 63 std::vector<std::string> mStates; variable
|
/hardware/google/pixel/powerstats/include/pixelpowerstats/ |
D | DisplayStateResidencyDataProvider.h | 60 std::vector<std::string> mStates; variable
|
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/ |
D | DisplayStateResidencyProvider.cpp | 77 return mStates; in getStates() 239 mStates.push_back({id, state.first}); in generatePowerStatsStates() 246 for (const auto& state : mStates) { in generatePowerStatsStates()
|
D | DisplayStateResidencyProvider.h | 83 std::vector<State> mStates; variable
|