Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DUClampVoterTest.cpp319 auto const capacity_vote_id = static_cast<int>(AdpfVoteType::GPU_CAPACITY); in TEST() local
323 votes.add(capacity_vote_id, GpuVote(true, now, 100ms, Cycles(321))); in TEST()
326 EXPECT_TRUE(votes.voteIsActive(capacity_vote_id)); in TEST()
334 EXPECT_TRUE(votes.voteIsActive(capacity_vote_id)); in TEST()
DSessionTaskMapTest.cpp369 auto const capacity_vote_id = static_cast<int>(AdpfVoteType::GPU_CAPACITY); in TEST() local
382 m.addGpuVote(session_id1, capacity_vote_id, Cycles(222), now, 400ms); in TEST()
388 m.addGpuVote(session_id2, capacity_vote_id, Cycles(321), now, 150ms); in TEST()