Home
last modified time | relevance | path

Searched refs:isKeepData (Results 1 - 20 of 20) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_system_bundle_installer_test.cpp48 bool UninstallSystemBundle(const std::string &bundleName, bool isKeepData) const;
69 bool BmsSystemBundleInstallerTest::UninstallSystemBundle(const std::string &bundleName, bool isKeepData) const in UninstallSystemBundle()
72 return installer->UninstallSystemBundle(bundleName, isKeepData); in UninstallSystemBundle()
123 * @tc.desc: Pass in the correct bundlename and isKeepData is true to get the return false
128 bool isKeepData = true; in HWTEST_F() local
129 bool result = UninstallSystemBundle(bundleName, isKeepData); in HWTEST_F()
136 * @tc.desc: Pass in an empty bundleName and isKeepData is true to get the return false
141 bool isKeepData = true; in HWTEST_F() local
142 bool result = UninstallSystemBundle(bundleName, isKeepData); in HWTEST_F()
149 * @tc.desc: Pass in the correct bundlename and isKeepData i
154 bool isKeepData = false; HWTEST_F() local
167 bool isKeepData = false; HWTEST_F() local
269 bool isKeepData = true; HWTEST_F() local
286 bool isKeepData = true; HWTEST_F() local
303 bool isKeepData = false; HWTEST_F() local
320 bool isKeepData = false; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerremovebundle_fuzzer/
H A Dbasebundleinstallerremovebundle_fuzzer.cpp32 bool isKeepData = true; in DoSomethingInterestingWithMyAPI() local
33 auto ret1 = basebundleinstall.RemoveBundle(info, isKeepData); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerremovemoduleanddatadir_fuzzer/
H A Dbasebundleinstallerremovemoduleanddatadir_fuzzer.cpp34 bool isKeepData = true; in DoSomethingInterestingWithMyAPI() local
35 auto ret1 = basebundleinstall.RemoveModuleAndDataDir(info, modulePackage, userId, isKeepData); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerremovebundleanddatadir_fuzzer/
H A Dbasebundleinstallerremovebundleanddatadir_fuzzer.cpp32 bool isKeepData = true; in DoSomethingInterestingWithMyAPI() local
33 auto ret1 = basebundleinstall.RemoveBundleAndDataDir(info, isKeepData); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dsystem_bundle_installer.cpp158 installParam.isKeepData = true; in UninstallSystemBundle()
170 bool SystemBundleInstaller::UninstallSystemBundle(const std::string &bundleName, bool isKeepData) in UninstallSystemBundle() argument
185 installParam.isKeepData = isKeepData; in UninstallSystemBundle()
212 installParam.isKeepData = true; in UninstallSystemBundle()
273 installParam.isKeepData = true; in CheckUninstallSystemHsp()
H A Dbase_bundle_installer.cpp1512 GetUninstallBundleInfo(installParam.isKeepData, userId_, oldInfo, uninstallBundleInfo); in ProcessBundleUninstall()
1549 auto res = RemoveDataGroupDirs(oldInfo.GetBundleName(), userId_, installParam.isKeepData); in ProcessBundleUninstall()
1554 DeleteEncryptionKeyId(oldInfo, installParam.isKeepData); in ProcessBundleUninstall()
1558 auto res = RemoveBundleUserData(oldInfo, installParam.isKeepData); in ProcessBundleUninstall()
1562 SaveUninstallBundleInfo(bundleName, installParam.isKeepData, uninstallBundleInfo); in ProcessBundleUninstall()
1585 ErrCode result = RemoveBundle(oldInfo, installParam.isKeepData); in ProcessBundleUninstall()
1647 SaveUninstallBundleInfo(bundleName, installParam.isKeepData, uninstallBundleInfo); in ProcessBundleUninstall()
1755 GetUninstallBundleInfo(installParam.isKeepData, userId_, oldInfo, uninstallBundleInfo); in ProcessBundleUninstall()
1770 result = RemoveBundle(oldInfo, installParam.isKeepData); in ProcessBundleUninstall()
1802 SaveUninstallBundleInfo(bundleName, installParam.isKeepData, uninstallBundleInf in ProcessBundleUninstall()
1987 RemoveBundle(InnerBundleInfo &info, bool isKeepData) RemoveBundle() argument
3096 GetUninstallBundleInfo(bool isKeepData, int32_t userId, const InnerBundleInfo &oldInfo, UninstallBundleInfo &uninstallBundleInfo) GetUninstallBundleInfo() argument
3112 SaveUninstallBundleInfo(const std::string bundleName, bool isKeepData, const UninstallBundleInfo &uninstallBundleInfo) SaveUninstallBundleInfo() argument
4703 RemoveBundleUserData(InnerBundleInfo &innerBundleInfo, bool isKeepData) RemoveBundleUserData() argument
[all...]
H A Dhmp_bundle_installer.cpp364 installParam.isKeepData = true; in CheckUninstallSystemHsp()
H A Dbundle_mgr_service_event_handler.cpp3836 installParam.isKeepData = true; in ProcessRebootQuickFixUnInstallAndRecover()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dmock_system_bundle_installer.cpp113 bool SystemBundleInstaller::UninstallSystemBundle(const std::string &bundleName, bool isKeepData) in UninstallSystemBundle() argument
130 installParam.isKeepData = isKeepData; in UninstallSystemBundle()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dsystem_bundle_installer.h81 * @param isKeepData Delete app keep app data.
84 bool UninstallSystemBundle(const std::string &bundleName, bool isKeepData);
H A Dbase_bundle_installer.h259 * @param isKeepData Indicates that whether to save data.
262 ErrCode RemoveBundle(InnerBundleInfo &info, bool isKeepData);
279 * @param isKeepData Indicates that whether to save data.
282 ErrCode RemoveBundleAndDataDir(const InnerBundleInfo &info, bool isKeepData) const;
288 * @param isKeepData Indicates that whether to save data.
292 const std::string &modulePackage, int32_t userId, bool isKeepData) const;
653 ErrCode RemoveDataGroupDirs(const std::string &bundleName, int32_t userId, bool isKeepData = false) const;
702 void DeleteEncryptionKeyId(const InnerBundleInfo &oldInfo, bool isKeepData) const;
735 void GetUninstallBundleInfo(bool isKeepData, int32_t userId,
739 void SaveUninstallBundleInfo(const std::string bundleName, bool isKeepData,
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dinstall_param.cpp38 isKeepData = parcel.ReadBool(); in ReadFromParcel()
97 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Bool, parcel, isKeepData); in Marshalling()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dinstall_param.h54 bool isKeepData = false; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/
H A Dapp_service_fwk_installer.h39 ErrCode UnInstall(const std::string &bundleName, bool isKeepData = false);
/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_command.cpp734 bool isKeepData = false; in RunAsUninstallCommand() local
788 isKeepData = true; in RunAsUninstallCommand()
856 isKeepData = true; in RunAsUninstallCommand()
908 installParam.isKeepData = isKeepData; in RunAsUninstallCommand()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp64 const char* IS_KEEP_DATA = "isKeepData";
718 static bool ParseIsKeepData(napi_env env, napi_value args, bool &isKeepData) in ParseIsKeepData() argument
720 APP_LOGD("start to parse isKeepData"); in ParseIsKeepData()
729 APP_LOGE("parse isKeepData failed"); in ParseIsKeepData()
733 PARSE_PROPERTY(env, property, bool, isKeepData); in ParseIsKeepData()
735 APP_LOGD("param isKeepData is %{public}d", isKeepData); in ParseIsKeepData()
865 if (!ParseIsKeepData(env, args, installParam.isKeepData)) { in ParseInstallParam()
866 APP_LOGW("Parse isKeepData failed,using default value"); in ParseInstallParam()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp122 ErrCode AppServiceFwkInstaller::UnInstall(const std::string &bundleName, bool isKeepData) in UnInstall() argument
141 if (!isKeepData) { in UnInstall()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/
H A Dbms_bundle_overlay_checker_test.cpp3189 bool isKeepData = false; in HWTEST_F() local
3205 installer->DeleteEncryptionKeyId(oldInfo, isKeepData); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp4853 installParam.isKeepData = false; in HWTEST_F()
4890 installParam.isKeepData = true; in HWTEST_F()
4926 installParam.isKeepData = false; in HWTEST_F()
4976 installParam.isKeepData = true; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.cpp1983 static bool ParseIsKeepData(napi_env env, napi_value args, bool &isKeepData) in ParseIsKeepData() argument
1986 napi_has_named_property(env, args, "isKeepData", &hasKey); in ParseIsKeepData()
1989 napi_status status = napi_get_named_property(env, args, "isKeepData", &property); in ParseIsKeepData()
1991 APP_LOGE("napi get named isKeepData property error"); in ParseIsKeepData()
1997 APP_LOGE("param(isKeepData) type incorrect"); in ParseIsKeepData()
2001 NAPI_CALL_BASE(env, napi_get_value_bool(env, property, &isKeepData), false); in ParseIsKeepData()
2038 !ParseIsKeepData(env, args, installParam.isKeepData) || !ParseHashParams(env, args, installParam.hashParams) || in ParseInstallParam()

Completed in 56 milliseconds