Home
last modified time | relevance | path

Searched refs:rootDir (Results 1 – 11 of 11) sorted by relevance

/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dtheme_manager_test.cpp86 std::string rootDir = "/data/test/theme/skin/ohos.global.test.all"; variable
87 rootDirs.emplace_back(rootDir);
113 std::string rootDir = "/data/test/theme/skin/ohos.global.test.all"; variable
114 rootDirs.emplace_back(rootDir);
133 std::string rootDir = "/data/test/theme/icons/ohos.global.test.all"; variable
140 rootDirs.emplace_back(rootDir);
/base/global/resource_management/frameworks/resmgr/src/
Dtheme_pack_resource.cpp251 std::tuple<std::string, std::string> GetBundleInfo(const std::string& rootDir, const std::string& p… in GetBundleInfo() argument
253 if (rootDir.empty() || path.empty()) { in GetBundleInfo()
256 size_t len = rootDir.size(); in GetBundleInfo()
257 auto pos = rootDir.rfind('/'); in GetBundleInfo()
259 HILOG_ERROR("invalid rootDir = %{public}s in GetBundleInfo", rootDir.c_str()); in GetBundleInfo()
262 std::string bundleName = rootDir.substr(pos + 1); in GetBundleInfo()
276 const std::shared_ptr<ThemeResource> ThemeResource::LoadThemeResource(const std::string& rootDir) in LoadThemeResource() argument
278 if (rootDir.empty()) { in LoadThemeResource()
279 HILOG_ERROR("Invalid rootDir in LoadThemeResource = %{public}s", rootDir.c_str()); in LoadThemeResource()
282 auto themeResource = std::make_shared<ThemeResource>(rootDir); in LoadThemeResource()
[all …]
/base/hiviewdfx/blackbox_lite/
Dblackbox_core.c97 static void WaitForLogRootDir(const char *rootDir) in WaitForLogRootDir() argument
101 if (rootDir == NULL) { in WaitForLogRootDir()
102 BBOX_PRINT_ERR("rootDir: %p\n", rootDir); in WaitForLogRootDir()
105 BBOX_PRINT_INFO("wait for log root dir [%s] begin!\n", rootDir); in WaitForLogRootDir()
109 BBOX_PRINT_INFO("wait for log root dir [%s] end!\n", rootDir); in WaitForLogRootDir()
/base/hiviewdfx/hiview/adapter/service/idl/src/
Dhiview_service_agent.cpp167 bool HiviewServiceAgent::CreateDestDirs(const std::string& rootDir, const std::string& destDir) in CreateDestDirs() argument
171 std::string fullPath(rootDir); in CreateDestDirs()
Dhiview_service_ability.cpp66 static std::string ComposeFilePath(const std::string& rootDir, const std::string& destDir, const st… in ComposeFilePath() argument
68 std::string filePath(rootDir); in ComposeFilePath()
/base/global/resource_management/frameworks/resmgr/include/
Dtheme_pack_resource.h62 static const std::shared_ptr<ThemeResource> LoadThemeResource(const std::string& rootDir);
63 static const std::shared_ptr<ThemeResource> LoadThemeIconResource(const std::string& rootDir);
/base/msdp/device_status/utils/common/src/
Dutil.cpp259 bool IsValidPath(const std::string &rootDir, const std::string &filePath) in IsValidPath() argument
261 return (filePath.compare(0, rootDir.size(), rootDir) == 0); in IsValidPath()
/base/hiviewdfx/hiview/adapter/service/idl/include/
Dhiview_service_agent.h45 bool CreateDestDirs(const std::string& rootDir, const std::string& destDir);
/base/msdp/device_status/utils/common/include/
Dutil.h105 bool IsValidPath(const std::string &rootDir, const std::string &filePath);
/base/account/os_account/services/accountmgr/src/
Dohos_account_manager.cpp652 DIR* rootDir = opendir(ACCOUNT_CFG_DIR_ROOT_PATH.c_str()); in CheckOhosAccountCanBind() local
653 if (rootDir == nullptr) { in CheckOhosAccountCanBind()
658 while ((curDir = readdir(rootDir)) != nullptr) { in CheckOhosAccountCanBind()
679 (void)closedir(rootDir); in CheckOhosAccountCanBind()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_control_file_manager.cpp397 DIR* rootDir = opendir(Constants::USER_INFO_BASE.c_str()); in RecoverAccountListJsonFile() local
398 if (rootDir == nullptr) { in RecoverAccountListJsonFile()
406 while ((curDir = readdir(rootDir)) != nullptr) { in RecoverAccountListJsonFile()
437 (void)closedir(rootDir); in RecoverAccountListJsonFile()