Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp202 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()
DTestableSurfaceFlinger.h559 auto calculateMaxAcquiredBufferCount(Fps refreshRate, in calculateMaxAcquiredBufferCount() function
561 return SurfaceFlinger::calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in calculateMaxAcquiredBufferCount()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h1224 static int calculateMaxAcquiredBufferCount(Fps refreshRate,
DSurfaceFlinger.cpp9011 int SurfaceFlinger::calculateMaxAcquiredBufferCount(Fps refreshRate, in calculateMaxAcquiredBufferCount() function in android::SurfaceFlinger
9051 return calculateMaxAcquiredBufferCount(refreshRate, presentLatency); in getMaxAcquiredBufferCountForRefreshRate()