Lines Matching refs:PowerHint
35 using ::android::hardware::power::V1_0::PowerHint;
97 power->powerHint(PowerHint::LAUNCH, 1); in TEST_P()
98 power->powerHint(PowerHint::LAUNCH, 0); in TEST_P()
105 TEST_P(PowerHidlTest, PowerHint) { in TEST_P() argument
106 PowerHint badHint = static_cast<PowerHint>(0xA); in TEST_P()
107 auto hints = {PowerHint::VSYNC, PowerHint::INTERACTION, in TEST_P()
108 PowerHint::VIDEO_ENCODE, PowerHint::VIDEO_DECODE, in TEST_P()
109 PowerHint::LOW_POWER, PowerHint::SUSTAINED_PERFORMANCE, in TEST_P()
110 PowerHint::VR_MODE, PowerHint::LAUNCH, in TEST_P()
123 std::vector<PowerHint> hints2 = {PowerHint::LAUNCH, PowerHint::VR_MODE, in TEST_P()
124 PowerHint::SUSTAINED_PERFORMANCE, in TEST_P()
125 PowerHint::INTERACTION}; in TEST_P()
126 auto compareHints = [](PowerHint l, PowerHint r) { in TEST_P()