Searched refs:calculateMaxAcquiredBufferCount (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerTest.cpp | 202 TEST_F(SchedulerTest, calculateMaxAcquiredBufferCount) { in TEST_F() argument 203 EXPECT_EQ(1, mFlinger.calculateMaxAcquiredBufferCount(60_Hz, 30ms)); in TEST_F() 204 EXPECT_EQ(2, mFlinger.calculateMaxAcquiredBufferCount(90_Hz, 30ms)); in TEST_F() 205 EXPECT_EQ(3, mFlinger.calculateMaxAcquiredBufferCount(120_Hz, 30ms)); in TEST_F() 207 EXPECT_EQ(2, mFlinger.calculateMaxAcquiredBufferCount(60_Hz, 40ms)); in TEST_F() 209 EXPECT_EQ(1, mFlinger.calculateMaxAcquiredBufferCount(60_Hz, 10ms)); in TEST_F() 213 EXPECT_EQ(2, mFlinger.calculateMaxAcquiredBufferCount(60_Hz, 10ms)); in TEST_F()
|
D | TestableSurfaceFlinger.h | 559 auto calculateMaxAcquiredBufferCount(Fps refreshRate, in calculateMaxAcquiredBufferCount() function 561 return SurfaceFlinger::calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in calculateMaxAcquiredBufferCount()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 1224 static int calculateMaxAcquiredBufferCount(Fps refreshRate,
|
D | SurfaceFlinger.cpp | 9011 int SurfaceFlinger::calculateMaxAcquiredBufferCount(Fps refreshRate, in calculateMaxAcquiredBufferCount() function in android::SurfaceFlinger 9051 return calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in getMaxAcquiredBufferCountForRefreshRate()
|