Home
last modified time | relevance | path

Searched refs:absSrcPath (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_dualfwk_restore.cpp413 std::string absSrcPath = info.data; in DupToneFile() local
416 auto found = absSrcPath.find(sub); in DupToneFile()
418 absSrcPath.replace(found, sub.size(), replacement); in DupToneFile()
420 info.data.c_str(), absSrcPath.c_str()); in DupToneFile()
422 if (!RingtoneFileUtils::CopyFileUtil(absSrcPath, absDstPath)) { in DupToneFile()
423 … RINGTONE_ERR_LOG("copy-file failed, src: %{public}s, err: %{public}s", absSrcPath.c_str(), in DupToneFile()
429 info.restorePath = absSrcPath; in DupToneFile()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_file_manager.c671 char *absSrcPath = (char *)SoftBusCalloc(PATH_MAX + 1); in FileToFrameAndSendFile() local
673 if (GetAndCheckRealPath(sourceFile, absSrcPath) != SOFTBUS_OK) { in FileToFrameAndSendFile()
675 SoftBusFree(absSrcPath); in FileToFrameAndSendFile()
680 …if (GetAndCheckFileSize(absSrcPath, &fileSize, &frameNum, sendInfo->crc, sendInfo->packetSize) != … in FileToFrameAndSendFile()
682 …sSrcPath size err. channelId=%{public}d, absSrcPath=%{private}s", sendInfo->channelId, absSrcPath); in FileToFrameAndSendFile()
683 SoftBusFree(absSrcPath); in FileToFrameAndSendFile()
689 sendInfo->channelId, sourceFile, absSrcPath, destFile, fileSize, frameNum); in FileToFrameAndSendFile()
690 int32_t fd = SoftBusOpenFile(absSrcPath, SOFTBUS_O_RDONLY); in FileToFrameAndSendFile()
693 SoftBusFree(absSrcPath); in FileToFrameAndSendFile()
699 SoftBusFree(absSrcPath); in FileToFrameAndSendFile()
[all …]