Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h35 constexpr std::chrono::nanoseconds MAX_ACTIVE_LAYER_PERIOD_NS = 1200ms; variable
39 return now - MAX_ACTIVE_LAYER_PERIOD_NS.count(); in getActiveLayerThreshold()
DLayerInfo.cpp43 if (period > MAX_ACTIVE_LAYER_PERIOD_NS.count()) return; in setLastPresentTime()
DLayerInfoV2.h37 constexpr std::chrono::nanoseconds MAX_ACTIVE_LAYER_PERIOD_NS = 1200ms; variable
41 return now - MAX_ACTIVE_LAYER_PERIOD_NS.count(); in getActiveLayerThreshold()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTestV2.cpp220 time += MAX_ACTIVE_LAYER_PERIOD_NS.count(); in TEST_F()
248 time += MAX_ACTIVE_LAYER_PERIOD_NS.count(); in TEST_F()
276 time += MAX_ACTIVE_LAYER_PERIOD_NS.count(); in TEST_F()
306 time += MAX_ACTIVE_LAYER_PERIOD_NS.count(); in TEST_F()
339 time += MAX_ACTIVE_LAYER_PERIOD_NS.count(); in TEST_F()
533 time += MAX_ACTIVE_LAYER_PERIOD_NS.count(); in TEST_F()