Home
last modified time | relevance | path

Searched refs:SetPolicyResult (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectorTest.cpp52 using SetPolicyResult = RefreshRateSelector::SetPolicyResult; typedef
132 SetPolicyResult setPolicy(const PolicyVariant& policy) { in setPolicy()
137 SetPolicyResult setDisplayManagerPolicy(const DisplayManagerPolicy& policy) { in setDisplayManagerPolicy()
341 EXPECT_EQ(SetPolicyResult::Invalid, in TEST_P()
343 EXPECT_EQ(SetPolicyResult::Invalid, in TEST_P()
350 EXPECT_EQ(SetPolicyResult::Changed, in TEST_P()
353 EXPECT_EQ(SetPolicyResult::Unchanged, in TEST_P()
357 EXPECT_EQ(SetPolicyResult::Unchanged, in TEST_P()
361 EXPECT_EQ(SetPolicyResult::Unchanged, in TEST_P()
364 EXPECT_EQ(SetPolicyResult::Changed, in TEST_P()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.h114 enum class SetPolicyResult { Invalid, Unchanged, Changed }; enum
132 SetPolicyResult setPolicy(const PolicyVariant&) EXCLUDES(mLock) REQUIRES(kMainThreadContext);
DRefreshRateSelector.cpp1356 auto RefreshRateSelector::setPolicy(const PolicyVariant& policy) -> SetPolicyResult { in setPolicy()
1389 return SetPolicyResult::Invalid; in setPolicy()
1425 return SetPolicyResult::Unchanged; in setPolicy()
1442 return SetPolicyResult::Changed; in setPolicy()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp8723 using SetPolicyResult = scheduler::RefreshRateSelector::SetPolicyResult; in setDesiredDisplayModeSpecsInternal() typedef
8726 case SetPolicyResult::Invalid: in setDesiredDisplayModeSpecsInternal()
8728 case SetPolicyResult::Unchanged: in setDesiredDisplayModeSpecsInternal()
8730 case SetPolicyResult::Changed: in setDesiredDisplayModeSpecsInternal()