Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DUClampVoterTest.cpp320 auto const load_vote_id = static_cast<int>(AdpfVoteType::GPU_LOAD_UP); in TEST() local
324 votes.add(load_vote_id, GpuVote(true, now, 50ms, Cycles(123))); in TEST()
327 EXPECT_TRUE(votes.voteIsActive(load_vote_id)); in TEST()
333 EXPECT_TRUE(votes.setUseVote(load_vote_id, false)); in TEST()
335 EXPECT_FALSE(votes.voteIsActive(load_vote_id)); in TEST()
DSessionTaskMapTest.cpp370 auto const load_vote_id = static_cast<int>(AdpfVoteType::GPU_LOAD_UP); in TEST() local
383 m.addGpuVote(session_id1, load_vote_id, Cycles(111), now, 100ms); in TEST()
389 m.addGpuVote(session_id2, load_vote_id, Cycles(123), now, 50ms); in TEST()