Searched refs:VoteRange (Results 1 – 2 of 2) sorted by relevance
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | UClampVoter.h | 45 class VoteRange { 47 VoteRange() = default; 48 VoteRange(VoteRange const &) = default; 49 VoteRange(VoteRange &&) = default; 50 VoteRange &operator=(VoteRange const &) = default; 51 VoteRange &operator=(VoteRange &&) = default; 52 virtual ~VoteRange() = default; 54 VoteRange(bool active, std::chrono::steady_clock::time_point startTime, in VoteRange() function 84 struct CpuVote final : VoteRange { 88 : VoteRange(active, startTime, durationNs), mUclampRange{uclamp_min, uclamp_max} {} in CpuVote() [all …]
|
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | UClampVoterTest.cpp | 35 TEST(VoteRange, active) { in TEST() argument 37 VoteRange vr(true, tNow, 200ms); in TEST() 41 TEST(VoteRange, inActive) { in TEST() argument 43 VoteRange vr(false, tNow, 200ms); in TEST() 47 TEST(VoteRange, defaultConstructorValues) { in TEST() argument 53 TEST(VoteRange, isTimeInRange) { in TEST() argument 55 VoteRange vote_range(true, tNow, 250ms); in TEST() 63 TEST(VoteRange, isTimeInRangeInActive) { in TEST() argument 65 VoteRange vote_range(true, tNow, 250ms); in TEST() 75 TEST(VoteRange, getUclampRange) { in TEST() argument [all …]
|