Home
last modified time | relevance | path

Searched refs:Votes (Results 1 – 6 of 6) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/
DUClampVoter.cpp40 Votes::Votes() {} in Votes() function in aidl::google::hardware::power::impl::pixel::Votes
50 void Votes::add(int id, CpuVote const &vote) { in add()
56 std::optional<Cycles> Votes::getGpuCapacityRequest(std::chrono::steady_clock::time_point t) const { in getGpuCapacityRequest()
73 void Votes::add(int id, GpuVote const &vote) { in add()
79 void Votes::updateDuration(int voteId, std::chrono::nanoseconds durationNs) { in updateDuration()
94 void Votes::getUclampRange(UclampRange &uclampRange, in getUclampRange()
102 bool Votes::anyTimedOut(std::chrono::steady_clock::time_point t) const { in anyTimedOut()
117 bool Votes::allTimedOut(std::chrono::steady_clock::time_point t) const { in allTimedOut()
132 bool Votes::remove(int voteId) { in remove()
151 bool Votes::setUseVote(int voteId, bool active) { in setUseVote()
[all …]
DUClampVoter.h106 class Votes {
108 Votes();
DSessionValueEntry.h44 std::shared_ptr<Votes> votes;
DPowerSessionManager.cpp128 sve.votes = std::make_shared<Votes>(); in addPowerSession()
308 auto shouldScheduleTimeout(Votes const &votes, int vote_id, std::chrono::time_point<T> deadline) in shouldScheduleTimeout()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DUClampVoterTest.cpp86 Votes votes; in TEST()
99 auto votes = std::make_shared<Votes>(); in TEST()
136 auto votes = std::make_shared<Votes>(); in TEST()
158 auto votes = std::make_shared<Votes>(); in TEST()
180 auto votes = std::make_shared<Votes>(); in TEST()
206 Votes votes; in TEST()
230 Votes votes; in TEST()
243 Votes votes; in TEST()
265 Votes votes; in TEST()
282 Votes votes; in TEST()
[all …]
DSessionTaskMapTest.cpp39 sv.votes = std::make_shared<Votes>(); in makeSession()
200 sve.votes = std::make_shared<Votes>(); in TEST()
219 sv.votes = std::make_shared<Votes>(); in TEST()
302 sv.votes = std::make_shared<Votes>(); in TEST()
312 sv.votes = std::make_shared<Votes>(); in TEST()
343 .votes = std::make_shared<Votes>()}; in TEST()
376 .votes = std::make_shared<Votes>()}; in TEST()