Home
last modified time | relevance | path

Searched refs:ValidateFrameRate (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/gui/tests/
DFrameRateUtilsTest.cpp28 TEST(FrameRateUtilsTest, ValidateFrameRate) { in TEST() argument
29 EXPECT_TRUE(ValidateFrameRate(60.0f, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT, in TEST()
31 EXPECT_TRUE(ValidateFrameRate(60.0f, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT, in TEST()
33 EXPECT_TRUE(ValidateFrameRate(60.0f, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT, in TEST()
35 EXPECT_TRUE(ValidateFrameRate(60.0f, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE, in TEST()
37 EXPECT_TRUE(ValidateFrameRate(60.0f, ANATIVEWINDOW_FRAME_RATE_GTE, in TEST()
41 EXPECT_FALSE(ValidateFrameRate(60.0f, ANATIVEWINDOW_FRAME_RATE_EXACT, in TEST()
43 EXPECT_FALSE(ValidateFrameRate(0.0f, ANATIVEWINDOW_FRAME_RATE_NO_VOTE, in TEST()
47 EXPECT_TRUE(ValidateFrameRate(60.0f, ANATIVEWINDOW_FRAME_RATE_EXACT, in TEST()
50 EXPECT_TRUE(ValidateFrameRate(0.0f, ANATIVEWINDOW_FRAME_RATE_NO_VOTE, in TEST()
[all …]
/frameworks/native/libs/gui/include/gui/
DFrameRateUtils.h23 bool ValidateFrameRate(float frameRate, int8_t compatibility, int8_t changeFrameRateStrategy,
/frameworks/native/libs/gui/
DFrameRateUtils.cpp34 bool ValidateFrameRate(float frameRate, int8_t compatibility, int8_t changeFrameRateStrategy, in ValidateFrameRate() function
DBLASTBufferQueue.cpp924 if (!ValidateFrameRate(frameRate, compatibility, changeFrameRateStrategy, in setFrameRate()
DLayerState.cpp504 if (!ValidateFrameRate(frameRate, frameRateCompatibility, in sanitize()
DBufferQueueProducer.cpp1845 if (!ValidateFrameRate(frameRate, compatibility, changeFrameRateStrategy, in setFrameRate()
DSurfaceComposerClient.cpp2094 if (!ValidateFrameRate(frameRate, compatibility, changeFrameRateStrategy, in setFrameRate()