Loading services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -3986,8 +3986,9 @@ struct OutputComposeSurfacesTest_SetsExpensiveRendering : public OutputComposeSu TEST_F(OutputComposeSurfacesTest_SetsExpensiveRendering, IfExepensiveOutputDataspaceIsUsed) { TEST_F(OutputComposeSurfacesTest_SetsExpensiveRendering, IfExepensiveOutputDataspaceIsUsed) { mOutput.mState.dataspace = kExpensiveOutputDataspace; mOutput.mState.dataspace = kExpensiveOutputDataspace; LayerFE::LayerSettings layerSettings; EXPECT_CALL(mOutput, generateClientCompositionRequests(_, kExpensiveOutputDataspace, _)) EXPECT_CALL(mOutput, generateClientCompositionRequests(_, kExpensiveOutputDataspace, _)) .WillOnce(Return(std::vector<LayerFE::LayerSettings>{})); .WillOnce(Return(std::vector<LayerFE::LayerSettings>{layerSettings})); // For this test, we also check the call order of key functions. // For this test, we also check the call order of key functions. InSequence seq; InSequence seq; Loading Loading
services/surfaceflinger/CompositionEngine/tests/OutputTest.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -3986,8 +3986,9 @@ struct OutputComposeSurfacesTest_SetsExpensiveRendering : public OutputComposeSu TEST_F(OutputComposeSurfacesTest_SetsExpensiveRendering, IfExepensiveOutputDataspaceIsUsed) { TEST_F(OutputComposeSurfacesTest_SetsExpensiveRendering, IfExepensiveOutputDataspaceIsUsed) { mOutput.mState.dataspace = kExpensiveOutputDataspace; mOutput.mState.dataspace = kExpensiveOutputDataspace; LayerFE::LayerSettings layerSettings; EXPECT_CALL(mOutput, generateClientCompositionRequests(_, kExpensiveOutputDataspace, _)) EXPECT_CALL(mOutput, generateClientCompositionRequests(_, kExpensiveOutputDataspace, _)) .WillOnce(Return(std::vector<LayerFE::LayerSettings>{})); .WillOnce(Return(std::vector<LayerFE::LayerSettings>{layerSettings})); // For this test, we also check the call order of key functions. // For this test, we also check the call order of key functions. InSequence seq; InSequence seq; Loading