/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateStatsTest.cpp | 95 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()
|
D | TestableSurfaceFlinger.h | 437 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
|
D | TimeStatsTest.cpp | 257 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()
|
D | DisplayTransactionTest.cpp | 441 .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()
|
D | CompositionTest.cpp | 267 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/ |
D | Hwc2Test.cpp | 82 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/ |
D | TimeStats.h | 65 virtual void setPowerMode(int32_t powerMode) = 0; 137 void setPowerMode(int32_t powerMode) override;
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockTimeStats.h | 46 MOCK_METHOD1(setPowerMode, void(int32_t));
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 87 setPowerMode(args.initialPowerMode); 138 void DisplayDevice::setPowerMode(int mode) { in setPowerMode() function in android::DisplayDevice
|
D | DisplayDevice.h | 143 void setPowerMode(int mode);
|
D | SurfaceFlinger.cpp | 4521 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/ |
D | RefreshRateStats.h | 52 void setPowerMode(int mode) { in setPowerMode() function
|
/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/surfaceflinger/CompositionEngine/tests/ |
D | MockHWComposer.h | 48 MOCK_METHOD2(setPowerMode, status_t(DisplayId, int));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 85 virtual status_t setPowerMode(DisplayId displayId, int mode) = 0; 223 status_t setPowerMode(DisplayId displayId, int mode) override;
|
D | HWComposer.cpp | 588 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()
|
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() function in HWC2::impl::Display 646 auto intError = mComposer.setPowerMode(mId, intMode); in setPowerMode()
|
D | ComposerHal.cpp | 621 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/ |
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() function in FakeComposerClient
|
/frameworks/native/libs/gui/include/gui/ |
D | ISurfaceComposer.h | 165 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0;
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.h | 241 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
|