Home
last modified time | relevance | path

Searched refs:UninstallCloneApp (Results 1 - 15 of 15) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/clone/
H A Dbundle_clone_installer.h46 ErrCode UninstallCloneApp(const std::string &bundleName, const int32_t userId, const int32_t appIndex);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_installer_test/
H A Dbms_bundle_clone_installer_test.cpp219 * @tc.desc: InstallCloneApp() and UninstallCloneApp() and UninstallAllCloneApps()
230 * @tc.desc: test UninstallCloneApp()
236 EXPECT_EQ(bundleCloneInstall_->UninstallCloneApp("", userId_, appIdx_), in HWTEST_F()
238 EXPECT_EQ(bundleCloneInstall_->UninstallCloneApp(bundleName, userId_, appIdx_), in HWTEST_F()
240 EXPECT_EQ(bundleCloneInstall_->UninstallCloneApp(bundleName, userId_, appIdx2_), in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_installer_interface.h141 virtual ErrCode UninstallCloneApp(const std::string &bundleName, int32_t userId, int32_t appIndex) in UninstallCloneApp() function in OHOS::AppExecFwk::IBundleInstaller
H A Dbundle_installer_proxy.h118 virtual ErrCode UninstallCloneApp(const std::string &bundleName, int32_t userId, int32_t appIndex) override;
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerhost_fuzzer/
H A Dbundleinstallerhost_fuzzer.cpp84 bundleInstallerHost->UninstallCloneApp(bundleName, userId, appIndex); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundlecloneinstaller_fuzzer/
H A Dbundlecloneinstaller_fuzzer.cpp76 bundleCloneInstall->UninstallCloneApp(bundleName, userId, appIndex); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_installer_host.h136 virtual ErrCode UninstallCloneApp(const std::string &bundleName, int32_t userId, int32_t appIndex) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/
H A Dbundle_clone_installer.cpp73 ErrCode BundleCloneInstaller::UninstallCloneApp( in UninstallCloneApp() function in OHOS::AppExecFwk::BundleCloneInstaller
77 APP_LOGD("UninstallCloneApp %{public}s _ %{public}d begin", bundleName.c_str(), appIndex); in UninstallCloneApp()
128 if (UninstallCloneApp(bundleName, userId, std::stoi(it->first)) != ERR_OK) { in UninstallAllCloneApps()
129 APP_LOGE("UninstallCloneApp failed, appIndex %{public}s", it->first.c_str()); in UninstallAllCloneApps()
246 APP_LOGE("UninstallCloneApp failed due to empty bundle name"); in ProcessCloneBundleUninstall()
312 APP_LOGI("UninstallCloneApp %{public}s _ %{public}d succesfully", bundleName.c_str(), appIndex); in ProcessCloneBundleUninstall()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_installer_host.cpp815 ErrCode BundleInstallerHost::UninstallCloneApp(const std::string &bundleName, int32_t userId, int32_t appIndex) in UninstallCloneApp() function in OHOS::AppExecFwk::BundleInstallerHost
828 LOG_E(BMS_TAG_INSTALLER, "UninstallCloneApp permission denied"); in UninstallCloneApp()
832 return installer->UninstallCloneApp(bundleName, userId, appIndex); in UninstallCloneApp()
844 auto ret = UninstallCloneApp(bundleName, userId, appIndex); in HandleUninstallCloneApp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
H A Dbms_bundle_clone_app_ipc_test.cpp273 auto result = installerProxy->UninstallCloneApp(bundleName, userId, appIndex); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_installer_proxy.cpp730 ErrCode BundleInstallerProxy::UninstallCloneApp(const std::string &bundleName, int32_t userId, int32_t appIndex) in UninstallCloneApp() function in OHOS::AppExecFwk::BundleInstallerProxy
738 LOG_E(BMS_TAG_INSTALLER, "failed to UninstallCloneApp due to write MessageParcel fail"); in UninstallCloneApp()
742 LOG_E(BMS_TAG_INSTALLER, "failed to UninstallCloneApp due to write bundleName fail"); in UninstallCloneApp()
746 LOG_E(BMS_TAG_INSTALLER, "failed to UninstallCloneApp due to write userId fail"); in UninstallCloneApp()
750 LOG_E(BMS_TAG_INSTALLER, "failed to UninstallCloneApp due to write appIndex fail"); in UninstallCloneApp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_proxy_test/
H A Dbms_bundle_installer_proxy_test.cpp837 * @tc.name: test the UninstallCloneApp
839 * 2. test UninstallCloneApp
848 auto res = bundleInstallerProxy.UninstallCloneApp(bundleName, userId, appIndex); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp5542 ret = installerProxy->UninstallCloneApp(appName, USERID, appIndex2); in HWTEST_F()
5544 ret = installerProxy->UninstallCloneApp(appName, USERID, appIndex1); in HWTEST_F()
5637 ret = installerProxy->UninstallCloneApp(appName, USERID, appIndex2); in HWTEST_F()
5639 ret = installerProxy->UninstallCloneApp(appName, USERID, appIndex1); in HWTEST_F()
6133 ret = installerProxy->UninstallCloneApp(appName, USERID, appIndex1); in HWTEST_F()
9373 ret = installerProxy->UninstallCloneApp(appName, USERID, appIndex); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp1717 ErrCode result = iBundleInstaller->UninstallCloneApp(bundleName, userId, appIndex); in InnerDestroyAppClone()
1718 APP_LOGD("UninstallCloneApp result is %{public}d", result); in InnerDestroyAppClone()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp13637 * @tc.name: test IBundleInstaller interface UninstallCloneApp
13644 auto ret = bundleInstaller->UninstallCloneApp("", DEFAULT_USERID, APP_INDEX); in HWTEST_F()

Completed in 49 milliseconds