Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DUClampVoterTest.cpp211 EXPECT_FALSE(votes.voteIsActive(cpu_vote_id)); in TEST()
216 EXPECT_FALSE(votes.voteIsActive(gpu_vote_id)); in TEST()
248 EXPECT_TRUE(votes.voteIsActive(gpu_vote_id)); in TEST()
251 EXPECT_FALSE(votes.voteIsActive(gpu_vote_id)); in TEST()
254 EXPECT_TRUE(votes.voteIsActive(gpu_vote_id)); in TEST()
306 EXPECT_TRUE(votes.voteIsActive(gpu_vote_id)); in TEST()
311 EXPECT_FALSE(votes.voteIsActive(gpu_vote_id)); in TEST()
326 EXPECT_TRUE(votes.voteIsActive(capacity_vote_id)); in TEST()
327 EXPECT_TRUE(votes.voteIsActive(load_vote_id)); in TEST()
334 EXPECT_TRUE(votes.voteIsActive(capacity_vote_id)); in TEST()
[all …]
/hardware/google/pixel/power-libperfmgr/aidl/
DPowerSessionManager.cpp310 return !votes.voteIsActive(vote_id) || deadline < votes.voteTimeout(vote_id); in shouldScheduleTimeout()
439 const bool voteIsActive = sessValPtr->votes->voteIsActive(eventTimeout.voteId); in handleEvent() local
442 if (voteIsActive) { in handleEvent()
DUClampVoter.h141 bool voteIsActive(int voteId) const;
DUClampVoter.cpp173 bool Votes::voteIsActive(int voteId) const { in voteIsActive() function in aidl::google::hardware::power::impl::pixel::Votes