/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | el5_filekey_callback.cpp | 80 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 D | user_unlocked_event_subscriber.cpp | 239 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 D | installd_client.cpp | 204 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 D | base_bundle_installer.cpp | 981 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 D | bundle_mgr_service_event_handler.cpp | 3427 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 D | bundle_data_mgr.cpp | 7842 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 D | installd_host_impl.h | 152 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 D | installd_host_impl.cpp | 486 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 D | installd_client.cpp | 189 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 D | mock_installd_host_impl.cpp | 123 ErrCode InstalldHostImpl::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl,
in SetDirApl() function in OHOS::AppExecFwk::InstalldHostImpl
|
H A D | mock_install_client.cpp | 133 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 D | installd_client.h | 138 ErrCode SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl,
|
H A D | base_bundle_installer.h | 531 ErrCode SetDirApl(const InnerBundleInfo &info);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 217 virtual ErrCode SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() function in OHOS::AppExecFwk::IInstalld
|
H A D | installd_proxy.h | 154 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 D | bms_installd_client_test.cpp | 627 * @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 D | bms_install_daemon_test.cpp | 550 * @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 D | bms_install_daemon_ipc_test.cpp | 308 * @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 D | bms_install_daemon_host_impl_test.cpp | 227 * @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 D | installd_host.cpp | 494 ErrCode result = SetDirApl(dataDir, bundleName, apl, isPreInstallApp, debug); in HandleSetDirApl()
|
H A D | installd_proxy.cpp | 333 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 D | bms_bundle_installer_test.cpp | 2243 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()
|