Home
last modified time | relevance | path

Searched refs:PowerMode (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h89 IComposerClient::PowerMode power_mode;
155 IComposerClient::PowerMode power_mode() const { return power_mode_; } in power_mode()
156 void set_power_mode(IComposerClient::PowerMode mode) { power_mode_ = mode; } in set_power_mode()
186 IComposerClient::PowerMode power_mode_;
241 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
Dvr_hwc.cpp480 Error VrHwc::setPowerMode(Display display, IComposerClient::PowerMode mode) { in setPowerMode()
493 if (mode < IComposerClient::PowerMode::OFF || in setPowerMode()
494 mode > IComposerClient::PowerMode::DOZE_SUSPEND) { in setPowerMode()
499 (mode == IComposerClient::PowerMode::DOZE || in setPowerMode()
500 mode == IComposerClient::PowerMode::DOZE_SUSPEND)) { in setPowerMode()
/frameworks/native/libs/vr/libvrflinger/
Dhwc_types.h240 struct PowerMode final : public Wrapper<HWC2::PowerMode> {
248 PowerMode() : Base(Off) {}
Dhardware_composer.cpp322 HWC::PowerMode power_mode = active ? HWC::PowerMode::On : HWC::PowerMode::Off; in SetPowerMode()
324 power_mode.cast<Hwc2::IComposerClient::PowerMode>()); in SetPowerMode()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp597 auto mode = static_cast<HWC2::PowerMode>(intMode); in setPowerMode()
598 if (mode == HWC2::PowerMode::Off) { in setPowerMode()
604 case HWC2::PowerMode::Off: in setPowerMode()
605 case HWC2::PowerMode::On: in setPowerMode()
615 case HWC2::PowerMode::Doze: in setPowerMode()
616 case HWC2::PowerMode::DozeSuspend: in setPowerMode()
626 mode = HWC2::PowerMode::On; in setPowerMode()
DHWC2.h259 [[clang::warn_unused_result]] virtual Error setPowerMode(PowerMode mode) = 0;
320 Error setPowerMode(PowerMode mode) override;
DComposerHal.h142 virtual Error setPowerMode(Display display, IComposerClient::PowerMode mode) = 0;
357 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
DHWC2.cpp643 Error Display::setPowerMode(PowerMode mode) in setPowerMode()
645 auto intMode = static_cast<Hwc2::IComposerClient::PowerMode>(mode); in setPowerMode()
648 if (mode == PowerMode::On) { in setPowerMode()
DComposerHal.cpp619 Error Composer::setPowerMode(Display display, IComposerClient::PowerMode mode) { in setPowerMode()
623 } else if (mode != IComposerClient::PowerMode::ON_SUSPEND) { in setPowerMode()
624 ret = mClient->setPowerMode(display, static_cast<V2_1::IComposerClient::PowerMode>(mode)); in setPowerMode()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp442 static_cast<Hwc2::IComposerClient::PowerMode>(INIT_POWER_MODE))) in injectHwcDisplay()
2764 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE =
2765 IComposerClient::PowerMode::DOZE;
2766 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE_SUSPEND =
2767 IComposerClient::PowerMode::DOZE_SUSPEND;
2781 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE =
2782 IComposerClient::PowerMode::ON;
2783 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE_SUSPEND =
2784 IComposerClient::PowerMode::ON;
2874 Case::setupComposerCallExpectations(test, IComposerClient::PowerMode::ON); in setupCallExpectations()
[all …]
DTestableSurfaceFlinger.h459 display->setPowerMode(static_cast<HWC2::PowerMode>(mPowerMode)); in inject()
DCompositionTest.cpp258 static_cast<Hwc2::IComposerClient::PowerMode>( in setupPreconditions()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplay.h77 MOCK_METHOD1(setPowerMode, Error(HWC2::PowerMode));
DMockComposer.h90 MOCK_METHOD2(setPowerMode, Error(Display, IComposerClient::PowerMode));
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
Dparcelable_composer_frame.cpp84 frame_.power_mode = static_cast<IComposerClient::PowerMode>(value); in readFromParcel()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h90 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
DFakeComposerClient.cpp327 Error FakeComposerClient::setPowerMode(Display /*display*/, IComposerClient::PowerMode /*mode*/) { in setPowerMode() argument