Home
last modified time | relevance | path

Searched refs:SetDirApl (Results 1 - 22 of 22) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Del5_filekey_callback.cpp80 result = InstalldClient::GetInstance()->SetDirApl( in CheckEl5Dir()
84 APP_LOGW("fail to SetDirApl dir %{public}s, error is %{public}d", baseDir.c_str(), result); in CheckEl5Dir()
94 result = InstalldClient::GetInstance()->SetDirApl( in CheckEl5Dir()
98 APP_LOGW("fail to SetDirApl dir %{public}s, error is %{public}d", databaseDir.c_str(), result); in CheckEl5Dir()
H A Duser_unlocked_event_subscriber.cpp239 if (InstalldClient::GetInstance()->SetDirApl(baseDir, bundleInfo.name, in ProcessUpdateAppDataDir()
242 APP_LOGW_NOFUNC("failed to SetDirApl baseDir dir"); in ProcessUpdateAppDataDir()
246 if (InstalldClient::GetInstance()->SetDirApl(baseDataDir, bundleInfo.name, in ProcessUpdateAppDataDir()
249 APP_LOGW_NOFUNC("failed to SetDirApl baseDataDir dir"); in ProcessUpdateAppDataDir()
H A Dinstalld_client.cpp204 ErrCode InstalldClient::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() function in OHOS::AppExecFwk::InstalldClient
212 return CallService(&IInstalld::SetDirApl, dir, bundleName, apl, isPreInstallApp, debug); in SetDirApl()
H A Dbase_bundle_installer.cpp981 result = SetDirApl(newBundleInfo); in InnerProcessUpdateHapToken()
2713 ErrCode BaseBundleInstaller::SetDirApl(const InnerBundleInfo &info) in SetDirApl() function in OHOS::AppExecFwk::BaseBundleInstaller
2739 result = InstalldClient::GetInstance()->SetDirApl( in SetDirApl()
2743 LOG_E(BMS_TAG_INSTALLER, "fail to SetDirApl baseDir dir, error is %{public}d", result); in SetDirApl()
2746 result = InstalldClient::GetInstance()->SetDirApl( in SetDirApl()
2750 LOG_E(BMS_TAG_INSTALLER, "fail to SetDirApl databaseDir dir, error is %{public}d", result); in SetDirApl()
3047 ErrCode result = InstalldClient::GetInstance()->SetDirApl( in CreateScreenLockProtectionExistDirs()
3051 LOG_W(BMS_TAG_INSTALLER, "fail to SetDirApl dir %{public}s, error is %{public}d", dir.c_str(), result); in CreateScreenLockProtectionExistDirs()
H A Dbundle_mgr_service_event_handler.cpp3427 result = InstalldClient::GetInstance()->SetDirApl(baseDataDir, bundleName, apl, isPreInstall, debug); in UpdateAppDataSelinuxLabel()
3429 LOG_W(BMS_TAG_DEFAULT, "bundleName: %{public}s, fail to SetDirApl baseDataDir dir, error is %{public}d", in UpdateAppDataSelinuxLabel()
3433 result = InstalldClient::GetInstance()->SetDirApl(databaseDataDir, bundleName, apl, isPreInstall, debug); in UpdateAppDataSelinuxLabel()
3435 LOG_W(BMS_TAG_DEFAULT, "bundleName: %{public}s, fail to SetDirApl databaseDir dir, error is %{public}d", in UpdateAppDataSelinuxLabel()
H A Dbundle_data_mgr.cpp7842 ErrCode result = InstalldClient::GetInstance()->SetDirApl( in InnerCreateEl5Dir()
7845 LOG_W(BMS_TAG_INSTALLER, "fail to SetDirApl dir %{public}s, error is %{public}d", dir.c_str(), result); in InnerCreateEl5Dir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h152 virtual ErrCode SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl,
247 ErrCode SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp486 ErrCode ret = SetDirApl(bundleDataDir, createDirParam.bundleName, createDirParam.apl, hapFlags); in CreateBundleDataDir()
488 LOG_E(BMS_TAG_INSTALLD, "CreateBundleDataDir SetDirApl failed"); in CreateBundleDataDir()
505 ret = SetDirApl(databaseDir, createDirParam.bundleName, createDirParam.apl, hapFlags); in CreateBundleDataDir()
507 LOG_E(BMS_TAG_INSTALLD, "CreateBundleDataDir SetDirApl failed"); in CreateBundleDataDir()
533 ErrCode ret = SetDirApl(bundleBackupDir, createDirParam.bundleName, createDirParam.apl, hapFlags); in CreateBundleDataDir()
535 LOG_E(BMS_TAG_INSTALLD, "CreateBackupExtHomeDir DIR_EL2 SetDirApl failed, errno is %{public}d", ret); in CreateBundleDataDir()
540 ret = SetDirApl(bundleBackupDir, createDirParam.bundleName, createDirParam.apl, hapFlags); in CreateBundleDataDir()
542 LOG_E(BMS_TAG_INSTALLD, "CreateBackupExtHomeDir DIR_EL1 SetDirApl failed, errno is %{public}d", ret); in CreateBundleDataDir()
548 ret = SetDirApl(newBundleBackupDir, createDirParam.bundleName, createDirParam.apl, in CreateBundleDataDir()
551 LOG_E(BMS_TAG_INSTALLD, "CreateNewBackupExtHomeDir DIR_EL2 SetDirApl faile in CreateBundleDataDir()
979 ErrCode InstalldHostImpl::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, SetDirApl() function in OHOS::AppExecFwk::InstalldHostImpl
986 ErrCode InstalldHostImpl::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, SetDirApl() function in OHOS::AppExecFwk::InstalldHostImpl
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp189 ErrCode InstalldClient::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() function in OHOS::AppExecFwk::InstalldClient
197 return CallService(&IInstalld::SetDirApl, dir, bundleName, apl, isPreInstallApp, debug); in SetDirApl()
H A Dmock_installd_host_impl.cpp123 ErrCode InstalldHostImpl::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() function in OHOS::AppExecFwk::InstalldHostImpl
H A Dmock_install_client.cpp133 ErrCode InstalldClient::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() function in OHOS::AppExecFwk::InstalldClient
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h138 ErrCode SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl,
H A Dbase_bundle_installer.h531 ErrCode SetDirApl(const InnerBundleInfo &info);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h217 virtual ErrCode SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() function in OHOS::AppExecFwk::IInstalld
H A Dinstalld_proxy.h154 virtual ErrCode SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp627 * @tc.name: SetDirApl
628 * @tc.desc: Test whether SetDirApl is called normally.(dir is empty)
636 ErrCode result = installClient_->SetDirApl(dir, bundleName, apl, false, false); in HWTEST_F()
643 * @tc.name: SetDirApl
644 * @tc.desc: Test whether SetDirApl is called normally.(bundleName is empty)
652 ErrCode result = installClient_->SetDirApl(dir, bundleName, apl, true, false); in HWTEST_F()
659 * @tc.name: SetDirApl
660 * @tc.desc: Test whether SetDirApl is called normally.(apl is empty)
668 ErrCode result = installClient_->SetDirApl(dir, bundleName, apl, false, true); in HWTEST_F()
675 * @tc.name: SetDirApl
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp550 * @tc.name: Test SetDirApl, Param is empty
551 * @tc.desc: 1.Test the SetDirApl of InstalldClient
560 ErrCode ret = InstalldClient::GetInstance()->SetDirApl("", BUNDLE_NAME, TEST_STRING, false, false); in HWTEST_F()
562 ret = InstalldClient::GetInstance()->SetDirApl(BUNDLE_DATA_DIR, "", TEST_STRING, false, false); in HWTEST_F()
564 ret = InstalldClient::GetInstance()->SetDirApl(BUNDLE_DATA_DIR, BUNDLE_NAME, "", true, true); in HWTEST_F()
H A Dbms_install_daemon_ipc_test.cpp308 * @tc.desc: 1. calling SetDirApl of proxy
316 auto ret = proxy->SetDirApl(TEST_STRING, TEST_STRING, TEST_STRING, false, false); in HWTEST_F()
1260 * @tc.desc: 1. calling SetDirApl of proxy
1267 auto ret = proxy->SetDirApl(TEST_STRING, TEST_STRING, TEST_STRING, false, false); in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp227 * @tc.desc: 1. calling SetDirApl of hostImpl
235 auto ret = hostImpl->SetDirApl(TEST_STRING, TEST_STRING, TEST_STRING, false, false); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp494 ErrCode result = SetDirApl(dataDir, bundleName, apl, isPreInstallApp, debug); in HandleSetDirApl()
H A Dinstalld_proxy.cpp333 ErrCode InstalldProxy::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() function in OHOS::AppExecFwk::InstalldProxy
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp2243 ErrCode ret = installer.SetDirApl(newInfo); in HWTEST_F()
4964 auto ret = impl.SetDirApl("", BUNDLE_NAME, "", isPreInstallApp, debug); in HWTEST_F()
4967 ret = impl.SetDirApl(BUNDLE_DATA_DIR, "", "", isPreInstallApp, debug); in HWTEST_F()
4970 ret = impl.SetDirApl("", "", "", isPreInstallApp, debug); in HWTEST_F()
4973 ret = impl.SetDirApl(BUNDLE_DATA_DIR, BUNDLE_NAME, "", isPreInstallApp, debug); in HWTEST_F()

Completed in 63 milliseconds