Searched refs:setTargetWorkDuration (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | AidlPowerHalWrapperTest.cpp | 150 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()
|
D | SurfaceFlinger_PowerHintTest.cpp | 135 EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(_)).Times(1); in TEST_F() 158 EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(_)).Times(0); in TEST_F()
|
D | PowerAdvisorTest.cpp | 78 mPowerAdvisor->setTargetWorkDuration(vsyncPeriod); in fakeBasicFrameTiming()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.h | 56 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;
|
D | PowerAdvisor.cpp | 199 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/ |
D | MockAidlPowerHalWrapper.h | 45 MOCK_METHOD(void, setTargetWorkDuration, (nsecs_t targetDuration), (override));
|
D | MockPowerAdvisor.h | 39 MOCK_METHOD(void, setTargetWorkDuration, (int64_t targetDuration), (override));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockPowerAdvisor.h | 41 MOCK_METHOD(void, setTargetWorkDuration, (int64_t targetDuration), (override));
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 2104 mPowerAdvisor->setTargetWorkDuration(vsyncPeriod); in commit()
|