Home
last modified time | relevance | path

Searched refs:setPowerMode (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateStatsTest.cpp95 mRefreshRateStats->setPowerMode(HWC_POWER_MODE_NORMAL); in TEST_F()
103 mRefreshRateStats->setPowerMode(HWC_POWER_MODE_DOZE); in TEST_F()
141 mRefreshRateStats->setPowerMode(HWC_POWER_MODE_NORMAL); in TEST_F()
177 mRefreshRateStats->setPowerMode(HWC_POWER_MODE_DOZE); in TEST_F()
DTestableSurfaceFlinger.h437 auto& setPowerMode(int mode) { in setPowerMode() function
461 display->setPowerMode(static_cast<HWC2::PowerMode>(mPowerMode)); in inject()
535 auto& setPowerMode(int mode) { in setPowerMode() function
DTimeStatsTest.cpp257 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPowerMode(HWC_POWER_MODE_NORMAL)); in TEST_F()
263 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPowerMode(HWC_POWER_MODE_OFF)); in TEST_F()
498 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPowerMode(HWC_POWER_MODE_NORMAL)); in TEST_F()
DDisplayTransactionTest.cpp441 .setPowerMode(INIT_POWER_MODE) in injectHwcDisplayWithNoDefaultCapabilities()
451 setPowerMode(HWC_DISPLAY_ID, in injectHwcDisplay()
3016 display.mutableDisplayDevice()->setPowerMode(mode); in injectDisplayWithInitialPowerMode()
3045 EXPECT_CALL(*test->mComposer, setPowerMode(Display::HWC_DISPLAY_ID, mode)).Times(1); in setupComposerCallExpectations()
3049 EXPECT_CALL(*test->mComposer, setPowerMode(Display::HWC_DISPLAY_ID, _)).Times(0); in setupNoComposerPowerModeCallExpectations()
3127 display.mutableDisplayDevice()->setPowerMode(HWC_POWER_MODE_NORMAL); in TEST_F()
3157 getDisplayDevice(display.token())->setPowerMode(HWC_POWER_MODE_NORMAL); in TEST_F()
DCompositionTest.cpp267 setPowerMode(HWC_DISPLAY, in setupPreconditions()
275 .setPowerMode(Derived::INIT_POWER_MODE) in setupPreconditions()
291 .setPowerMode(Derived::INIT_POWER_MODE) in setupPreconditions()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2Test.cpp82 setPowerMode(display, HWC2_POWER_MODE_OFF); in TearDown()
281 void setPowerMode(hwc2_display_t display, hwc2_power_mode_t mode, in setPowerMode() function in Hwc2Test
1422 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_ON)); in displayLayers()
1451 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_OFF)); in displayLayers()
1466 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_ON)); in displayNonValidatedLayers()
1495 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_OFF)); in displayNonValidatedLayers()
1714 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_ON)); in presentDisplays()
1778 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_OFF)); in presentDisplays()
1801 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_ON)); in createAndPresentVirtualDisplay()
1916 ASSERT_NO_FATAL_FAILURE(setPowerMode(display, HWC2_POWER_MODE_OFF)); in createAndPresentVirtualDisplay()
[all …]
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h65 virtual void setPowerMode(int32_t powerMode) = 0;
137 void setPowerMode(int32_t powerMode) override;
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockTimeStats.h46 MOCK_METHOD1(setPowerMode, void(int32_t));
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp87 setPowerMode(args.initialPowerMode);
138 void DisplayDevice::setPowerMode(int mode) { in setPowerMode() function in android::DisplayDevice
DDisplayDevice.h143 void setPowerMode(int mode);
DSurfaceFlinger.cpp4521 display->setPowerMode(mode); in setPowerModeInternal()
4529 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4560 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4566 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4577 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4580 getHwComposer().setPowerMode(*displayId, mode); in setPowerModeInternal()
4584 mTimeStats->setPowerMode(mode); in setPowerModeInternal()
4585 mRefreshRateStats->setPowerMode(mode); in setPowerModeInternal()
4592 void SurfaceFlinger::setPowerMode(const sp<IBinder>& displayToken, int mode) { in setPowerMode() function in android::SurfaceFlinger
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h52 void setPowerMode(int mode) { in setPowerMode() function
/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/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h48 MOCK_METHOD2(setPowerMode, status_t(DisplayId, int));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h85 virtual status_t setPowerMode(DisplayId displayId, int mode) = 0;
223 status_t setPowerMode(DisplayId displayId, int mode) override;
DHWComposer.cpp588 status_t HWComposer::setPowerMode(DisplayId displayId, int32_t intMode) { in setPowerMode() function in android::impl::HWComposer
608 auto error = hwcDisplay->setPowerMode(mode); in setPowerMode()
629 error = hwcDisplay->setPowerMode(mode); 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() function in HWC2::impl::Display
646 auto intError = mComposer.setPowerMode(mId, intMode); in setPowerMode()
DComposerHal.cpp621 Error Composer::setPowerMode(Display display, IComposerClient::PowerMode mode) { in setPowerMode() function in android::Hwc2::impl::Composer
626 ret = mClient->setPowerMode(display, static_cast<V2_1::IComposerClient::PowerMode>(mode)); in setPowerMode()
/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() function in FakeComposerClient
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h165 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0;
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h241 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;

12