Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionTaskMapTest.cpp227 int getVoteMin(const SessionTaskMap &m, int64_t taskId, std::chrono::steady_clock::time_point t) { in getVoteMin() function
251 EXPECT_EQ(0, getVoteMin(m, 10, t0 + 0ns)); in TEST()
253 EXPECT_EQ(111, getVoteMin(m, 10, t0 + 20ns)); in TEST()
255 EXPECT_EQ(111, getVoteMin(m, 10, t0 + 35ns)); in TEST()
257 EXPECT_EQ(133, getVoteMin(m, 10, t0 + 60ns)); in TEST()
259 EXPECT_EQ(133, getVoteMin(m, 10, t0 + 61ns)); in TEST()
261 EXPECT_EQ(133, getVoteMin(m, 10, t0 + 86ns)); in TEST()
263 EXPECT_EQ(0, getVoteMin(m, 10, t0 + 91ns)); in TEST()
282 EXPECT_EQ(0, getVoteMin(m, 20, t0 + 0ns)); in TEST()
284 EXPECT_EQ(211, getVoteMin(m, 20, t0 + 30ns)); in TEST()
[all …]