Home
last modified time | relevance | path

Searched refs:CreateBundleDataDir (Results 1 - 25 of 45) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dbms_event_handler_unlocked_test.cpp45 bool CreateBundleDataDir(const BundleInfo &bundleInfo, int32_t userId);
69 bool BmsEventHandlerUnLockedTest::CreateBundleDataDir(const BundleInfo &bundleInfo, int32_t userId) in CreateBundleDataDir() function in OHOS::BmsEventHandlerUnLockedTest
77 return UpdateAppDataMgr::CreateBundleDataDir(bundleInfo, userId, ServiceConstants::DIR_EL2); in CreateBundleDataDir()
95 * @tc.desc: test CreateBundleDataDir true
100 bool res = CreateBundleDataDir(bundleInfo, Constants::ALL_USERID); in HWTEST_F()
107 * @tc.desc: test CreateBundleDataDir true
112 bool res = CreateBundleDataDir(bundleInfo, Constants::ALL_USERID); in HWTEST_F()
H A Dbms_event_handler_test.cpp63 bool CreateBundleDataDir(const BundleInfo &bundleInfo, int32_t userId);
86 bool BmsEventHandlerTest::CreateBundleDataDir(const BundleInfo &bundleInfo, int32_t userId) in CreateBundleDataDir() function in OHOS::BmsEventHandlerTest
94 return UpdateAppDataMgr::CreateBundleDataDir(bundleInfo, userId, ServiceConstants::DIR_EL2); in CreateBundleDataDir()
540 * @tc.desc: test CreateBundleDataDir with a empty bundleName
545 bool res = CreateBundleDataDir(bundleInfo, Constants::ALL_USERID); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp63 int CreateBundleDataDir(const std::string &bundleDir, const int32_t userid, const int32_t uid, const int32_t gid,
120 int BmsInstallDaemonTest::CreateBundleDataDir(const std::string &bundleDataDir, in CreateBundleDataDir() function in OHOS::BmsInstallDaemonTest
133 return InstalldClient::GetInstance()->CreateBundleDataDir(createDirParam); in CreateBundleDataDir()
393 int result = CreateBundleDataDir(BUNDLE_NAME13, USERID, UID, GID, APL); in HWTEST_F()
411 int result = CreateBundleDataDir(BUNDLE_NAME13, USERID, UID, GID, APL); in HWTEST_F()
429 int result = CreateBundleDataDir("", USERID, UID, GID, APL); in HWTEST_F()
443 int result = CreateBundleDataDir(BUNDLE_NAME13, USERID, -1, GID, APL); in HWTEST_F()
457 int result = CreateBundleDataDir(BUNDLE_NAME13, USERID, UID, -1, APL); in HWTEST_F()
471 int result = CreateBundleDataDir("", USERID, UID, GID, APL); in HWTEST_F()
485 int result = CreateBundleDataDir(BUNDLE_NAME1 in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client.cpp67 ErrCode BundleMgrClient::CreateBundleDataDir(int32_t userId) in CreateBundleDataDir() function in OHOS::AppExecFwk::BundleMgrClient
73 return impl_->CreateBundleDataDir(userId); in CreateBundleDataDir()
H A Dbundle_mgr_client_impl.cpp98 ErrCode BundleMgrClientImpl::CreateBundleDataDir(int32_t userId) in CreateBundleDataDir() function in OHOS::AppExecFwk::BundleMgrClientImpl
107 return bundleMgr_->CreateBundleDataDir(userId); in CreateBundleDataDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Duser_unlocked_event_subscriber.h51 static bool CreateBundleDataDir(const BundleInfo &bundleInfo, int32_t userId, const std::string &elDir);
H A Dinstalld_client.h65 ErrCode CreateBundleDataDir(const CreateDirParam &createDirParam);
/foundation/filemanagement/storage_service/services/storage_daemon/include/user/
H A Duser_manager.h39 void CreateBundleDataDir(uint32_t userId);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Duser_unlocked_event_subscriber.cpp107 bool UpdateAppDataMgr::CreateBundleDataDir( in CreateBundleDataDir() function in OHOS::AppExecFwk::UpdateAppDataMgr
119 APP_LOGI_NOFUNC("path: %{public}s need CreateBundleDataDir", baseBundleDataDir.c_str()); in CreateBundleDataDir()
135 if (InstalldClient::GetInstance()->CreateBundleDataDir(createDirParam) != ERR_OK) { in CreateBundleDataDir()
136 APP_LOGW("failed to CreateBundleDataDir"); in CreateBundleDataDir()
235 !CreateBundleDataDir(bundleInfo, userId, elDir)) { in ProcessUpdateAppDataDir()
H A Dbundle_multiuser_installer.cpp189 auto result = InstalldClient::GetInstance()->CreateBundleDataDir(createDirParam); in CreateDataDir()
H A Dinstalld_client.cpp105 ErrCode InstalldClient::CreateBundleDataDir(const CreateDirParam &createDirParam) in CreateBundleDataDir() function in OHOS::AppExecFwk::InstalldClient
113 return CallService(&IInstalld::CreateBundleDataDir, createDirParam); in CreateBundleDataDir()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_client.h42 ErrCode CreateBundleDataDir(int32_t userId);
H A Dbundle_mgr_client_impl.h67 ErrCode CreateBundleDataDir(int32_t userId);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp99 ErrCode InstalldClient::CreateBundleDataDir(const CreateDirParam &createDirParam) in CreateBundleDataDir() function in OHOS::AppExecFwk::InstalldClient
107 return CallService(&IInstalld::CreateBundleDataDir, createDirParam); in CreateBundleDataDir()
H A Dmock_installd_host_impl.cpp64 ErrCode InstalldHostImpl::CreateBundleDataDir(const CreateDirParam &createDirParam) in CreateBundleDataDir() function in OHOS::AppExecFwk::InstalldHostImpl
H A Dmock_install_client.cpp72 ErrCode InstalldClient::CreateBundleDataDir(const CreateDirParam &createDirParam) in CreateBundleDataDir() function in OHOS::AppExecFwk::InstalldClient
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/
H A Duser_manager.cpp338 void UserManager::CreateBundleDataDir(uint32_t userId) in CreateBundleDataDir() function in OHOS::StorageDaemon::UserManager
341 LOGI("CreateBundleDataDir start: userId %{public}u", userId); in CreateBundleDataDir()
342 auto ret = client.CreateBundleDataDir(userId); in CreateBundleDataDir()
343 LOGI("CreateBundleDataDir end: userId %{public}u, ret %{public}d", userId, ret); in CreateBundleDataDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp349 * @tc.name: CreateBundleDataDir
350 * @tc.desc: Test whether CreateBundleDataDir is called normally.(bundleName is empty)
362 ErrCode result = installClient_->CreateBundleDataDir(createDirParam); in HWTEST_F()
369 * @tc.name: CreateBundleDataDir
370 * @tc.desc: Test whether CreateBundleDataDir is called normally.(userid < 0)
382 ErrCode result = installClient_->CreateBundleDataDir(createDirParam); in HWTEST_F()
389 * @tc.name: CreateBundleDataDir
390 * @tc.desc: Test whether CreateBundleDataDir is called normally.(uid < 0)
402 ErrCode result = installClient_->CreateBundleDataDir(createDirParam); in HWTEST_F()
409 * @tc.name: CreateBundleDataDir
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h84 virtual ErrCode CreateBundleDataDir(const CreateDirParam &createDirParam) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h121 virtual ErrCode CreateBundleDataDir(const CreateDirParam &createDirParam) in CreateBundleDataDir() function in OHOS::AppExecFwk::IInstalld
H A Dinstalld_proxy.h86 virtual ErrCode CreateBundleDataDir(const CreateDirParam &createDirPara) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
H A Dbundle_sandbox_installer.cpp257 auto result = InstalldClient::GetInstance()->CreateBundleDataDir(createDirParam); in CreateSandboxDataDir()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon.cpp331 UserManager::GetInstance()->CreateBundleDataDir(userId); in RestoreOneUserKey()
971 UserManager::GetInstance()->CreateBundleDataDir(userId); in ActiveUserKey()
978 UserManager::GetInstance()->CreateBundleDataDir(userId); in ActiveUserKey()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/
H A Dbundle_clone_installer.cpp400 auto result = InstalldClient::GetInstance()->CreateBundleDataDir(createDirParam); in CreateCloneDataDir()
/foundation/filemanagement/storage_service/test/fuzztest/storagedaemon_fuzzer/
H A Dstoragedaemon_fuzzer.cpp338 userManager->CreateBundleDataDir(flag); in UserManagerFuzzTest()

Completed in 25 milliseconds

12