/hardware/interfaces/power/1.1/vts/functional/ |
D | VtsHalPowerV1_1TargetTest.cpp | 27 using ::android::hardware::power::V1_0::PowerHint; 61 PowerHint badHint = static_cast<PowerHint>(0xA); in TEST_P() 62 auto hints = {PowerHint::VSYNC, PowerHint::INTERACTION, PowerHint::VIDEO_ENCODE, in TEST_P() 63 PowerHint::VIDEO_DECODE, PowerHint::LOW_POWER, PowerHint::SUSTAINED_PERFORMANCE, in TEST_P() 64 PowerHint::VR_MODE, PowerHint::LAUNCH, badHint}; in TEST_P() 76 std::vector<PowerHint> hints2 = {PowerHint::LAUNCH, PowerHint::VR_MODE, in TEST_P() 77 PowerHint::SUSTAINED_PERFORMANCE, PowerHint::INTERACTION}; in TEST_P() 78 auto compareHints = [](PowerHint l, PowerHint r) { in TEST_P()
|
/hardware/interfaces/power/1.2/vts/functional/ |
D | VtsHalPowerV1_2TargetTest.cpp | 28 using ::android::hardware::power::V1_2::PowerHint; 42 std::vector<PowerHint> hints; in TEST_P() 43 for (uint32_t i = static_cast<uint32_t>(PowerHint::VSYNC); in TEST_P() 44 i <= static_cast<uint32_t>(PowerHint::CAMERA_SHOT); ++i) { in TEST_P() 45 hints.emplace_back(static_cast<PowerHint>(i)); in TEST_P() 47 PowerHint badHint = static_cast<PowerHint>(0xFF); in TEST_P() 61 std::vector<PowerHint> hints2 = {PowerHint::AUDIO_STREAMING, PowerHint::CAMERA_LAUNCH, in TEST_P() 62 PowerHint::CAMERA_STREAMING, PowerHint::CAMERA_SHOT}; in TEST_P() 63 auto compareHints = [](PowerHint l, PowerHint r) { in TEST_P()
|
/hardware/interfaces/power/1.0/vts/functional/ |
D | VtsHalPowerV1_0TargetTest.cpp | 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() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraPerf.cpp | 347 PowerHint powerHint, in powerHintInternal() 491 powerHintInternal(PowerHint::CAMERA_STREAMING, true); in acquirePerfLock() 495 powerHintInternal(PowerHint::CAMERA_LAUNCH, timer); in acquirePerfLock() 498 powerHintInternal(PowerHint::CAMERA_SHOT, timer); in acquirePerfLock() 501 powerHintInternal(PowerHint::CAMERA_SHOT, timer); in acquirePerfLock() 557 powerHintInternal(PowerHint::CAMERA_STREAMING, false); in releasePerfLock() 561 powerHintInternal(PowerHint::CAMERA_LAUNCH, false); in releasePerfLock() 564 powerHintInternal(PowerHint::CAMERA_SHOT, false); in releasePerfLock() 567 powerHintInternal(PowerHint::CAMERA_SHOT, false); in releasePerfLock() 613 PowerHint powerHint, in powerHintInternal() [all …]
|
D | QCameraPerf.h | 41 using android::hardware::power::V1_2::PowerHint; 89 void powerHintInternal(PowerHint powerHint, int32_t time_out); 130 bool powerHint(PowerHint hint, int32_t data); 144 void powerHintInternal(PerfLockEnum perfLockType, PowerHint powerHint, int32_t time_out);
|
/hardware/interfaces/power/1.3/ |
D | types.hal | 18 import @1.2::PowerHint; 21 enum PowerHint : @1.2::PowerHint {
|
D | IPower.hal | 28 * @param hint PowerHint which is passed 32 oneway powerHintAsync_1_3(PowerHint hint, int32_t data);
|
/hardware/interfaces/power/1.3/vts/functional/ |
D | VtsHalPowerV1_3TargetTest.cpp | 28 using ::android::hardware::power::V1_3::PowerHint; 41 ASSERT_TRUE(power->powerHintAsync_1_3(PowerHint::EXPENSIVE_RENDERING, 0).isOk()); in TEST_P()
|
/hardware/qcom/audio/hal/ |
D | audio_perf.cpp | 99 android::hardware::power::V1_2::PowerHint::AUDIO_STREAMING, in audio_streaming_hint_start() 136 android::hardware::power::V1_2::PowerHint::AUDIO_STREAMING, in audio_streaming_hint_end() 173 android::hardware::power::V1_2::PowerHint::AUDIO_LOW_LATENCY, in audio_low_latency_hint_start() 210 android::hardware::power::V1_2::PowerHint::AUDIO_LOW_LATENCY, in audio_low_latency_hint_end()
|
/hardware/interfaces/power/1.0/default/ |
D | Power.h | 32 using ::android::hardware::power::V1_0::PowerHint; 45 Return<void> powerHint(PowerHint hint, int32_t data) override;
|
D | Power.cpp | 47 Return<void> Power::powerHint(PowerHint hint, int32_t data) { in powerHint()
|
/hardware/interfaces/power/1.2/ |
D | types.hal | 18 import @1.0::PowerHint; 21 enum PowerHint : @1.0::PowerHint {
|
D | IPower.hal | 28 * @param hint PowerHint which is passed 32 oneway powerHintAsync_1_2(PowerHint hint, int32_t data);
|
/hardware/interfaces/power/1.1/ |
D | IPower.hal | 44 * @param hint PowerHint which is passed 48 oneway powerHintAsync(PowerHint hint, int32_t data);
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | HintManagerTest.cc | 74 "PowerHint": "INTERACTION", 80 "PowerHint": "INTERACTION", 86 "PowerHint": "LAUNCH", 92 "PowerHint": "LAUNCH", 98 "PowerHint": "LAUNCH", 104 "PowerHint": "MASK_LAUNCH_MODE", 109 "PowerHint": "END_LAUNCH_MODE", 114 "PowerHint": "DO_LAUNCH_MODE",
|
/hardware/interfaces/power/1.0/ |
D | IPower.hal | 59 * @param hint PowerHint which is passed 63 powerHint(PowerHint hint, int32_t data);
|
D | types.hal | 19 enum PowerHint : uint32_t {
|