diff --git a/etc/samgr.para b/etc/samgr.para index 659457241008d7850596cd55f760f6b09792a9d1..f7edd0c81b4e895f0fa19fe58e6a2ba7f5f6f4a7 100644 --- a/etc/samgr.para +++ b/etc/samgr.para @@ -13,6 +13,6 @@ persist.samgr.perf.ondemand = false -persist.samgr.cache.sa = 0 +samgr.cache.sa = 0 persist.samgr.moduleupdate.start = false diff --git a/etc/samgr.para.dac b/etc/samgr.para.dac index a78e3df4031688e93408595815d4840019f19e36..07177b7d346ba5ff092a3c4f4ead05c3d9d9e0b6 100644 --- a/etc/samgr.para.dac +++ b/etc/samgr.para.dac @@ -15,6 +15,6 @@ bootevent.samgr.ready = samgr:samgr:0775:bool persist.samgr.perf.ondemand = samgr:samgr:0775:bool -persist.samgr.cache.sa = samgr:samgr:0775 +samgr.cache.sa = samgr:samgr:0775 persist.samgr.moduleupdate. = samgr:samgr:0775 diff --git a/frameworks/native/source/system_ability_manager_proxy.cpp b/frameworks/native/source/system_ability_manager_proxy.cpp index abd76e4a0f7d9221fb3bb3ff7216d3d9ffa9e57e..96ce040c479801f3d307d49ce9a105389b41cf41 100644 --- a/frameworks/native/source/system_ability_manager_proxy.cpp +++ b/frameworks/native/source/system_ability_manager_proxy.cpp @@ -48,7 +48,7 @@ const int32_t SLEEP_INTERVAL_TIME = 200; const int32_t GET_SYSTEM_ABILITY_CODE = 1; const int32_t CHECK_SYSTEM_ABILITY_CODE = 2; const int32_t SLEEP_ONE_MILLI_SECOND_TIME = 1000; -constexpr const char* PARAM_KEY = "persist.samgr.cache.sa"; +constexpr const char* PARAM_KEY = "samgr.cache.sa"; } static void* g_selfSoHandle = nullptr; diff --git a/services/samgr/native/source/system_ability_manager.cpp b/services/samgr/native/source/system_ability_manager.cpp index 767198c6db46c7d2e7d28b6340e6bb45621b594a..b3bfe1d260390e9bfe639e0ec401ef2272404e18 100644 --- a/services/samgr/native/source/system_ability_manager.cpp +++ b/services/samgr/native/source/system_ability_manager.cpp @@ -59,7 +59,7 @@ constexpr const char* PREFIX = "profile"; constexpr const char* SYSTEM_PREFIX = "/system/profile"; constexpr const char* LOCAL_DEVICE = "local"; constexpr const char* ONDEMAND_PARAM = "persist.samgr.perf.ondemand"; -constexpr const char* DYNAMIC_CACHE_PARAM = "persist.samgr.cache.sa"; +constexpr const char* DYNAMIC_CACHE_PARAM = "samgr.cache.sa"; constexpr const char* RESOURCE_SCHEDULE_PROCESS_NAME = "resource_schedule_service"; constexpr const char* IPC_STAT_DUMP_PREFIX = "--ipc"; constexpr const char* ONDEMAND_PERF_PARAM = "persist.samgr.perf.ondemand"; diff --git a/test/autotest/resource/originFile/samgr.para b/test/autotest/resource/originFile/samgr.para index 659457241008d7850596cd55f760f6b09792a9d1..f7edd0c81b4e895f0fa19fe58e6a2ba7f5f6f4a7 100644 --- a/test/autotest/resource/originFile/samgr.para +++ b/test/autotest/resource/originFile/samgr.para @@ -13,6 +13,6 @@ persist.samgr.perf.ondemand = false -persist.samgr.cache.sa = 0 +samgr.cache.sa = 0 persist.samgr.moduleupdate.start = false diff --git a/test/autotest/resource/originFile/samgr.para.dac b/test/autotest/resource/originFile/samgr.para.dac index a78e3df4031688e93408595815d4840019f19e36..07177b7d346ba5ff092a3c4f4ead05c3d9d9e0b6 100644 --- a/test/autotest/resource/originFile/samgr.para.dac +++ b/test/autotest/resource/originFile/samgr.para.dac @@ -15,6 +15,6 @@ bootevent.samgr.ready = samgr:samgr:0775:bool persist.samgr.perf.ondemand = samgr:samgr:0775:bool -persist.samgr.cache.sa = samgr:samgr:0775 +samgr.cache.sa = samgr:samgr:0775 persist.samgr.moduleupdate. = samgr:samgr:0775