/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/ |
D | PowerMode.aidl | 19 import android.hardware.graphics.composer3.PowerMode; 23 enum PowerMode { enum
|
D | Hidl2AidlAsserts.cpp | 158 aidl::android::hardware::graphics::composer3::PowerMode::OFF == 159 static_cast<aidl::android::hardware::graphics::composer3::PowerMode>( 160 ::android::hardware::graphics::composer::V2_2::IComposerClient::PowerMode::OFF)); 162 aidl::android::hardware::graphics::composer3::PowerMode::DOZE == 163 static_cast<aidl::android::hardware::graphics::composer3::PowerMode>( 164 ::android::hardware::graphics::composer::V2_2::IComposerClient::PowerMode::DOZE)); 165 static_assert(aidl::android::hardware::graphics::composer3::PowerMode::DOZE_SUSPEND == 166 static_cast<aidl::android::hardware::graphics::composer3::PowerMode>( 167 ::android::hardware::graphics::composer::V2_2::IComposerClient::PowerMode:: 170 aidl::android::hardware::graphics::composer3::PowerMode::ON == [all …]
|
D | IComposerClient.aidl | 40 import android.hardware.graphics.composer3.PowerMode; 749 void setPowerMode(long display, PowerMode mode); in setPowerMode()
|
/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 319 std::vector<IComposerClient::PowerMode> modes; in TEST_P() 320 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 321 modes.push_back(IComposerClient::PowerMode::ON_SUSPEND); in TEST_P() 322 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 336 std::vector<IComposerClient::PowerMode> modes; in TEST_P() 338 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 339 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 347 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 348 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 356 modes.push_back(IComposerClient::PowerMode::ON_SUSPEND); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 430 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::OFF)); in TEST_P() 432 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::ON)); in TEST_P() 440 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::OFF)); in TEST_P() 442 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::ON)); in TEST_P() 523 std::vector<IComposerClient::PowerMode> modes; in TEST_P() 524 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 527 modes.push_back(IComposerClient::PowerMode::DOZE); in TEST_P() 528 modes.push_back(IComposerClient::PowerMode::DOZE_SUSPEND); in TEST_P() 532 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 546 std::vector<IComposerClient::PowerMode> modes; in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/ |
D | PowerMode.aidl | 36 enum PowerMode { enum
|
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/ |
D | PowerMode.aidl | 36 enum PowerMode { enum
|
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/1/android/hardware/graphics/composer3/ |
D | PowerMode.aidl | 36 enum PowerMode { enum
|
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
D | ComposerHal.h | 53 Error setPowerMode(Display display, V2_1::IComposerClient::PowerMode mode) override { in setPowerMode() 54 return setPowerMode_2_2(display, static_cast<IComposerClient::PowerMode>(mode)); in setPowerMode() 82 virtual Error setPowerMode_2_2(Display display, IComposerClient::PowerMode mode) = 0;
|
/hardware/interfaces/graphics/composer/aidl/vts/ |
D | VtsHalGraphicsComposer3_TargetTest.cpp | 971 EXPECT_TRUE(mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::OFF).isOk()); in TEST_P() 972 EXPECT_TRUE(mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::ON).isOk()); in TEST_P() 985 EXPECT_TRUE(mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::OFF).isOk()); in TEST_P() 986 EXPECT_TRUE(mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::ON).isOk()); in TEST_P() 1006 mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::DOZE); in TEST_P() 1012 mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::DOZE_SUSPEND); in TEST_P() 1020 mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::ON_SUSPEND); in TEST_P() 1026 mComposerClient->setPowerMode(getPrimaryDisplayId(), PowerMode::DOZE_SUSPEND); in TEST_P() 1053 std::vector<PowerMode> modes; in TEST_P() 1054 modes.push_back(PowerMode::OFF); in TEST_P() [all …]
|
/hardware/qcom/sm7250/display/composer/ |
D | hwc_display.h | 230 virtual HWC2::PowerMode GetCurrentPowerMode(); 418 virtual HWC2::Error SetPowerMode(HWC2::PowerMode mode, bool teardown); 419 virtual HWC2::Error UpdatePowerMode(HWC2::PowerMode mode) { in UpdatePowerMode() 457 virtual HWC2::PowerMode GetPendingPowerMode() { in GetPendingPowerMode() 460 virtual void SetPendingPowerMode(HWC2::PowerMode mode) { in SetPendingPowerMode() 578 HWC2::PowerMode current_power_mode_ = HWC2::PowerMode::Off; 579 HWC2::PowerMode pending_power_mode_ = HWC2::PowerMode::Off;
|
D | hwc_display_dummy.h | 48 virtual HWC2::Error UpdatePowerMode(HWC2::PowerMode mode);
|
D | hwc_session_services.cpp | 72 bool WaitForResourceNeeded(HWC2::PowerMode prev_mode, HWC2::PowerMode new_mode) { in WaitForResourceNeeded() 73 return ((prev_mode == HWC2::PowerMode::Off) && in WaitForResourceNeeded() 74 (new_mode == HWC2::PowerMode::On || new_mode == HWC2::PowerMode::Doze)); in WaitForResourceNeeded() 716 DisplayConfig::PowerMode power_mode) { in SetPowerMode() 728 HWC2::PowerMode previous_mode = hwc_session_->hwc_display_[disp_id]->GetCurrentPowerMode(); in SetPowerMode() 731 auto mode = static_cast<HWC2::PowerMode>(power_mode); in SetPowerMode() 800 HWC2::PowerMode new_mode = hwc_session_->hwc_display_[disp_id]->GetCurrentPowerMode(); in SetPowerMode()
|
D | hwc_display_pluggable.h | 58 virtual HWC2::Error UpdatePowerMode(HWC2::PowerMode mode);
|
D | hwc_display_dummy.cpp | 89 HWC2::Error HWCDisplayDummy::UpdatePowerMode(HWC2::PowerMode mode) { in UpdatePowerMode()
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display_pluggable.h | 57 virtual HWC2::Error UpdatePowerMode(HWC2::PowerMode mode);
|
D | hwc_display.h | 158 virtual HWC2::PowerMode GetCurrentPowerMode(); 322 virtual HWC2::Error SetPowerMode(HWC2::PowerMode mode, bool teardown); 323 virtual HWC2::Error UpdatePowerMode(HWC2::PowerMode mode) { in UpdatePowerMode() 456 HWC2::PowerMode current_power_mode_ = HWC2::PowerMode::Off;
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.h | 98 virtual HWC2::PowerMode GetLastPowerMode(); 173 virtual HWC2::Error SetPowerMode(HWC2::PowerMode mode); 247 HWC2::PowerMode last_power_mode_;
|
D | hwc_display.cpp | 489 HWC2::Error HWCDisplay::SetPowerMode(HWC2::PowerMode mode) { in BuildLayerStack() 499 case HWC2::PowerMode::Off: in BuildLayerStack() 505 case HWC2::PowerMode::On: in BuildLayerStack() 507 last_power_mode_ = HWC2::PowerMode::On; in BuildLayerStack() 509 case HWC2::PowerMode::Doze: in BuildLayerStack() 511 last_power_mode_ = HWC2::PowerMode::Doze; in BuildLayerStack() 513 case HWC2::PowerMode::DozeSuspend: in BuildLayerStack() 515 last_power_mode_ = HWC2::PowerMode::DozeSuspend; in BuildLayerStack() 690 HWC2::PowerMode HWCDisplay::GetLastPowerMode() { in BuildLayerStack() 1374 status = INT32(SetPowerMode(HWC2::PowerMode::On)); in BuildLayerStack() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/ |
D | HwcHal.h | 150 Error setPowerMode_2_2(Display display, IComposerClient::PowerMode mode) override { in setPowerMode_2_2() 151 if (mode == IComposerClient::PowerMode::ON_SUSPEND) { in setPowerMode_2_2() 154 return setPowerMode(display, static_cast<V2_1::IComposerClient::PowerMode>(mode)); in setPowerMode_2_2()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display.h | 115 virtual HWC2::PowerMode GetLastPowerMode(); 201 virtual HWC2::Error SetPowerMode(HWC2::PowerMode mode); 276 HWC2::PowerMode last_power_mode_;
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.h | 114 virtual HWC2::PowerMode GetLastPowerMode(); 200 virtual HWC2::Error SetPowerMode(HWC2::PowerMode mode); 269 HWC2::PowerMode last_power_mode_;
|
D | hwc_display.cpp | 663 HWC2::Error HWCDisplay::SetPowerMode(HWC2::PowerMode mode) { in BuildLayerStack() 673 case HWC2::PowerMode::Off: in BuildLayerStack() 682 case HWC2::PowerMode::On: in BuildLayerStack() 684 last_power_mode_ = HWC2::PowerMode::On; in BuildLayerStack() 686 case HWC2::PowerMode::Doze: in BuildLayerStack() 688 last_power_mode_ = HWC2::PowerMode::Doze; in BuildLayerStack() 690 case HWC2::PowerMode::DozeSuspend: in BuildLayerStack() 692 last_power_mode_ = HWC2::PowerMode::DozeSuspend; in BuildLayerStack() 886 HWC2::PowerMode HWCDisplay::GetLastPowerMode() { in BuildLayerStack() 1589 status = INT32(SetPowerMode(HWC2::PowerMode::On)); in BuildLayerStack() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display.h | 106 virtual HWC2::PowerMode GetLastPowerMode(); 188 virtual HWC2::Error SetPowerMode(HWC2::PowerMode mode); 265 HWC2::PowerMode last_power_mode_;
|
D | hwc_display.cpp | 670 HWC2::Error HWCDisplay::SetPowerMode(HWC2::PowerMode mode) { in BuildLayerStack() 680 case HWC2::PowerMode::Off: in BuildLayerStack() 689 case HWC2::PowerMode::On: in BuildLayerStack() 691 last_power_mode_ = HWC2::PowerMode::On; in BuildLayerStack() 693 case HWC2::PowerMode::Doze: in BuildLayerStack() 695 last_power_mode_ = HWC2::PowerMode::Doze; in BuildLayerStack() 697 case HWC2::PowerMode::DozeSuspend: in BuildLayerStack() 699 last_power_mode_ = HWC2::PowerMode::DozeSuspend; in BuildLayerStack() 906 HWC2::PowerMode HWCDisplay::GetLastPowerMode() { in BuildLayerStack() 1573 status = INT32(SetPowerMode(HWC2::PowerMode::On)); in BuildLayerStack() [all …]
|