Home
last modified time | relevance | path

Searched refs:rootDir (Results 1 - 12 of 12) sorted by relevance

/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dtheme_manager_test.cpp86 std::string rootDir = "/data/test/theme/skin/ohos.global.test.all"; in HWTEST_F() local
87 rootDirs.emplace_back(rootDir); in HWTEST_F()
111 std::string rootDir = "/data/test/theme/skin/ohos.global.test.all"; in HWTEST_F() local
112 rootDirs.emplace_back(rootDir); in HWTEST_F()
129 std::string rootDir = "/data/test/theme/icons/ohos.global.test.all"; in HWTEST_F() local
136 rootDirs.emplace_back(rootDir); in HWTEST_F()
178 std::string rootDir = "/data/test/theme/icons/ohos.global.test.all"; in HWTEST_F() local
185 rootDirs.emplace_back(rootDir); in HWTEST_F()
203 std::string rootDir = "/data/test/theme/icons/ohos.global.test.all"; in HWTEST_F() local
204 rootDirs.emplace_back(rootDir); in HWTEST_F()
224 std::string rootDir = "/data/test/theme/icons/other_icons"; HWTEST_F() local
247 std::string rootDir = "/data/test/theme/icons/other_icons"; HWTEST_F() local
[all...]
/base/global/resource_management/frameworks/resmgr/src/
H A Dtheme_pack_resource.cpp251 std::tuple<std::string, std::string> GetBundleInfo(const std::string& rootDir, const std::string& path) 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 RESMGR_HILOGE(RESMGR_TAG, "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 RESMGR_HILOGE(RESMGR_TAG, "Invalid rootDir i in LoadThemeResource()
[all...]
/base/hiviewdfx/blackbox_lite/
H A 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/interfaces/js/napi/src/
H A 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()
/base/msdp/device_status/utils/common/src/
H A Dutil.cpp273 bool IsValidPath(const std::string &rootDir, const std::string &filePath) in IsValidPath() argument
275 return (filePath.compare(0, rootDir.size(), rootDir) == 0); in IsValidPath()
/base/hiviewdfx/hiview/interfaces/js/napi/include/
H A Dhiview_service_agent.h45 bool CreateDestDirs(const std::string& rootDir, const std::string& destDir);
/base/global/resource_management/frameworks/resmgr/include/
H A Dtheme_pack_resource.h65 static const std::shared_ptr<ThemeResource> LoadThemeResource(const std::string& rootDir);
66 static const std::shared_ptr<ThemeResource> LoadThemeIconResource(const std::string& rootDir);
/base/account/os_account/services/accountmgr/src/
H A Dohos_account_manager.cpp666 DIR* rootDir = opendir(ACCOUNT_CFG_DIR_ROOT_PATH.c_str()); in CheckOhosAccountCanBind() local
667 if (rootDir == nullptr) { in CheckOhosAccountCanBind()
672 while ((curDir = readdir(rootDir)) != nullptr) { in CheckOhosAccountCanBind()
693 (void)closedir(rootDir); in CheckOhosAccountCanBind()
/base/msdp/device_status/utils/common/include/
H A Dutil.h152 bool IsValidPath(const std::string &rootDir, const std::string &filePath);
/base/startup/appspawn/standard/
H A Dappspawn_service.c1416 DIR *rootDir = opendir(rootPath); in ProcessSpawnRemountMsg() local
1417 APPSPAWN_CHECK(rootDir != NULL, return -1, "Failed to opendir %{public}s, errno %{public}d", rootPath, errno); in ProcessSpawnRemountMsg()
1420 while ((ent = readdir(rootDir)) != NULL) { in ProcessSpawnRemountMsg()
1449 closedir(rootDir); in ProcessSpawnRemountMsg()
1460 DIR *rootDir = opendir(rootPath); in ProcessSpawnRemountMsg() local
1461 APPSPAWN_CHECK(rootDir != NULL, return -1, "Failed to opendir %{public}s, errno %{public}d", rootPath, errno); in ProcessSpawnRemountMsg()
1464 while ((ent = readdir(rootDir)) != NULL) { in ProcessSpawnRemountMsg()
1504 closedir(rootDir); in ProcessSpawnRemountMsg()
/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability.cpp66 static std::string ComposeFilePath(const std::string& rootDir, const std::string& destDir, const std::string& fileName) in ComposeFilePath() argument
68 std::string filePath(rootDir); in ComposeFilePath()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_control_file_manager.cpp423 DIR* rootDir = opendir(Constants::USER_INFO_BASE.c_str()); in RecoverAccountListJsonFile() local
424 if (rootDir == nullptr) { in RecoverAccountListJsonFile()
432 while ((curDir = readdir(rootDir)) != nullptr) { in RecoverAccountListJsonFile()
463 (void)closedir(rootDir); in RecoverAccountListJsonFile()

Completed in 13 milliseconds