Searched refs:sourceFilePath (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/file/ |
H A D | audio_capturer_file_source.cpp | 136 std::string sourceFilePath(filePath); in Init() local 140 auto pos = sourceFilePath.rfind("/"); in Init() 142 rootPath = sourceFilePath.substr(0, pos); in Init() 143 fileName = sourceFilePath.substr(pos); in Init() 146 …bool tmp = strlen(sourceFilePath.c_str()) >= PATH_MAX || realpath(rootPath.c_str(), realPath) == n… in Init()
|
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/ |
H A D | file_trash_n_exporter.cpp | 461 string sourceFilePath = FindSourceFilePath(filePath); in RecoverFile() local 463 string newDestPath = sourceFilePath; in RecoverFile() 498 string sourceFilePath = FindSourceFilePath(filePath); in RecoverFilePart() local 501 size_t lastSlashPos = sourceFilePath.find_last_of("/"); in RecoverFilePart() 502 string fileName = sourceFilePath.substr(lastSlashPos + 1); in RecoverFilePart() 506 sourceFilePath = iter->second + "/" + fileName; in RecoverFilePart() 508 int moveRet = MoveFile(filePath, sourceFilePath); in RecoverFilePart() 521 string sourceFilePath = FindSourceFilePath(dirPath); in MakeAndFindUpdateNameDir() local 523 string newDestPath = sourceFilePath; in MakeAndFindUpdateNameDir() 524 if (Mkdirs(sourceFilePath, true, newDestPath)) { in MakeAndFindUpdateNameDir() [all …]
|
/ohos5.0/foundation/filemanagement/user_file_service/services/file_extension_hap/entry/src/main/ets/FileExtensionAbility/ |
H A D | FileExtensionAbility.ts | 460 copyFile(sourceFilePath, newFilePath): {[], number} { 471 fs.copyFileSync(sourceFilePath, newFilePath); 486 fs.copyDirSync(sourceFilePath, targetFilePath, mode); 517 let sourceFilePath = getPath(sourceFileUri); 523 let stat = fs.statSync(sourceFilePath); 529 return this.copyFile(sourceFilePath, newFilePath); 557 let sourceFilePath = getPath(sourceFileUri); 558 let isAccess = fs.accessSync(sourceFilePath); 563 let stat = fs.statSync(sourceFilePath); 584 fs.copyFileSync(sourceFilePath, newFilePath); [all …]
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
H A D | hap_crl_manager_test.cpp | 40 CopyFileState CopyFile(const std::string& sourceFilePath, const std::string& destFilePath) in CopyFile() argument 44 source.open(sourceFilePath.c_str(), std::ios::in); in CopyFile()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/enhancement_service/ |
H A D | enhancement_service_callback.cpp | 238 string sourceFilePath = GetStringVal(MediaColumn::MEDIA_FILE_PATH, resultSet); in DealWithSuccessedTask() local 247 sourceFilePath, sourceDisplayName, sourceSubtype, hidden); in DealWithSuccessedTask() 262 MediaFileUtils::GetExtraUri(sourceDisplayName, sourceFilePath)); in DealWithSuccessedTask()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_cloud_enhancement_test/src/ |
H A D | medialibrary_cloud_enhancement_test.cpp | 816 string sourceFilePath; variable 818 …EnhancementFileInfo> fileInfo = make_shared<CloudEnhancementFileInfo>(sourceFileId, sourceFilePath, 824 …fileInfo = make_shared<CloudEnhancementFileInfo>(sourceFileId, sourceFilePath, sourceDisplayName, … 832 …fileInfo = make_shared<CloudEnhancementFileInfo>(sourceFileId, sourceFilePath, sourceDisplayName, … 841 …fileInfo = make_shared<CloudEnhancementFileInfo>(sourceFileId, sourceFilePath, sourceDisplayName, … 855 …fileInfo = make_shared<CloudEnhancementFileInfo>(sourceFileId, sourceFilePath, sourceDisplayName, …
|