Home
last modified time | relevance | path

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

/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h88 IComposerClient::PowerMode power_mode;
156 IComposerClient::PowerMode power_mode() const { return power_mode_; } in power_mode()
157 void set_power_mode(IComposerClient::PowerMode mode) { power_mode_ = mode; } in set_power_mode()
189 IComposerClient::PowerMode power_mode_;
244 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
Dvr_hwc.cpp462 Error VrHwc::setPowerMode(Display display, IComposerClient::PowerMode mode) { in setPowerMode()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp609 auto mode = static_cast<HWC2::PowerMode>(intMode); in setPowerMode()
610 if (mode == HWC2::PowerMode::Off) { in setPowerMode()
616 case HWC2::PowerMode::Off: in setPowerMode()
617 case HWC2::PowerMode::On: in setPowerMode()
627 case HWC2::PowerMode::Doze: in setPowerMode()
628 case HWC2::PowerMode::DozeSuspend: in setPowerMode()
638 mode = HWC2::PowerMode::On; in setPowerMode()
DComposerHal.h141 virtual Error setPowerMode(Display display, IComposerClient::PowerMode mode) = 0;
338 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
DComposerHal.cpp575 Error Composer::setPowerMode(Display display, IComposerClient::PowerMode mode) { in setPowerMode()
579 } else if (mode != IComposerClient::PowerMode::ON_SUSPEND) { in setPowerMode()
580 ret = mClient->setPowerMode(display, static_cast<V2_1::IComposerClient::PowerMode>(mode)); in setPowerMode()
DHWC2.h254 [[clang::warn_unused_result]] Error setPowerMode(PowerMode mode);
DHWC2.cpp630 Error Display::setPowerMode(PowerMode mode) in setPowerMode()
632 auto intMode = static_cast<Hwc2::IComposerClient::PowerMode>(mode); in setPowerMode()
/frameworks/native/libs/vr/libvrflinger/
Dhwc_types.h235 struct PowerMode final : public Wrapper<HWC2::PowerMode> {
243 PowerMode() : Base(Off) {}
Dhardware_composer.cpp305 HWC::PowerMode power_mode = active ? HWC::PowerMode::On : HWC::PowerMode::Off; in SetPowerMode()
307 power_mode.cast<Hwc2::IComposerClient::PowerMode>()); in SetPowerMode()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp2363 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE =
2364 IComposerClient::PowerMode::DOZE;
2365 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE_SUSPEND =
2366 IComposerClient::PowerMode::DOZE_SUSPEND;
2372 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE =
2373 IComposerClient::PowerMode::ON;
2374 static constexpr IComposerClient::PowerMode ACTUAL_POWER_MODE_FOR_DOZE_SUSPEND =
2375 IComposerClient::PowerMode::ON;
2442 Case::setupComposerCallExpectations(test, IComposerClient::PowerMode::ON); in setupCallExpectations()
2473 Case::setupComposerCallExpectations(test, IComposerClient::PowerMode::OFF); in setupCallExpectations()
[all …]
/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/unittests/mock/DisplayHardware/
DMockComposer.h89 MOCK_METHOD2(setPowerMode, Error(Display, IComposerClient::PowerMode));
/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