Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTest.cpp26 std::unique_ptr<LayerHistory> mLayerHistory; member in android::scheduler::LayerHistoryTest
32 mLayerHistory = std::make_unique<LayerHistory>(); in LayerHistoryTest()
39 mLayerHistory->createLayer("TestLayer", MAX_REFRESH_RATE); in TEST_F()
40 mLayerHistory->setVisibility(testLayer, true); in TEST_F()
42 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F()
43 EXPECT_FLOAT_EQ(0.f, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
45 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F()
46 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F()
47 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F()
50 EXPECT_FLOAT_EQ(0.f, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.h43 LayerHandle(LayerHistory& lh, int64_t id) : mId(id), mLayerHistory(lh) {} in LayerHandle()
44 ~LayerHandle() { mLayerHistory.destroyLayer(mId); } in ~LayerHandle()
49 LayerHistory& mLayerHistory;
DScheduler.cpp328 return mLayerHistory.createLayer(name, fps); in registerLayer()
334 mLayerHistory.insert(layerHandle, presentTime, isHDR); in addLayerPresentTimeAndHDR()
339 mLayerHistory.setVisibility(layerHandle, visible); in setLayerVisibility()
347 auto [refreshRate, isHDR] = mLayerHistory.getDesiredRefreshRateAndHDR(); in updateFpsBasedOnContent()
DScheduler.h263 scheduler::LayerHistory mLayerHistory; variable