Home
last modified time | relevance | path

Searched refs:mPowerEntityInfos (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/power/stats/aidl/default/
DPowerStats.cpp34 int32_t id = mPowerEntityInfos.size(); in addStateResidencyDataProvider()
46 mPowerEntityInfos.emplace_back(i); in addStateResidencyDataProvider()
71 *_aidl_return = mPowerEntityInfos; in getPowerEntityInfo()
77 if (mPowerEntityInfos.empty()) { in getStateResidency()
83 std::vector<int32_t> v(mPowerEntityInfos.size()); in getStateResidency()
92 if (id < 0 || id >= mPowerEntityInfos.size()) { in getStateResidency()
97 std::string powerEntityName = mPowerEntityInfos[id].name; in getStateResidency()
DPowerStats.h75 std::vector<PowerEntity> mPowerEntityInfos; variable
/hardware/google/pixel/powerstats/
DPowerStatsAidl.cpp42 int32_t id = mPowerEntityInfos.size(); in addStateResidencyDataProvider()
58 mPowerEntityInfos.emplace_back(i); in addStateResidencyDataProvider()
64 *_aidl_return = mPowerEntityInfos; in getPowerEntityInfo()
70 if (mPowerEntityInfos.empty()) { in getStateResidency()
76 std::vector<int32_t> v(mPowerEntityInfos.size()); in getStateResidency()
85 if (id < 0 || id >= mPowerEntityInfos.size()) { in getStateResidency()
90 std::string powerEntityName = mPowerEntityInfos[id].name; in getStateResidency()
186 for (auto &powerEntityInfo : mPowerEntityInfos) { in statesUpdate()
DPowerStats.cpp75 uint32_t id = mPowerEntityInfos.size(); in addPowerEntity()
76 mPowerEntityInfos.push_back({id, name, type}); in addPowerEntity()
90 if (mPowerEntityInfos.empty()) { in getPowerEntityInfo()
95 _hidl_cb(mPowerEntityInfos, Status::SUCCESS); in getPowerEntityInfo()
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp294 uint32_t id = mPowerEntityInfos.size(); in addPowerEntity()
295 mPowerEntityInfos.push_back({id, name, type}); in addPowerEntity()
309 if (mPowerEntityInfos.empty()) { in getPowerEntityInfo()
314 _hidl_cb(mPowerEntityInfos, Status::SUCCESS); in getPowerEntityInfo()
DPowerStats.h99 std::vector<PowerEntityInfo> mPowerEntityInfos; member
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DPowerStats.h106 std::vector<PowerEntityInfo> mPowerEntityInfos; variable
/hardware/google/pixel/powerstats/include/
DPowerStatsAidl.h92 std::vector<PowerEntity> mPowerEntityInfos; variable