Home
last modified time | relevance | path

Searched refs:destPath (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Ddata_publisher_sys_event_callback.h29 DataPublisherSysEventCallback(std::string srcPath, std::string destPath, in DataPublisherSysEventCallback() argument
31 destPath_(destPath), fileIndex_(fileIndex), totalJsonSize_(totalJsonSize){}; in DataPublisherSysEventCallback()
/base/hiviewdfx/hiview/service/unified_collection/
Dxcollect_service.cpp100 char destPath[PATH_MAX + 1] = {0x00}; in CopyTmpFile() local
101 if (strlen(dest.c_str()) > PATH_MAX || realpath(dest.c_str(), destPath) == nullptr) { in CopyTmpFile()
104 int destFd = open(destPath, O_WRONLY | O_CREAT, FILE_RIGHT_READ); in CopyTmpFile()
107 HiLog::Error(LABEL, "CopyFile: open %{public}s failed.", destPath); in CopyTmpFile()
/base/update/updater/utils/
Dutils.cpp457 std::string destPath = dLog.substr(0, found); in CopyUpdaterLogs() local
458 if (MountForPath(destPath) != 0) { in CopyUpdaterLogs()
463 RestoreconRecurse(destPath.c_str()); in CopyUpdaterLogs()
465 if (access(destPath.c_str(), 0) != 0) { in CopyUpdaterLogs()
466 … if (MkdirRecursive(destPath.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) != 0) { in CopyUpdaterLogs()
470 if (chown(destPath.c_str(), USER_UPDATE_AUTHORITY, USER_UPDATE_AUTHORITY) != EOK && in CopyUpdaterLogs()
471 chmod(destPath.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) != EOK) { in CopyUpdaterLogs()
484 if (DeleteOldFile(destPath) != true) { in CopyUpdaterLogs()
/base/update/sys_installer/frameworks/ipc_server/src/
Dmodule_update_service.cpp78 std::string destPath = std::string(UPDATE_BACKUP_DIR) + "/" + hmpName; in BackupFile() local
79 if (!CreateDirIfNeeded(destPath, DIR_MODE)) { in BackupFile()
80 LOG(ERROR) << "Failed to create hmp dir " << destPath; in BackupFile()
83 std::string destFile = destPath + "/" + fileName + MODULE_PACKAGE_SUFFIX; in BackupFile()
/base/update/updater/services/updater_binary/
Dupdate_processor.cpp241 std::string destPath; in Execute() local
242 ret = context.GetParam(1, destPath); in Execute()
265 ret = manager->CreatePkgStream(outStream, destPath + "/" + pkgFileName, info->unpackedSize, in Execute()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage.c444 const char *destPath, const char *destFileName) in CopyKeyBlobFromSrc() argument
466 ret = MakeDirIfNotExist(destPath); in CopyKeyBlobFromSrc()
469 ret = HksStorageWriteFile(destPath, destFileName, 0, buffer, size); in CopyKeyBlobFromSrc()
/base/startup/appspawn/util/src/
Dsandbox_utils.cpp1031 … string destPath = sandboxOverlayPath + srcPath.substr(bundleNameIndex + 1, srcPath.length()); in SetOverlayAppSandboxProperty() local
1032 int32_t retMount = DoAppSandboxMountOnce(srcPath.c_str(), destPath.c_str(), in SetOverlayAppSandboxProperty()