From 2c4c795c441f74ccf0e15e57cdcd2e9e41327a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=87=AF=E6=98=8E?= Date: Fri, 13 Jun 2025 19:28:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=97=E4=BD=99=E7=94=A8=E4=BE=8B=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢凯明 --- services/etc/param/ohos.para.size | 2 +- test/unittest/param/client_unittest.cpp | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/services/etc/param/ohos.para.size b/services/etc/param/ohos.para.size index b4a4c6252..05180a5db 100755 --- a/services/etc/param/ohos.para.size +++ b/services/etc/param/ohos.para.size @@ -44,7 +44,7 @@ developtools_hdc_auth_param = 4096 time_param = 2048 arkcompiler_param = 2048 useriam_fwkready_param = 2048 -custom_param = 2048 +custom_param = 4096 persist_audio_param = 4096 update_updater_param = 4096 bms_param = 2048 diff --git a/test/unittest/param/client_unittest.cpp b/test/unittest/param/client_unittest.cpp index 2b9959d46..52810840d 100644 --- a/test/unittest/param/client_unittest.cpp +++ b/test/unittest/param/client_unittest.cpp @@ -271,23 +271,4 @@ HWTEST_F(ClientUnitTest, Init_TestClient_006, TestSize.Level0) #endif } -#ifndef OHOS_LITE -HWTEST_F(ClientUnitTest, Init_TestClient_007, TestSize.Level0) -{ - char key1[] = "const.test.for_update_test"; - char key2[] = "persist.test.for_update_test"; - char value1[] = "initSet"; - char value2[] = "initUpdate"; - - int ret = SystemUpdateConstParam(key1, value2); - EXPECT_EQ(ret, PARAM_CODE_INVALID_NAME); - ret = SystemWriteParam(key1, value1); - EXPECT_EQ(ret, 0); - ret = SystemUpdateConstParam(key1, value2); - EXPECT_EQ(ret, 0); - ret = SystemUpdateConstParam(key2, value2); - EXPECT_EQ(ret, PARAM_CODE_INVALID_NAME); -} -#endif - } // namespace init_ut \ No newline at end of file -- Gitee