| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_asset_test/src/ |
| D | media_asset_test.cpp | 48 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 60 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 70 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 82 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 92 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 103 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 116 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 127 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 140 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 151 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable [all …]
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_asset_helper_capi_test/src/ |
| D | media_library_asset_helper_capi_test.cpp | 71 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 91 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 111 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 130 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 157 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 184 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 211 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 242 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 268 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable 296 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); variable [all …]
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
| D | file_asset_test.cpp | 34 FileAsset fileAsset; variable 83 FileAsset fileAsset; variable 128 FileAsset fileAsset; variable 170 FileAsset fileAsset; variable
|
| D | fetch_result_test.cpp | 154 auto fileAsset = fileFetchResult->GetFirstObject(); variable 182 auto fileAsset = fileFetchResult->GetFirstObject(); variable 358 auto fileAsset = result->GetObjectFromRdb(queryResultSet, 1); variable 374 auto fileAsset = result->GetObjectFromRdb(resultSet, 1); variable
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/command/ |
| D | recv_command_v10.cpp | 35 static bool GetWriteFilePath(const ExecEnv &env, const FileAsset &fileAsset, std::string &wFilePath) in GetWriteFilePath() 55 static int32_t RecvFile(const ExecEnv &env, const FileAsset &fileAsset) in RecvFile() 107 auto fileAsset = fetchResult->GetFirstObject(); in RecvAsset() local 134 auto fileAsset = fetchResult->GetObjectAtPosition(index); in RecvAssets() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
| D | medialibrary_audio_operations.cpp | 71 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in Delete() local 114 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, false, AUDIO_COLUMN_VECTOR, pending… in Open() local 135 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, false, AUDIO_COLUMN_VECTOR, pending… in Close() local 154 FileAsset fileAsset; in CreateV9() local 208 FileAsset fileAsset; in CreateV10() local 268 int32_t MediaLibraryAudioOperations::DeleteAudio(const shared_ptr<FileAsset> &fileAsset, MediaLibra… in DeleteAudio() 308 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in UpdateV10() local 348 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in UpdateV9() local
|
| D | medialibrary_photo_operations.cpp | 160 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in Delete() local 370 static int32_t ProcessMovingPhotoOprnKey(MediaLibraryCommand& cmd, shared_ptr<FileAsset>& fileAsset… in ProcessMovingPhotoOprnKey() 431 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, true, PHOTO_COLUMN_VECTOR, pending… in Open() local 458 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, true, PHOTO_COLUMN_VECTOR, pendingS… in Close() local 475 static inline void SetPhotoTypeByRelativePath(const string &relativePath, FileAsset &fileAsset) in SetPhotoTypeByRelativePath() 488 static inline void SetPhotoSubTypeFromCmd(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SetPhotoSubTypeFromCmd() 498 static inline void SetCameraShotKeyFromCmd(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SetCameraShotKeyFromCmd() 518 static inline void SetCallingPackageName(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SetCallingPackageName() 534 FileAsset fileAsset; in CreateV9() local 590 …ediaLibraryPhotoOperations::SolvePhotoAlbumInCreate(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SolvePhotoAlbumInCreate() [all …]
|
| D | medialibrary_asset_operations.cpp | 379 auto fileAsset = make_shared<FileAsset>(); in FetchFileAssetFromResultSet() local 442 auto fileAsset = FetchFileAssetFromResultSet(resultSet, columns); in GetAssetVectorFromResultSet() local 524 shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); in GetFileAssetByUri() local 568 static string GetAssetPackageName(const FileAsset &fileAsset, const string &bundleName) in GetAssetPackageName() 596 static void HandleCallingPackage(MediaLibraryCommand &cmd, const FileAsset &fileAsset, ValuesBucket… in HandleCallingPackage() 700 static void FillAssetInfo(MediaLibraryCommand &cmd, const FileAsset &fileAsset) in FillAssetInfo() 758 MediaLibraryCommand &cmd, const FileAsset &fileAsset) in InsertAssetInDb() 910 int32_t MediaLibraryAssetOperations::SetAssetPathInCreate(FileAsset &fileAsset, in SetAssetPathInCreate() 930 int32_t MediaLibraryAssetOperations::SetAssetPath(FileAsset &fileAsset, const string &extension, in SetAssetPath() 978 const shared_ptr<FileAsset> &fileAsset, bool &isNameChanged) in UpdateFileName() [all …]
|
| D | medialibrary_smartalbum_map_operations.cpp | 113 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, row); in HandleAgingOperation() local 148 … shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(assetId)); in MakeRecycleDisplayName() local 297 static int32_t RecycleDir(const shared_ptr<FileAsset> &fileAsset) in RecycleDir() 358 static int32_t RecycleDirAssetsInfoUtil(const shared_ptr<FileAsset> &fileAsset) in RecycleDirAssetsInfoUtil() 375 static int32_t RecycleFile(const shared_ptr<FileAsset> &fileAsset) in RecycleFile() 424 static int32_t RecycleFileAssetsInfoUtil(const shared_ptr<FileAsset> &fileAsset) in RecycleFileAssetsInfoUtil() 441 …shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(fileAssetI… in RemoveTrashAssetsInfoUtil() local 574 …shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(fileAssetI… in InsertTrashAssetsInfoUtil() local
|
| D | medialibrary_object_utils.cpp | 143 const FileAsset &fileAsset, const NativeAlbumAsset &dirAsset) in InsertFileInDb() 205 int32_t MediaLibraryObjectUtils::BuildFileAsset(MediaLibraryCommand &cmd, FileAsset &fileAsset, in BuildFileAsset() 256 FileAsset fileAsset; in CreateFileObj() local 554 int32_t MediaLibraryObjectUtils::DeleteFileObj(const shared_ptr<FileAsset> &fileAsset) in DeleteFileObj() 579 int32_t MediaLibraryObjectUtils::DeleteInfoRecursively(const shared_ptr<FileAsset> &fileAsset) in DeleteInfoRecursively() 802 shared_ptr<FileAsset> fileAsset = GetFileAssetFromUri(uriString); in OpenFile() local 890 auto fileAsset = GetFileAssetFromId(strFileId); in CloseFile() local 1428 auto fileAsset = GetFileAssetFromUri(tempUri); in CheckUriPending() local 1509 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, row); in GetFileResult() local
|
| /foundation/multimedia/media_library/frameworks/native/c_api/ |
| D | media_asset_change_request_impl.cpp | 90 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in GetWriteCacheHandler() local 112 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in SaveCameraPhoto() local 122 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in DiscardCameraPhoto() local 142 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in AddResourceWithUri() local 181 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in AddResourceWithBuffer() local 211 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in ApplyChanges() local 236 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in IsMovingPhoto() local 280 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in OpenWriteCacheHandler() local 344 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in CheckChangeOperations() local 461 auto fileAsset = mediaAsset_->GetFileAssetInstance(); in SaveCameraPhotoExecute() local [all …]
|
| D | media_asset_helper_impl.cpp | 43 std::shared_ptr<FileAsset> fileAsset = std::make_shared<FileAsset>(); in GetMediaAsset() local 73 void MediaAssetHelperImpl::InitFileAsset(std::shared_ptr<FileAsset> fileAsset) in InitFileAsset() 141 std::shared_ptr<FileAsset> fileAsset) in UpdateFileAsset()
|
| D | media_asset_impl.cpp | 43 std::shared_ptr<FileAsset> fileAsset) in CreateMediaAsset() 51 MediaAssetImpl::MediaAssetImpl(std::shared_ptr<FileAsset> fileAsset) in MediaAssetImpl()
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/album_count_cover_test/src/ |
| D | album_count_cover_test.cpp | 386 int32_t TrashFileAsset(const unique_ptr<FileAsset> &fileAsset, bool trashState) in TrashFileAsset() 408 int32_t HideFileAsset(const unique_ptr<FileAsset> &fileAsset, bool hiddenState) in HideFileAsset() 474 int32_t AlbumAddAssets(unique_ptr<PhotoAlbum> &album, unique_ptr<FileAsset> &fileAsset) in AlbumAddAssets() 488 int32_t AlbumRemoveAssets(unique_ptr<PhotoAlbum> &album, unique_ptr<FileAsset> &fileAsset) in AlbumRemoveAssets() 558 auto fileAsset = CreateImageAsset("Test_Create_Image_001.jpg"); variable 629 auto fileAsset = CreateImageAsset("Test_Hidden_Image_001.jpg"); variable 683 auto fileAsset = CreateImageAsset("Test_Trash_Image_001.jpg"); variable 750 auto fileAsset = CreateImageAsset("Test_Images_001.jpg"); variable 825 auto fileAsset = CreateImageAsset("Test_Favorites_001.jpg"); variable 910 auto fileAsset = CreateVideoAsset("Test_Videos_001.mp4"); variable [all …]
|
| /foundation/multimedia/media_library/frameworks/js/src/ |
| D | media_assets_change_request_napi.cpp | 126 for (const auto& fileAsset : fileAssets_) { in GetFileAssetUriArray() local 159 for (const auto& fileAsset : fileAssets_) { in CheckChangeOperations() local 185 for (const auto& fileAsset : changeRequest->fileAssets_) { in JSSetFavorite() local 208 for (const auto& fileAsset : changeRequest->fileAssets_) { in JSSetHidden() local 232 for (const auto& fileAsset : changeRequest->fileAssets_) { in JSSetUserComment() local
|
| D | media_asset_change_request_napi.cpp | 382 auto fileAsset = GetFileAssetInstance(); in CheckChangeOperations() local 482 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSGetAsset() local 1054 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSSetTitle() local 1179 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSSetEffectMode() local 1234 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSSaveCameraPhoto() local 1264 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSSetVideoEnhancementAttr() local 1278 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSDiscardCameraPhoto() local 1287 auto fileAsset = changeRequest->GetFileAssetInstance(); in OpenWriteCacheHandler() local 1408 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSGetWriteCacheHandler() local 1500 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSAddResource() local [all …]
|
| D | media_library_comm_napi.cpp | 40 shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); in CreatePhotoAssetNapi() local
|
| /foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
| D | mtp_medialibrary_manager.cpp | 100 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectAtPosition(row); in GetHandles() local 149 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in GetHandles() local 182 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in GetObjectInfo() local 186 int32_t MtpMedialibraryManager::SetObjectInfo(const unique_ptr<FileAsset> &fileAsset, in SetObjectInfo() 327 shared_ptr<FileAsset> fileAsset; in GetPathById() local 366 shared_ptr<FileAsset> fileAsset; in SendObjectInfo() local 408 shared_ptr<FileAsset> fileAsset; in MoveObject() local 462 shared_ptr<FileAsset> fileAsset; in SetObjectPropValue() local 501 shared_ptr<FileAsset> fileAsset; in CloseFd() local 629 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectAtPosition(row); in GetRootIdList() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_fileext_test/src/ |
| D | medialibrary_fileext_test.cpp | 176 Uri fileAsset(""); variable 316 shared_ptr<FileAsset> fileAsset = nullptr; variable 501 shared_ptr<FileAsset> fileAsset = nullptr; variable 532 shared_ptr<FileAsset> fileAsset = nullptr; variable 569 shared_ptr<FileAsset> fileAsset = nullptr; variable 597 shared_ptr<FileAsset> fileAsset = nullptr; variable 625 shared_ptr<FileAsset> fileAsset = nullptr; variable 643 shared_ptr<FileAsset> fileAsset = nullptr; variable 697 shared_ptr<FileAsset> fileAsset = nullptr; variable 724 shared_ptr<FileAsset> fileAsset = nullptr; variable [all …]
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_test/src/ |
| D | medialibrary_scanner_test.cpp | 57 shared_ptr<FileAsset> fileAsset = nullptr; variable 148 shared_ptr<FileAsset> fileAsset = nullptr; variable
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_unittest_utils/src/ |
| D | medialibrary_unittest_utils.cpp | 145 bool MediaLibraryUnitTestUtils::GetFileAsset(const int fileId, shared_ptr<FileAsset> &fileAsset) in GetFileAsset() 210 shared_ptr<FileAsset> &fileAsset) in CreateFile() 276 void MediaLibraryUnitTestUtils::TrashFile(shared_ptr<FileAsset> &fileAsset) in TrashFile() 288 void MediaLibraryUnitTestUtils::RecoveryFile(shared_ptr<FileAsset> &fileAsset) in RecoveryFile()
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_datamanager_test/src/ |
| D | medialibrary_datamanager_test.cpp | 137 shared_ptr<FileAsset> fileAsset = nullptr; variable 192 shared_ptr<FileAsset> fileAsset = nullptr; variable 213 shared_ptr<FileAsset> fileAsset = nullptr; variable 234 shared_ptr<FileAsset> fileAsset = nullptr; variable 304 shared_ptr<FileAsset> fileAsset = nullptr; variable 349 Uri fileAsset(""); variable 369 Uri fileAsset(""); variable 400 shared_ptr<FileAsset> fileAsset = nullptr; variable 898 Uri fileAsset(""); variable 921 Uri fileAsset(""); variable
|
| /foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/model/ |
| D | MediaUtils.ts | 62 const fileAsset = await fetchFileResult.getAllObject() constant
|
| /foundation/multimedia/media_library/interfaces/kits/js/include/sendable/ |
| D | sendable_fetch_file_result_napi.h | 101 std::unique_ptr<FileAsset> fileAsset; variable
|
| /foundation/multimedia/media_library/interfaces/kits/js/include/ |
| D | fetch_file_result_napi.h | 106 std::unique_ptr<FileAsset> fileAsset; variable
|