From 8ece4161bb8b3b08ac69b61ad4cd0f2fccabc8b2 Mon Sep 17 00:00:00 2001 From: qinlong0101 Date: Thu, 16 Jun 2022 15:12:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E6=94=B9reviewbot=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qinlong0101 --- .../test/unittest/utils/dscreen_maprelation_test.cpp | 8 ++++---- services/screendemo/decoder_demo.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/common/test/unittest/utils/dscreen_maprelation_test.cpp b/services/common/test/unittest/utils/dscreen_maprelation_test.cpp index 0e4304e5..f78fa27e 100644 --- a/services/common/test/unittest/utils/dscreen_maprelation_test.cpp +++ b/services/common/test/unittest/utils/dscreen_maprelation_test.cpp @@ -40,7 +40,7 @@ void DScreenMapRelationTest::TearDown() {} * @tc.type: FUNC * @tc.require: Issue Number */ - HWTEST_F(DScreenMapRelationTest, GetDisplayId_001, TestSize.Level1) +HWTEST_F(DScreenMapRelationTest, GetDisplayId_001, TestSize.Level1) { uint64_t displayId = 0; dscreenMapRelation->SetDisplayId(displayId); @@ -54,7 +54,7 @@ void DScreenMapRelationTest::TearDown() {} * @tc.type: FUNC * @tc.require: Issue Number */ - HWTEST_F(DScreenMapRelationTest, GetScreenId_001, TestSize.Level1) +HWTEST_F(DScreenMapRelationTest, GetScreenId_001, TestSize.Level1) { uint64_t screenId = 0; dscreenMapRelation->SetScreenId(screenId); @@ -68,7 +68,7 @@ void DScreenMapRelationTest::TearDown() {} * @tc.type: FUNC * @tc.require: Issue Number */ - HWTEST_F(DScreenMapRelationTest, GetDisplayRect_001, TestSize.Level1) +HWTEST_F(DScreenMapRelationTest, GetDisplayRect_001, TestSize.Level1) { DisplayRect res; int32_t startX = 10; @@ -84,7 +84,7 @@ void DScreenMapRelationTest::TearDown() {} * @tc.type: FUNC * @tc.require: Issue Number */ - HWTEST_F(DScreenMapRelationTest, GetScreenRect_001, TestSize.Level1) +HWTEST_F(DScreenMapRelationTest, GetScreenRect_001, TestSize.Level1) { ScreenRect res; int32_t startX = 10; diff --git a/services/screendemo/decoder_demo.cpp b/services/screendemo/decoder_demo.cpp index d48e4e63..b9e56ce5 100644 --- a/services/screendemo/decoder_demo.cpp +++ b/services/screendemo/decoder_demo.cpp @@ -216,10 +216,10 @@ const int32_t* VDecDemo::GetFrameLen() const int32_t* frameLen = nullptr; if (isW) { frameLen = ES_W; - defaultFrameCount_ = sizeof(ES_W)/sizeof(ES_W[0]); + defaultFrameCount_ = sizeof(ES_W) / sizeof(ES_W[0]); } else { frameLen = ES_R; - defaultFrameCount_ = sizeof(ES_R)/sizeof(ES_R[0]); + defaultFrameCount_ = sizeof(ES_R) / sizeof(ES_R[0]); } return frameLen; } -- Gitee