Searched refs:userPath (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/base/customization/config_policy/test/fuzztest/getonecfgfile_fuzzer/ |
H A D | getonecfgfile_fuzzer.cpp | 28 std::string userPath(reinterpret_cast<const char*>(data), size); in FuzzGetOneCfgFile() 30 char *filePath = GetOneCfgFile(userPath.c_str(), buf, MAX_PATH_LEN); in FuzzGetOneCfgFile()
|
/ohos5.0/base/customization/config_policy/test/fuzztest/getonecfgfileex_fuzzer/ |
H A D | getonecfgfileex_fuzzer.cpp | 29 std::string userPath(reinterpret_cast<const char*>(data), size / 2); in FuzzGetOneCfgFileEx() 33 … char *filePath = GetOneCfgFileEx(userPath.c_str(), buf, MAX_PATH_LEN, followMode, extra.c_str()); in FuzzGetOneCfgFileEx()
|
/ohos5.0/base/customization/config_policy/ |
H A D | README_zh.md | 48 const char *userPath = "etc/xml/user.xml"; // 设置配置文件相对路径及文件名 50 char *filePath = GetOneCfgFile(userPath, buf, MAX_PATH_LEN); // 获取最高优先级的配置文件路径
|
H A D | README.md | 48 const char *userPath = "etc/xml/user.xml"; // Set the relative path and name of the configuration f… 50 char *filePath = GetOneCfgFile(userPath, buf, MAX_PATH_LEN); // Obtain the path of the configuratio…
|
/ohos5.0/base/tee/tee_client/services/teecd/src/ |
H A D | fs_work_agent.c | 284 char userPath[USER_PATH_SIZE] = { 0 }; in JoinFileNameTransient() local 285 rc = snprintf_s(userPath, sizeof(userPath), sizeof(userPath) - 1, "%u/", userId); in JoinFileNameTransient() 297 rc = strncat_s(path, pathLen, userPath, strlen(userPath)); in JoinFileNameTransient()
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage_utils.c | 476 char userPath[HKS_MAX_DIRENT_FILE_LEN] = { 0 }; in CheckUserPathExist() local 477 int32_t offset = sprintf_s(userPath, HKS_MAX_DIRENT_FILE_LEN, "%s/%s", in CheckUserPathExist() 484 return HksIsDirExist(userPath) == HKS_SUCCESS ? HKS_SUCCESS : HKS_ERROR_NO_PERMISSION; in CheckUserPathExist()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | user_unlocked_event_subscriber.cpp | 189 std::filesystem::path userPath = in GetBundleDataDirs() local 192 std::filesystem::path dataPath = userPath / data; in GetBundleDataDirs()
|
/ohos5.0/base/theme/wallpaper_mgr/services/src/ |
H A D | wallpaper_service.cpp | 1575 std::string userPath = WALLPAPER_USERID_PATH + std::to_string(userId) + "/wallpapercfg"; in SaveWallpaperState() local 1577 int fd = open(userPath.c_str(), O_CREAT | O_WRONLY | O_SYNC, mode); in SaveWallpaperState() 1595 std::string userPath = WALLPAPER_USERID_PATH + std::to_string(userId) + "/wallpapercfg"; in LoadWallpaperState() local 1596 int fd = open(userPath.c_str(), O_RDONLY, S_IREAD); in LoadWallpaperState()
|
/ohos5.0/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_utils.cpp | 1986 const char userPath[] = "/storage/Users"; in UpdateStorageDir() local 2015 bundleName, userPath); in UpdateStorageDir() 2023 ret = MountInShared(property, rootPath, nosharefsDocsDir, userPath); in UpdateStorageDir()
|