Home
last modified time | relevance | path

Searched refs:userPath (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/customization/config_policy/test/fuzztest/getonecfgfile_fuzzer/
H A Dgetonecfgfile_fuzzer.cpp28 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 Dgetonecfgfileex_fuzzer.cpp29 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 DREADME_zh.md48 const char *userPath = "etc/xml/user.xml"; // 设置配置文件相对路径及文件名
50 char *filePath = GetOneCfgFile(userPath, buf, MAX_PATH_LEN); // 获取最高优先级的配置文件路径
H A DREADME.md48 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 Dfs_work_agent.c284 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 Dhks_storage_utils.c476 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 Duser_unlocked_event_subscriber.cpp189 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 Dwallpaper_service.cpp1575 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 Dsandbox_utils.cpp1986 const char userPath[] = "/storage/Users"; in UpdateStorageDir() local
2015 bundleName, userPath); in UpdateStorageDir()
2023 ret = MountInShared(property, rootPath, nosharefsDocsDir, userPath); in UpdateStorageDir()