Home
last modified time | relevance | path

Searched refs:getApproximateMatch (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DPredictorTest.cpp97 EXPECT_FALSE(stack.getApproximateMatch({})); in TEST_F()
98 EXPECT_FALSE(stack.getApproximateMatch({&layerStateOne, &layerStateThree})); in TEST_F()
122 EXPECT_FALSE(stack.getApproximateMatch({&layerStateTwo})); in TEST_F()
148 const auto match = stack.getApproximateMatch({&layerStateTwo}); in TEST_F()
179 const auto match = stack.getApproximateMatch({&layerStateOne, &layerStateTwo}); in TEST_F()
223 EXPECT_FALSE(stack.getApproximateMatch({&layerStateTwo})); in TEST_F()
248 const auto match = stack.getApproximateMatch({&layerStateTwo}); in TEST_F()
294 const auto match = stack.getApproximateMatch({&layerStateTwo}); in TEST_F()
325 EXPECT_TRUE(LayerStack({&layerStateOne}).getApproximateMatch({&layerStateTwo})); in TEST_F()
328 EXPECT_FALSE(stack.getApproximateMatch({&layerStateTwo, &layerStateTwo})); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DPredictor.cpp26 std::optional<LayerStack::ApproximateMatch> LayerStack::getApproximateMatch( in getApproximateMatch() function in android::compositionengine::impl::planner::LayerStack
168 if (std::optional<NonBufferHash> approximateMatch = getApproximateMatch(layers); in getPredictedPlan()
314 std::optional<NonBufferHash> Predictor::getApproximateMatch( in getApproximateMatch() function in android::compositionengine::impl::planner::Predictor
318 if (const auto approximateMatchOpt = exampleStack.getApproximateMatch(layers); in getApproximateMatch()
327 return candidate.prediction.getExampleLayerStack().getApproximateMatch(layers) != in getApproximateMatch()
411 prediction.getExampleLayerStack().getApproximateMatch(layers); in recordPredictedResult()
430 auto approximateMatch = prediction.getExampleLayerStack().getApproximateMatch(layers); in findSimilarPrediction()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DPredictor.h49 std::optional<ApproximateMatch> getApproximateMatch(
262 std::optional<NonBufferHash> getApproximateMatch(