Home
last modified time | relevance | path

Searched refs:sourcePath (Results 1 - 6 of 6) sorted by relevance

/base/startup/appspawn/service/hnp/base/
H A Dhnp_zip.c149 static int ZipAddDir(const char *sourcePath, int offset, zipFile zf);
171 // sourcePath--文件夹路径 zf--压缩文件句柄
172 static int ZipAddDir(const char *sourcePath, int offset, zipFile zf) in ZipAddDir() argument
178 DIR *dir = opendir(sourcePath); in ZipAddDir()
180 HNP_LOGE("open dir=%{public}s unsuccess ", sourcePath); in ZipAddDir()
188 if (sprintf_s(fullPath, MAX_FILE_PATH_LEN, "%s%s", sourcePath, entry->d_name) < 0) { in ZipAddDir()
223 static int ZipDir(const char *sourcePath, int offset, zipFile zf) in ZipDir() argument
228 TransPath(sourcePath, transPath); in ZipDir()
234 HNP_LOGE("open new file[%{public}s] in zip unsuccess ", sourcePath + offset); in ZipDir()
238 ret = ZipAddDir(sourcePath, offse in ZipDir()
248 char sourcePath[MAX_FILE_PATH_LEN]; HnpZip() local
[all...]
/base/theme/wallpaper_mgr/utils/include/
H A Dfile_deal.h38 static bool ForcedRefreshDisk(const std::string &sourcePath);
/base/theme/wallpaper_mgr/utils/src/
H A Dfile_deal.cpp143 bool FileDeal::ForcedRefreshDisk(const std::string &sourcePath) in ForcedRefreshDisk() argument
146 if (!GetRealPath(sourcePath, fileRealPath)) { in ForcedRefreshDisk()
/base/startup/appspawn/service/hnp/pack/src/
H A Dhnp_pack.c121 static int GetHnpCfgInfo(const char *hnpCfgPath, const char *sourcePath, HnpCfgInfo *hnpCfg) in GetHnpCfgInfo() argument
134 ret = sprintf_s(linksource, MAX_FILE_PATH_LEN, "%s/%s", sourcePath, linkArr->source); in GetHnpCfgInfo()
/base/startup/appspawn/test/unittest/hnp_test/
H A Dhnp_installer_test.cpp950 static bool HnpSymlinkCheck(const char *sourcePath, const char *targetPath) in HnpSymlinkCheck() argument
956 if (lstat(sourcePath, &stat) < 0) { in HnpSymlinkCheck()
964 int len = readlink(sourcePath, link, sizeof(link) - 1); in HnpSymlinkCheck()
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp1861 const char *sourcePath = (srcPath == nullptr) ? path : srcPath;
1867 if (mount(sourcePath, path, nullptr, MS_BIND | MS_REC, nullptr) != 0) {
1868 APPSPAWN_LOGI("bind mount %{public}s to %{public}s failed, error %{public}d", sourcePath, path, errno);
1901 string sourcePath = "/data/app/el1/bundle/public/" + string(bundleName);
1902 MountDir(property, rootPath, sourcePath.c_str(), el1Path);

Completed in 8 milliseconds