Home
last modified time | relevance | path

Searched refs:GetSafePath (Results 1 - 12 of 12) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dithumbnail_helper.cpp389 MEDIA_ERR_LOG("LoadSourceImage faild, %{public}s", DfxUtils::GetSafePath(data.path).c_str()); in TryLoadSource()
420 MEDIA_ERR_LOG("Fail to create lcd, path: %{public}s", DfxUtils::GetSafePath(opts.path).c_str()); in DoCreateLcd()
425 MEDIA_ERR_LOG("Fail to create lcdEx, path: %{public}s", DfxUtils::GetSafePath(opts.path).c_str()); in DoCreateLcd()
462 MEDIA_ERR_LOG("load source is nullptr path: %{public}s", DfxUtils::GetSafePath(opts.path).c_str()); in IsCreateLcdSuccess()
476 DfxUtils::GetSafePath(opts.path).c_str()); in IsCreateLcdSuccess()
504 DfxUtils::GetSafePath(opts.path).c_str(), data.id.c_str()); in IsCreateLcdExSuccess()
511 MEDIA_ERR_LOG("Fail to create directory, fileName: %{public}s", DfxUtils::GetSafePath(fileName).c_str()); in IsCreateLcdExSuccess()
522 DfxUtils::GetSafePath(opts.path).c_str()); in IsCreateLcdExSuccess()
590 DfxUtils::GetSafePath(opts.path).c_str(), data.id.c_str()); in GenThumbnailEx()
597 MEDIA_ERR_LOG("Fail to create directory, fileName: %{public}s", DfxUtils::GetSafePath(fileNam in GenThumbnailEx()
[all...]
H A Dthumbnail_generate_helper.cpp62 DfxUtils::GetSafePath(thumbnailData.path).c_str(), thumbnailData.id.c_str()); in CreateThumbnailFileScaned()
157 DfxUtils::GetSafePath(data.path).c_str()); in CreateAstcCloudDownload()
321 DfxUtils::GetSafePath(data.path).c_str()); in GenerateLocalThumbnail()
329 DfxUtils::GetSafePath(data.path).c_str()); in GenerateLocalThumbnail()
341 DfxUtils::GetSafePath(data.path).c_str()); in GenerateKeyFrameLocalThumbnail()
348 DfxUtils::GetSafePath(data.path).c_str()); in GenerateKeyFrameLocalThumbnail()
371 MEDIA_INFO_LOG("File exists, path: %{public}s", DfxUtils::GetSafePath(fileName).c_str()); in GetAvailableFile()
381 MEDIA_INFO_LOG("Unrotated file exists, path: %{public}s", DfxUtils::GetSafePath(fileName).c_str()); in GetAvailableFile()
385 MEDIA_INFO_LOG("No available file, create thumbnail, path: %{public}s", DfxUtils::GetSafePath(fileName).c_str()); in GetAvailableFile()
387 MEDIA_ERR_LOG("GenerateLocalThumbnail failed, path: %{public}s", DfxUtils::GetSafePath(tempFileNam in GetAvailableFile()
[all...]
H A Dthumbnail_source_loading.cpp126 errno, DfxUtils::GetSafePath(path).c_str()); in IsLocalSourceAvailable()
133 errno, DfxUtils::GetSafePath(path).c_str()); in IsLocalSourceAvailable()
138 errno, DfxUtils::GetSafePath(path).c_str()); in IsLocalSourceAvailable()
148 MEDIA_ERR_LOG("Not real file path: errno: %{public}d, %{public}s", errno, DfxUtils::GetSafePath(path).c_str()); in IsCloudSourceAvailable()
155 errno, DfxUtils::GetSafePath(path).c_str()); in IsCloudSourceAvailable()
300 STATE_NAME_MAP.at(state_).c_str(), DfxUtils::GetSafePath(data_.path).c_str()); in CreateImagePixelMap()
310 DfxUtils::GetSafePath(data_.path).c_str()); in CreateImagePixelMap()
320 MEDIA_ERR_LOG("SourceLoader fail to scaleTarget, path %{public}s", DfxUtils::GetSafePath(data_.path).c_str()); in CreateImagePixelMap()
329 DfxUtils::GetSafePath(data_.path).c_str()); in CreateImagePixelMap()
355 STATE_NAME_MAP.at(state_).c_str(), DfxUtils::GetSafePath(data in CreateSourcePixelMap()
[all...]
H A Dthumbnail_utils.cpp133 DfxUtils::GetSafePath(dirName).c_str(), data.id.c_str()); in DeleteThumbExDir()
138 DfxUtils::GetSafePath(dirName).c_str(), data.id.c_str()); in DeleteThumbExDir()
150 DfxUtils::GetSafePath(dirName).c_str(), data.id.c_str()); in DeleteBeginTimestampDir()
164 DfxUtils::GetSafePath(folderPath).c_str(), data.id.c_str()); in DeleteBeginTimestampDir()
186 DfxUtils::GetSafePath(data.path).c_str(), errCode); in LoadAudioFileInfo()
194 DfxUtils::GetSafePath(data.path).c_str(), errCode); in LoadAudioFileInfo()
354 DfxUtils::GetSafePath(path).c_str()); in CenterScaleEx()
374 DfxUtils::GetSafePath(path).c_str()); in CenterScaleEx()
384 DfxUtils::GetSafePath(path).c_str()); in CenterScaleEx()
771 DfxUtils::GetSafePath(dat in QueryNoHighlightInfos()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_dfx/include/
H A Ddfx_utils.h28 static std::string GetSafePath(const std::string &path);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_meta_recovery.cpp324 MEDIA_ERR_LOG("read album file failed, path=%{public}s", DfxUtils::GetSafePath(path).c_str()); in LoadAlbumMaps()
330 DfxUtils::GetSafePath(it->GetLPath()).c_str()); in LoadAlbumMaps()
346 DfxUtils::GetSafePath(lPath).c_str(), albumId); in LoadAlbumMaps()
384 MEDIA_ERR_LOG("file is not exist or no read access, path=%{public}s", DfxUtils::GetSafePath(path).c_str()); in AlbumRecovery()
492 MEDIA_ERR_LOG("invalid photo path, path = %{public}s", DfxUtils::GetSafePath(asset.GetPath()).c_str()); in WriteSingleMetaData()
500 DfxUtils::GetSafePath(metaParentPath).c_str()); in WriteSingleMetaData()
508 DfxUtils::GetSafePath(metaFilePath).c_str()); in WriteSingleMetaData()
515 MEDIA_ERR_LOG("photo: Up to date failed, filePath = %{public}s", DfxUtils::GetSafePath(metaFilePath).c_str()); in WriteSingleMetaData()
662 DfxUtils::GetSafePath(currentPath).c_str(), DfxUtils::GetSafePath(pat in ScanMetaDir()
[all...]
H A Dmedialibrary_data_manager.cpp205 MEDIA_ERR_LOG("Delete dir fail, dir: %{public}s", DfxUtils::GetSafePath(dir).c_str()); in ReCreateMediaDir()
H A Dmedialibrary_asset_operations.cpp487 MEDIA_DEBUG_LOG("query media_file_path=%{public}s start\n", DfxUtils::GetSafePath(path).c_str()); in CheckExist()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_dfx_test/src/
H A Dmedialibrary_dfx_test.cpp103 std::string safePath = DfxUtils::GetSafePath(path); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/
H A Ddfx_utils.cpp52 string DfxUtils::GetSafePath(const string &path) in GetSafePath() function in OHOS::Media::DfxUtils
H A Ddfx_database_utils.cpp87 photoInfo.data = DfxUtils::GetSafePath(GetStringVal(MediaColumn::MEDIA_FILE_PATH, resultSet)); in QueryDirtyCloudPhoto()
H A Ddfx_manager.cpp101 string safePath = DfxUtils::GetSafePath(path); in HandleThumbnailError()

Completed in 17 milliseconds