Lines Matching defs:targetPath
87 const std::string &srcImage, const std::string &targetPath)
99 if (!UpdatePathCheck(targetPath, targetPath.length())) {
101 if (Updater::Utils::MkdirRecursive(targetPath, S_IRWXU) != 0) {
153 TransferManagerPtr tm, const std::string &partitionName, const std::string &targetPath)
158 transferParams->storeBase = targetPath + partitionName + "_tmp";
192 const std::vector<std::string> &lines, const std::string &targetPath, const std::string &dstImage)
199 int32_t ret = ExecuteTransferCommand(fd, lines, tm, infos.partitionName, targetPath);
363 const std::string targetPath, std::string destImage)
407 int32_t ret = DoExecuteUpdateBlock(infos, tm.get(), lines, targetPath, destImage);
412 int RestoreOriginalFile(const std::string &packagePath, const std::string &srcImage, const std::string &targetPath)
415 if (GetUpdateBlockInfo(infos, packagePath, srcImage, targetPath) != 0) {
419 std::string destImage = targetPath + "/" + destName;
441 int result = ExecuteUpdateBlock(*env, infos, targetPath, destImage);