Home
last modified time | relevance | path

Searched refs:setTargetWorkDuration (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DAidlPowerHalWrapperTest.cpp150 TEST_F(AidlPowerHalWrapperTest, setTargetWorkDuration) { in TEST_F() argument
167 mWrapper->setTargetWorkDuration(1); in TEST_F()
168 mWrapper->setTargetWorkDuration(base.count()); in TEST_F()
173 mWrapper->setTargetWorkDuration(target.count()); in TEST_F()
190 mWrapper->setTargetWorkDuration(1); in TEST_F()
DSurfaceFlinger_PowerHintTest.cpp135 EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(_)).Times(1); in TEST_F()
158 EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(_)).Times(0); in TEST_F()
DPowerAdvisorTest.cpp78 mPowerAdvisor->setTargetWorkDuration(vsyncPeriod); in fakeBasicFrameTiming()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.h56 virtual void setTargetWorkDuration(nsecs_t targetDuration) = 0;
114 virtual void setTargetWorkDuration(nsecs_t targetDuration) = 0;
132 void setTargetWorkDuration(nsecs_t targetDuration) override;
297 void setTargetWorkDuration(nsecs_t targetDuration) override;
DPowerAdvisor.cpp199 void PowerAdvisor::setTargetWorkDuration(int64_t targetDuration) { in setTargetWorkDuration() function in android::Hwc2::impl::PowerAdvisor
208 halWrapper->setTargetWorkDuration(targetDuration); in setTargetWorkDuration()
617 void setTargetWorkDuration(int64_t) override {} in setTargetWorkDuration() function in android::Hwc2::impl::HidlPowerHalWrapper
745 void AidlPowerHalWrapper::setTargetWorkDuration(int64_t targetDuration) { in setTargetWorkDuration() function in android::Hwc2::impl::AidlPowerHalWrapper
885 mHalWrapper->setTargetWorkDuration(*oldTargetWorkDuration); in getPowerHal()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockAidlPowerHalWrapper.h45 MOCK_METHOD(void, setTargetWorkDuration, (nsecs_t targetDuration), (override));
DMockPowerAdvisor.h39 MOCK_METHOD(void, setTargetWorkDuration, (int64_t targetDuration), (override));
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockPowerAdvisor.h41 MOCK_METHOD(void, setTargetWorkDuration, (int64_t targetDuration), (override));
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2104 mPowerAdvisor->setTargetWorkDuration(vsyncPeriod); in commit()