Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.cpp38 std::atomic<int64_t> LayerHistory::sNextId = 0;
40 LayerHistory::LayerHistory() { in LayerHistory() function in android::scheduler::LayerHistory
46 LayerHistory::~LayerHistory() = default;
48 std::unique_ptr<LayerHistory::LayerHandle> LayerHistory::createLayer(const std::string name, in createLayer()
56 return std::make_unique<LayerHistory::LayerHandle>(*this, id); in createLayer()
59 void LayerHistory::destroyLayer(const int64_t id) { in destroyLayer()
72 void LayerHistory::insert(const std::unique_ptr<LayerHandle>& layerHandle, nsecs_t presentTime, in insert()
97 void LayerHistory::setVisibility(const std::unique_ptr<LayerHandle>& layerHandle, bool visible) { in setVisibility()
122 std::pair<float, bool> LayerHistory::getDesiredRefreshRateAndHDR() { in getDesiredRefreshRateAndHDR()
150 void LayerHistory::removeIrrelevantLayers() { in removeIrrelevantLayers()
[all …]
DLayerHistory.h38 class LayerHistory {
43 LayerHandle(LayerHistory& lh, int64_t id) : mId(id), mLayerHistory(lh) {} in LayerHandle()
49 LayerHistory& mLayerHistory;
52 LayerHistory();
53 ~LayerHistory();
DScheduler.h142 std::unique_ptr<scheduler::LayerHistory::LayerHandle> registerLayer(std::string const& name,
147 const std::unique_ptr<scheduler::LayerHistory::LayerHandle>& layerHandle,
151 const std::unique_ptr<scheduler::LayerHistory::LayerHandle>& layerHandle, bool visible);
265 scheduler::LayerHistory mLayerHistory;
DScheduler.cpp327 std::unique_ptr<scheduler::LayerHistory::LayerHandle> Scheduler::registerLayer( in registerLayer()
346 const std::unique_ptr<scheduler::LayerHistory::LayerHandle>& layerHandle, in addLayerPresentTimeAndHDR()
352 const std::unique_ptr<scheduler::LayerHistory::LayerHandle>& layerHandle, bool visible) { in setLayerVisibility()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTest.cpp26 std::unique_ptr<LayerHistory> mLayerHistory;
33 void forceRelevancy(const std::unique_ptr<LayerHistory::LayerHandle>& testLayer) { in forceRelevancy()
42 mLayerHistory = std::make_unique<LayerHistory>(); in LayerHistoryTest()
48 std::unique_ptr<LayerHistory::LayerHandle> testLayer = in TEST_F()
66 std::unique_ptr<LayerHistory::LayerHandle> testLayer = in TEST_F()
80 std::unique_ptr<LayerHistory::LayerHandle> test30FpsLayer = in TEST_F()
94 std::unique_ptr<LayerHistory::LayerHandle> testLayer = in TEST_F()
97 std::unique_ptr<LayerHistory::LayerHandle> test30FpsLayer = in TEST_F()
100 std::unique_ptr<LayerHistory::LayerHandle> testLayer2 = in TEST_F()
/frameworks/native/services/surfaceflinger/
DAndroid.bp149 "Scheduler/LayerHistory.cpp",
DLayer.h916 std::unique_ptr<scheduler::LayerHistory::LayerHandle> mSchedulerLayerHandle;