/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 320 std::vector<IComposerClient::PowerMode> modes; in TEST_P() 321 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 322 modes.push_back(IComposerClient::PowerMode::ON_SUSPEND); in TEST_P() 323 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 337 std::vector<IComposerClient::PowerMode> modes; in TEST_P() 339 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 340 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 348 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 349 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 357 modes.push_back(IComposerClient::PowerMode::ON_SUSPEND); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 429 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::OFF)); in TEST_P() 431 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::ON)); in TEST_P() 439 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::OFF)); in TEST_P() 441 mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::ON)); in TEST_P() 522 std::vector<IComposerClient::PowerMode> modes; in TEST_P() 523 modes.push_back(IComposerClient::PowerMode::OFF); in TEST_P() 526 modes.push_back(IComposerClient::PowerMode::DOZE); in TEST_P() 527 modes.push_back(IComposerClient::PowerMode::DOZE_SUSPEND); in TEST_P() 531 modes.push_back(IComposerClient::PowerMode::ON); in TEST_P() 545 std::vector<IComposerClient::PowerMode> modes; in TEST_P() [all …]
|
/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/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 …]
|
D | hwc_display_virtual.cpp | 62 status = INT32(hwc_display_virtual->SetPowerMode(HWC2::PowerMode::On)); in Create()
|
/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/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;
|
D | hwc_display.cpp | 930 HWC2::Error HWCDisplay::SetPowerMode(HWC2::PowerMode mode, bool teardown) { in SetPowerMode() 940 case HWC2::PowerMode::Off: in SetPowerMode() 949 case HWC2::PowerMode::On: in SetPowerMode() 952 case HWC2::PowerMode::Doze: in SetPowerMode() 955 case HWC2::PowerMode::DozeSuspend: in SetPowerMode() 1433 HWC2::PowerMode HWCDisplay::GetCurrentPowerMode() { in GetCurrentPowerMode() 2123 status = INT32(SetPowerMode(HWC2::PowerMode::On, false /* teardown */)); in SetDisplayStatus() 2126 status = INT32(SetPowerMode(HWC2::PowerMode::On, false /* teardown */)); in SetDisplayStatus() 2130 status = INT32(SetPowerMode(HWC2::PowerMode::Off, false /* teardown */)); in SetDisplayStatus() 2133 status = INT32(SetPowerMode(HWC2::PowerMode::Off, false /* teardown */)); in SetDisplayStatus() [all …]
|
/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 …]
|
D | hwc_display_virtual.cpp | 62 status = INT32(hwc_display_virtual->SetPowerMode(HWC2::PowerMode::On)); in Create()
|
/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 …]
|
D | hwc_display_virtual.cpp | 62 status = INT32(hwc_display_virtual->SetPowerMode(HWC2::PowerMode::On)); in Create()
|
/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_;
|
D | hwc_display.cpp | 705 HWC2::Error HWCDisplay::SetPowerMode(HWC2::PowerMode mode) { in BuildLayerStack() 715 case HWC2::PowerMode::Off: in BuildLayerStack() 724 case HWC2::PowerMode::On: in BuildLayerStack() 726 last_power_mode_ = HWC2::PowerMode::On; in BuildLayerStack() 728 case HWC2::PowerMode::Doze: in BuildLayerStack() 730 last_power_mode_ = HWC2::PowerMode::Doze; in BuildLayerStack() 732 case HWC2::PowerMode::DozeSuspend: in BuildLayerStack() 734 last_power_mode_ = HWC2::PowerMode::DozeSuspend; in BuildLayerStack() 948 HWC2::PowerMode HWCDisplay::GetLastPowerMode() { in BuildLayerStack() 1682 status = INT32(SetPowerMode(HWC2::PowerMode::On)); in BuildLayerStack() [all …]
|
/hardware/interfaces/graphics/composer/2.2/ |
D | IComposerClient.hal | 30 enum PowerMode : @2.1::IComposerClient.PowerMode { 327 * All displays must support PowerMode::ON and PowerMode::OFF. Whether a 328 * display supports PowerMode::DOZE or PowerMode::DOZE_SUSPEND may be 338 setPowerMode_2_2(Display display, PowerMode mode) generates (Error error);
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display.cpp | 930 HWC2::Error HWCDisplay::SetPowerMode(HWC2::PowerMode mode) { in SetPowerMode() 940 case HWC2::PowerMode::Off: in SetPowerMode() 949 case HWC2::PowerMode::On: in SetPowerMode() 951 last_power_mode_ = HWC2::PowerMode::On; in SetPowerMode() 953 case HWC2::PowerMode::Doze: in SetPowerMode() 955 last_power_mode_ = HWC2::PowerMode::Doze; in SetPowerMode() 957 case HWC2::PowerMode::DozeSuspend: in SetPowerMode() 959 last_power_mode_ = HWC2::PowerMode::DozeSuspend; in SetPowerMode() 1245 HWC2::PowerMode HWCDisplay::GetLastPowerMode() { in GetLastPowerMode() 2021 status = INT32(SetPowerMode(HWC2::PowerMode::On)); in SetDisplayStatus() [all …]
|
D | hwc_display.h | 242 virtual HWC2::PowerMode GetLastPowerMode(); 354 virtual HWC2::Error SetPowerMode(HWC2::PowerMode mode); 443 HWC2::PowerMode last_power_mode_;
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | HWC2On1Adapter.cpp | 566 mPowerMode(PowerMode::Off), in Display() 949 static bool isValid(PowerMode mode) in isValid() 952 case PowerMode::Off: // Fall-through in isValid() 953 case PowerMode::DozeSuspend: // Fall-through in isValid() 954 case PowerMode::Doze: // Fall-through in isValid() 955 case PowerMode::On: return true; in isValid() 960 static int getHwc1PowerMode(PowerMode mode) in getHwc1PowerMode() 963 case PowerMode::Off: return HWC_POWER_MODE_OFF; in getHwc1PowerMode() 964 case PowerMode::DozeSuspend: return HWC_POWER_MODE_DOZE_SUSPEND; in getHwc1PowerMode() 965 case PowerMode::Doze: return HWC_POWER_MODE_DOZE; in getHwc1PowerMode() [all …]
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/ |
D | HWC2On1Adapter.cpp | 522 mPowerMode(PowerMode::Off), in Display() 900 static bool isValid(PowerMode mode) { in isValid() 902 case PowerMode::Off: // Fall-through in isValid() 903 case PowerMode::DozeSuspend: // Fall-through in isValid() 904 case PowerMode::Doze: // Fall-through in isValid() 905 case PowerMode::On: return true; in isValid() 909 static int getHwc1PowerMode(PowerMode mode) { in getHwc1PowerMode() 911 case PowerMode::Off: return HWC_POWER_MODE_OFF; in getHwc1PowerMode() 912 case PowerMode::DozeSuspend: return HWC_POWER_MODE_DOZE_SUSPEND; in getHwc1PowerMode() 913 case PowerMode::Doze: return HWC_POWER_MODE_DOZE; in getHwc1PowerMode() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
D | ComposerVts.h | 78 void setPowerMode_2_2(Display display, IComposerClient::PowerMode mode);
|
/hardware/interfaces/graphics/composer/2.3/ |
D | IComposerClient.hal | 54 * Indicates that the display supports PowerMode::DOZE and 55 * PowerMode::DOZE_SUSPEND. DOZE_SUSPEND may not provide any benefit 56 * over DOZE (see the definition of PowerMode for more information), 58 * PowerMode::ON, the device must not claim support. 60 * indicates the display supports PowerMode::DOZE and 61 * PowerMode::DOZE_SUSPEND.
|