/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | ithumbnail_helper.cpp | 389 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 D | thumbnail_generate_helper.cpp | 62 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 D | thumbnail_source_loading.cpp | 126 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 D | thumbnail_utils.cpp | 133 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 D | dfx_utils.h | 28 static std::string GetSafePath(const std::string &path);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_meta_recovery.cpp | 324 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 D | medialibrary_data_manager.cpp | 205 MEDIA_ERR_LOG("Delete dir fail, dir: %{public}s", DfxUtils::GetSafePath(dir).c_str()); in ReCreateMediaDir()
|
H A D | medialibrary_asset_operations.cpp | 487 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 D | medialibrary_dfx_test.cpp | 103 std::string safePath = DfxUtils::GetSafePath(path); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_utils.cpp | 52 string DfxUtils::GetSafePath(const string &path) in GetSafePath() function in OHOS::Media::DfxUtils
|
H A D | dfx_database_utils.cpp | 87 photoInfo.data = DfxUtils::GetSafePath(GetStringVal(MediaColumn::MEDIA_FILE_PATH, resultSet)); in QueryDirtyCloudPhoto()
|
H A D | dfx_manager.cpp | 101 string safePath = DfxUtils::GetSafePath(path); in HandleThumbnailError()
|