/frameworks/native/services/surfaceflinger/CompositionEngine/mock/ |
D | OutputLayer.cpp | 23 OutputLayer::OutputLayer() = default; 24 OutputLayer::~OutputLayer() = default;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 43 OutputLayer::~OutputLayer() = default; 59 std::unique_ptr<OutputLayer> createOutputLayer(const compositionengine::Output& output, in createOutputLayer() 61 return createOutputLayerTemplated<OutputLayer>(output, layerFE); in createOutputLayer() 64 OutputLayer::~OutputLayer() = default; 66 void OutputLayer::setHwcLayer(std::shared_ptr<HWC2::Layer> hwcLayer) { in setHwcLayer() 75 Rect OutputLayer::calculateInitialCrop() const { in calculateInitialCrop() 108 FloatRect OutputLayer::calculateOutputSourceCrop(uint32_t internalDisplayRotationFlags) const { in calculateOutputSourceCrop() 184 Rect OutputLayer::calculateOutputDisplayFrame() const { in calculateOutputDisplayFrame() 241 uint32_t OutputLayer::calculateOutputRelativeBufferTransform( in calculateOutputRelativeBufferTransform() 283 void OutputLayer::updateCompositionState( in updateCompositionState() [all …]
|
D | Output.cpp | 400 std::unique_ptr<compositionengine::OutputLayer> Output::createOutputLayer( in createOutputLayer() 405 compositionengine::OutputLayer* Output::getOutputLayerForLayer(const sp<LayerFE>& layerFE) const { in getOutputLayerForLayer() 859 compositionengine::OutputLayer* peekThroughLayer = nullptr; in writeCompositionState() 913 compositionengine::OutputLayer* Output::findLayerRequestingBackgroundComposition() const { in findLayerRequestingBackgroundComposition() 914 compositionengine::OutputLayer* layerRequestingBgComposition = nullptr; in findLayerRequestingBackgroundComposition()
|
D | Display.cpp | 156 std::unique_ptr<compositionengine::OutputLayer> Display::createOutputLayer( in createOutputLayer()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 42 class OutputLayer : public virtual compositionengine::OutputLayer { 44 ~OutputLayer() override; 106 class OutputLayer final : public BaseOutputLayer { in createOutputLayerTemplated() 121 OutputLayer(const Output& output, const sp<LayerFE>& layerFE) in createOutputLayerTemplated() 123 ~OutputLayer() override = default; in createOutputLayerTemplated() 140 return std::make_unique<OutputLayer>(output, layerFE); in createOutputLayerTemplated() 143 std::unique_ptr<OutputLayer> createOutputLayer(const compositionengine::Output&,
|
D | Output.h | 78 compositionengine::OutputLayer* getOutputLayerForLayer(const sp<LayerFE>&) const override; 130 std::unique_ptr<compositionengine::OutputLayer> createOutputLayer(const sp<LayerFE>&) const; 157 virtual compositionengine::OutputLayer* ensureOutputLayer(std::optional<size_t>, 159 virtual compositionengine::OutputLayer* injectOutputLayerForTest(const sp<LayerFE>&) = 0; 170 compositionengine::OutputLayer* findLayerRequestingBackgroundComposition() const; 185 OutputLayer* mLayerRequestingBackgroundBlur = nullptr; 212 using OutputLayer = std::remove_pointer_t<decltype( in createOutputTemplated() local 231 OutputLayer* getOutputLayerOrderedByZByIndex(size_t index) const override { in createOutputTemplated() 243 OutputLayer* ensureOutputLayer(std::optional<size_t> prevIndex, in createOutputTemplated() 264 OutputLayer* injectOutputLayerForTest(const sp<LayerFE>& layerFE) override { in createOutputTemplated() [all …]
|
D | OutputLayerCompositionState.h | 52 class OutputLayer; variable 117 compositionengine::OutputLayer* peekThroughLayer = nullptr;
|
D | Display.h | 93 std::unique_ptr<compositionengine::OutputLayer> createOutputLayer(const sp<LayerFE>&) const;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | PredictorTest.cpp | 53 void setupMocksForLayer(mock::OutputLayer& layer, mock::LayerFE& layerFE, in setupMocksForLayer() 78 mock::OutputLayer outputLayerOne; in TEST_F() 86 mock::OutputLayer outputLayerTwo; in TEST_F() 94 mock::OutputLayer outputLayerThree; in TEST_F() 109 mock::OutputLayer outputLayerOne; in TEST_F() 118 mock::OutputLayer outputLayerTwo; in TEST_F() 136 mock::OutputLayer outputLayerOne; in TEST_F() 146 mock::OutputLayer outputLayerTwo; in TEST_F() 170 mock::OutputLayer outputLayerOne; in TEST_F() 180 mock::OutputLayer outputLayerTwo; in TEST_F() [all …]
|
D | LayerStateTest.cpp | 87 void setupMocksForLayer(mock::OutputLayer& layer, mock::LayerFE& layerFE, in setupMocksForLayer() 115 mock::OutputLayer mOutputLayer; 139 mock::OutputLayer newOutputLayer; in TEST_F() 163 mock::OutputLayer newOutputLayer; in TEST_F() 178 mock::OutputLayer newOutputLayer; in TEST_F() 208 mock::OutputLayer newOutputLayer; in TEST_F() 223 mock::OutputLayer newOutputLayer; in TEST_F() 255 mock::OutputLayer newOutputLayer; in TEST_F() 273 mock::OutputLayer newOutputLayer; in TEST_F() 327 mock::OutputLayer newOutputLayer; in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | OutputLayer.h | 31 class OutputLayer : public compositionengine::OutputLayer { 33 OutputLayer(); 34 virtual ~OutputLayer();
|
D | Output.h | 73 compositionengine::OutputLayer*(const sp<compositionengine::LayerFE>&)); 76 compositionengine::OutputLayer*(const sp<compositionengine::LayerFE>&)); 78 MOCK_CONST_METHOD1(getOutputLayerOrderedByZByIndex, OutputLayer*(size_t));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | OutputLayer.h | 60 class OutputLayer { 62 virtual ~OutputLayer();
|
D | Output.h | 54 class OutputLayer; variable 243 virtual OutputLayer* getOutputLayerForLayer(const sp<LayerFE>&) const = 0; 249 virtual OutputLayer* injectOutputLayerForTest(const sp<LayerFE>&) = 0; 255 virtual OutputLayer* getOutputLayerOrderedByZByIndex(size_t) const = 0;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | LayerState.h | 90 virtual ftl::Flags<LayerStateField> update(const compositionengine::OutputLayer* layer) = 0; 106 using ReadFromLayerState = std::function<T(const compositionengine::OutputLayer* layer)>; 158 ftl::Flags<LayerStateField> update(const compositionengine::OutputLayer* layer) override { 218 LayerState(compositionengine::OutputLayer* layer); 221 ftl::Flags<LayerStateField> update(compositionengine::OutputLayer*); 233 compositionengine::OutputLayer* getOutputLayer() const { return mOutputLayer; } 278 compositionengine::OutputLayer* mOutputLayer = nullptr; 281 [](const compositionengine::OutputLayer* layer) {
|
D | CachedSet.h | 142 compositionengine::OutputLayer* getHolePunchLayer() const; 144 compositionengine::OutputLayer* getBlurLayer() const;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayTest.cpp | 82 StrictMock<mock::OutputLayer>* outputLayer = new StrictMock<mock::OutputLayer>(); 93 StrictMock<mock::OutputLayer>* outputLayer = new StrictMock<mock::OutputLayer>(); 101 virtual void injectOutputLayerForTest(std::unique_ptr<compositionengine::OutputLayer>) = 0; 123 compositionengine::OutputLayer*(size_t)); 125 compositionengine::OutputLayer*(std::optional<size_t>, const sp<LayerFE>&)); 129 MOCK_METHOD1(injectOutputLayerForTest, compositionengine::OutputLayer*(const sp<LayerFE>&)); 130 MOCK_METHOD1(injectOutputLayerForTest, void(std::unique_ptr<OutputLayer>)); 236 std::unique_ptr<compositionengine::OutputLayer>(mLayer1.outputLayer)); in DisplayWithLayersTestCommon() 238 std::unique_ptr<compositionengine::OutputLayer>(mLayer2.outputLayer)); in DisplayWithLayersTestCommon() 240 std::unique_ptr<compositionengine::OutputLayer>(mLayer3.outputLayer)); in DisplayWithLayersTestCommon() [all …]
|
D | OutputLayerTest.cpp | 86 struct OutputLayer final : public impl::OutputLayer { struct 87 OutputLayer(const compositionengine::Output& output, compositionengine::LayerFE& layerFE) in OutputLayer() function 89 ~OutputLayer() override = default; 117 OutputLayer mOutputLayer{mOutput, mLayerFE}; 534 struct OutputLayerPartialMockForUpdateCompositionState : public impl::OutputLayer { 588 using OutputLayer = OutputLayerPartialMockForUpdateCompositionState; typedef 589 StrictMock<OutputLayer> mOutputLayer{mOutput, mLayerFE}; 1250 OutputLayer peekThroughLayer{mOutput, *peekThroughLayerFE}; in TEST_F()
|
D | OutputTest.cpp | 94 MOCK_CONST_METHOD1(getOutputLayerOrderedByZByIndex, compositionengine::OutputLayer*(size_t)); 96 compositionengine::OutputLayer*(std::optional<size_t>, const sp<LayerFE>&)); 101 MOCK_METHOD1(injectOutputLayerForTest, compositionengine::OutputLayer*(const sp<LayerFE>&)); 102 MOCK_METHOD1(injectOutputLayerForTest, void(std::unique_ptr<OutputLayer>)); 118 mock::OutputLayer* outputLayer = {new StrictMock<mock::OutputLayer>}; 135 mock::OutputLayer outputLayer; 145 virtual void injectOutputLayerForTest(std::unique_ptr<compositionengine::OutputLayer>) = 0; 164 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(layer.outputLayer)); in injectOutputLayer() 168 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(nullptr)); in injectNullOutputLayer() 1183 StrictMock<mock::OutputLayer> outputLayer; [all …]
|
D | CompositionEngineTest.cpp | 148 StrictMock<mock::OutputLayer> outputLayer;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | Flattener.cpp | 309 compositionengine::OutputLayer* priorBlurLayer = nullptr; in mergeWithCachedSets() 327 OutputLayer::CompositionState& state = in mergeWithCachedSets() 367 OutputLayer::CompositionState& state = in mergeWithCachedSets() 388 OutputLayer::CompositionState& state = in mergeWithCachedSets() 398 OutputLayer::CompositionState& state = in mergeWithCachedSets()
|
D | LayerState.cpp | 28 LayerState::LayerState(compositionengine::OutputLayer* layer) in LayerState() 45 ftl::Flags<LayerStateField> LayerState::update(compositionengine::OutputLayer* layer) { in update()
|
D | CachedSet.cpp | 360 compositionengine::OutputLayer* CachedSet::getHolePunchLayer() const { in getHolePunchLayer() 364 compositionengine::OutputLayer* CachedSet::getBlurLayer() const { in getBlurLayer()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/ |
D | Android.bp | 85 "src/OutputLayer.cpp", 118 "mock/OutputLayer.cpp",
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.h | 73 class OutputLayer; variable 1010 compositionengine::OutputLayer* findOutputLayerForDisplay(const DisplayDevice*) const; 1011 compositionengine::OutputLayer* findOutputLayerForDisplay( 1124 const compositionengine::OutputLayer*) const;
|