Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DUClampVoterTest.cpp208 static constexpr int cpu_vote_id = static_cast<int>(AdpfVoteType::CPU_LOAD_UP); in TEST() local
210 votes.add(cpu_vote_id, GpuVote(true, now, 250ns, Cycles(1024))); in TEST()
211 EXPECT_FALSE(votes.voteIsActive(cpu_vote_id)); in TEST()
212 EXPECT_FALSE(votes.setUseVote(cpu_vote_id, true)); in TEST()
213 EXPECT_FALSE(votes.remove(cpu_vote_id)); in TEST()
217 EXPECT_FALSE(votes.setUseVote(cpu_vote_id, true)); in TEST()
218 EXPECT_FALSE(votes.remove(cpu_vote_id)); in TEST()
279 auto const cpu_vote_id = static_cast<int>(AdpfVoteType::CPU_LOAD_UP); in TEST() local
284 votes.add(cpu_vote_id, CpuVote(true, now, timeout2, 66, 88)); in TEST()