Searched refs:PowerMode (Results 1 – 17 of 17) sorted by relevance
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.h | 89 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;
|
D | vr_hwc.cpp | 480 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/ |
D | hwc_types.h | 240 struct PowerMode final : public Wrapper<HWC2::PowerMode> { 248 PowerMode() : Base(Off) {}
|
D | hardware_composer.cpp | 322 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/ |
D | HWComposer.cpp | 597 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()
|
D | HWC2.h | 259 [[clang::warn_unused_result]] virtual Error setPowerMode(PowerMode mode) = 0; 320 Error setPowerMode(PowerMode mode) override;
|
D | ComposerHal.h | 142 virtual Error setPowerMode(Display display, IComposerClient::PowerMode mode) = 0; 357 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
|
D | HWC2.cpp | 643 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()
|
D | ComposerHal.cpp | 619 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/ |
D | DisplayTransactionTest.cpp | 442 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 …]
|
D | TestableSurfaceFlinger.h | 459 display->setPowerMode(static_cast<HWC2::PowerMode>(mPowerMode)); in inject()
|
D | CompositionTest.cpp | 258 static_cast<Hwc2::IComposerClient::PowerMode>( in setupPreconditions()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockDisplay.h | 77 MOCK_METHOD1(setPowerMode, Error(HWC2::PowerMode));
|
D | MockComposer.h | 90 MOCK_METHOD2(setPowerMode, Error(Display, IComposerClient::PowerMode));
|
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/ |
D | parcelable_composer_frame.cpp | 84 frame_.power_mode = static_cast<IComposerClient::PowerMode>(value); in readFromParcel()
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.h | 90 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
|
D | FakeComposerClient.cpp | 327 Error FakeComposerClient::setPowerMode(Display /*display*/, IComposerClient::PowerMode /*mode*/) { in setPowerMode() argument
|