/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | theme_manager_test.cpp | 86 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 D | theme_pack_resource.cpp | 251 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 D | blackbox_core.c | 97 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 D | hiview_service_agent.cpp | 167 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 D | util.cpp | 273 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 D | hiview_service_agent.h | 45 bool CreateDestDirs(const std::string& rootDir, const std::string& destDir);
|
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | theme_pack_resource.h | 65 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 D | ohos_account_manager.cpp | 666 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 D | util.h | 152 bool IsValidPath(const std::string &rootDir, const std::string &filePath);
|
/base/startup/appspawn/standard/ |
H A D | appspawn_service.c | 1416 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 D | hiview_service_ability.cpp | 66 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 D | os_account_control_file_manager.cpp | 423 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()
|