| /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 | 158 auto fileAsset = fileFetchResult->GetFirstObject(); variable 186 auto fileAsset = fileFetchResult->GetFirstObject(); variable 362 auto fileAsset = result->GetObjectFromRdb(queryResultSet, 1); variable 378 auto fileAsset = result->GetObjectFromRdb(resultSet, 1); variable
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
| D | medialibrary_audio_operations.cpp | 66 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in Delete() local 109 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, false, AUDIO_COLUMN_VECTOR, pending… in Open() local 130 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, false, AUDIO_COLUMN_VECTOR, pending… in Close() local 149 FileAsset fileAsset; in CreateV9() local 201 FileAsset fileAsset; in CreateV10() local 252 int32_t MediaLibraryAudioOperations::DeleteAudio(const shared_ptr<FileAsset> &fileAsset, MediaLibra… in DeleteAudio() 298 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in UpdateV10() local 345 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in UpdateV9() local
|
| D | medialibrary_photo_operations.cpp | 115 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in Delete() local 308 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, true, PHOTO_COLUMN_VECTOR, pending… in Open() local 338 …shared_ptr<FileAsset> fileAsset = GetFileAssetByUri(uriString, true, PHOTO_COLUMN_VECTOR, pendingS… in Close() local 355 static inline void SetPhotoTypeByRelativePath(const string &relativePath, FileAsset &fileAsset) in SetPhotoTypeByRelativePath() 368 static inline void SetPhotoSubTypeFromCmd(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SetPhotoSubTypeFromCmd() 378 static inline void SetCameraShotKeyFromCmd(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SetCameraShotKeyFromCmd() 390 FileAsset fileAsset; in CreateV9() local 462 …ediaLibraryPhotoOperations::SolvePhotoAlbumInCreate(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SolvePhotoAlbumInCreate() 475 FileAsset fileAsset; in CreateV10() local 525 int32_t MediaLibraryPhotoOperations::DeletePhoto(const shared_ptr<FileAsset> &fileAsset, MediaLibra… in DeletePhoto() [all …]
|
| D | medialibrary_asset_operations.cpp | 339 auto fileAsset = make_shared<FileAsset>(); in FetchFileAssetFromResultSet() local 402 auto fileAsset = FetchFileAssetFromResultSet(resultSet, columns); in GetAssetVectorFromResultSet() local 531 shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); in GetFileAssetByUri() local 575 static string GetAssetPackageName(const FileAsset &fileAsset, const string &bundleName) in GetAssetPackageName() 602 static void FillAssetInfo(MediaLibraryCommand &cmd, const FileAsset &fileAsset) in FillAssetInfo() 641 … MediaLibraryAssetOperations::InsertAssetInDb(MediaLibraryCommand &cmd, const FileAsset &fileAsset) in InsertAssetInDb() 769 int32_t MediaLibraryAssetOperations::SetAssetPathInCreate(FileAsset &fileAsset) in SetAssetPathInCreate() 788 int32_t MediaLibraryAssetOperations::SetAssetPath(FileAsset &fileAsset, const string &extension) in SetAssetPath() 835 const shared_ptr<FileAsset> &fileAsset, bool &isNameChanged) in UpdateFileName() 878 const shared_ptr<FileAsset> &fileAsset) in SetUserComment() [all …]
|
| D | medialibrary_smartalbum_map_operations.cpp | 111 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, row); in HandleAgingOperation() local 146 … shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(assetId)); in MakeRecycleDisplayName() local 295 static int32_t RecycleDir(const shared_ptr<FileAsset> &fileAsset) in RecycleDir() 356 static int32_t RecycleDirAssetsInfoUtil(const shared_ptr<FileAsset> &fileAsset) in RecycleDirAssetsInfoUtil() 373 static int32_t RecycleFile(const shared_ptr<FileAsset> &fileAsset) in RecycleFile() 422 static int32_t RecycleFileAssetsInfoUtil(const shared_ptr<FileAsset> &fileAsset) in RecycleFileAssetsInfoUtil() 439 …shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(fileAssetI… in RemoveTrashAssetsInfoUtil() local 571 …shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(fileAssetI… in InsertTrashAssetsInfoUtil() local
|
| D | medialibrary_object_utils.cpp | 138 const FileAsset &fileAsset, const NativeAlbumAsset &dirAsset) in InsertFileInDb() 199 int32_t MediaLibraryObjectUtils::BuildFileAsset(MediaLibraryCommand &cmd, FileAsset &fileAsset, in BuildFileAsset() 250 FileAsset fileAsset; in CreateFileObj() local 548 int32_t MediaLibraryObjectUtils::DeleteFileObj(const shared_ptr<FileAsset> &fileAsset) in DeleteFileObj() 573 int32_t MediaLibraryObjectUtils::DeleteInfoRecursively(const shared_ptr<FileAsset> &fileAsset) in DeleteInfoRecursively() 787 shared_ptr<FileAsset> fileAsset = GetFileAssetFromUri(uriString); in OpenFile() local 850 auto fileAsset = GetFileAssetFromId(strFileId); in CloseFile() local 1388 auto fileAsset = GetFileAssetFromUri(tempUri); in CheckUriPending() local 1467 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, row); in GetFileResult() local
|
| D | medialibrary_data_manager.cpp | 589 …auto fileAsset = MediaLibraryObjectUtils::GetFileAssetByPredicates(*cmd.GetAbsRdbPredicates(), col… in DeleteInRdbPredicates() local 1246 auto fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(fileId); in RevertPendingByFileId() local
|
| /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/test/unittest/album_count_cover_test/src/ |
| D | album_count_cover_test.cpp | 383 int32_t TrashFileAsset(const unique_ptr<FileAsset> &fileAsset, bool trashState) in TrashFileAsset() 405 int32_t HideFileAsset(const unique_ptr<FileAsset> &fileAsset, bool hiddenState) in HideFileAsset() 471 int32_t AlbumAddAssets(unique_ptr<PhotoAlbum> &album, unique_ptr<FileAsset> &fileAsset) in AlbumAddAssets() 485 int32_t AlbumRemoveAssets(unique_ptr<PhotoAlbum> &album, unique_ptr<FileAsset> &fileAsset) in AlbumRemoveAssets() 554 auto fileAsset = CreateImageAsset("Test_Create_Image_001.jpg"); variable 625 auto fileAsset = CreateImageAsset("Test_Hidden_Image_001.jpg"); variable 679 auto fileAsset = CreateImageAsset("Test_Trash_Image_001.jpg"); variable 746 auto fileAsset = CreateImageAsset("Test_Images_001.jpg"); variable 821 auto fileAsset = CreateImageAsset("Test_Favorites_001.jpg"); variable 903 auto fileAsset = CreateImageAsset("TestUserAlbum001.jpg"); 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 | 223 auto fileAsset = GetFileAssetInstance(); in CheckChangeOperations() local 276 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSGetAsset() local 792 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSSetTitle() local 920 auto fileAsset = changeRequest->GetFileAssetInstance(); in OpenWriteCacheHandler() local 1005 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSGetWriteCacheHandler() local 1019 auto fileAsset = changeRequest->GetFileAssetInstance(); in JSAddResource() local 1346 auto fileAsset = context.objectInfo->GetFileAssetInstance(); in AddPhotoProxyResourceExecute() local 1429 auto fileAsset = context.objectInfo->GetFileAssetInstance(); in SetFavoriteExecute() local 1439 auto fileAsset = context.objectInfo->GetFileAssetInstance(); in SetHiddenExecute() local 1457 auto fileAsset = context.objectInfo->GetFileAssetInstance(); in SetTitleExecute() local [all …]
|
| /foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
| D | mtp_medialibrary_manager.cpp | 99 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectAtPosition(row); in GetHandles() local 148 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in GetHandles() local 181 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in GetObjectInfo() local 185 int32_t MtpMedialibraryManager::SetObjectInfo(const unique_ptr<FileAsset> &fileAsset, in SetObjectInfo() 326 shared_ptr<FileAsset> fileAsset; in GetPathById() local 365 shared_ptr<FileAsset> fileAsset; in SendObjectInfo() local 407 shared_ptr<FileAsset> fileAsset; in MoveObject() local 461 shared_ptr<FileAsset> fileAsset; in SetObjectPropValue() local 500 shared_ptr<FileAsset> fileAsset; in CloseFd() local 628 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 | 136 Uri fileAsset(""); variable 276 shared_ptr<FileAsset> fileAsset = nullptr; variable 461 shared_ptr<FileAsset> fileAsset = nullptr; variable 492 shared_ptr<FileAsset> fileAsset = nullptr; variable 529 shared_ptr<FileAsset> fileAsset = nullptr; variable 557 shared_ptr<FileAsset> fileAsset = nullptr; variable 585 shared_ptr<FileAsset> fileAsset = nullptr; variable 603 shared_ptr<FileAsset> fileAsset = nullptr; variable 657 shared_ptr<FileAsset> fileAsset = nullptr; variable 684 shared_ptr<FileAsset> fileAsset = nullptr; variable [all …]
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_test/src/ |
| D | medialibrary_scanner_test.cpp | 56 shared_ptr<FileAsset> fileAsset = nullptr; variable 147 shared_ptr<FileAsset> fileAsset = nullptr; variable
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_unittest_utils/src/ |
| D | medialibrary_unittest_utils.cpp | 107 bool MediaLibraryUnitTestUtils::GetFileAsset(const int fileId, shared_ptr<FileAsset> &fileAsset) in GetFileAsset() 172 shared_ptr<FileAsset> &fileAsset) in CreateFile() 238 void MediaLibraryUnitTestUtils::TrashFile(shared_ptr<FileAsset> &fileAsset) in TrashFile() 250 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 | 126 shared_ptr<FileAsset> fileAsset = nullptr; variable 181 shared_ptr<FileAsset> fileAsset = nullptr; variable 202 shared_ptr<FileAsset> fileAsset = nullptr; variable 223 shared_ptr<FileAsset> fileAsset = nullptr; variable 293 shared_ptr<FileAsset> fileAsset = nullptr; variable 338 Uri fileAsset(""); variable 358 Uri fileAsset(""); variable 389 shared_ptr<FileAsset> fileAsset = nullptr; variable 887 Uri fileAsset(""); variable 910 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/ |
| D | fetch_file_result_napi.h | 106 std::unique_ptr<FileAsset> fileAsset; variable
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
| D | fetch_result.cpp | 365 void FetchResult<T>::SetAssetUri(FileAsset *fileAsset) in SetAssetUri() 399 void FetchResult<T>::SetFileAsset(FileAsset *fileAsset, shared_ptr<NativeRdb::ResultSet> &resultSet) in SetFileAsset()
|
| /foundation/multimedia/media_library/frameworks/services/media_file_extension/src/ |
| D | media_file_extention_utils.cpp | 1118 int32_t HandleFileRename(const shared_ptr<FileAsset> &fileAsset) in HandleFileRename() 1199 int32_t HandleAlbumRename(const shared_ptr<FileAsset> &fileAsset) in HandleAlbumRename() 1247 auto fileAsset = make_shared<FileAsset>(); in Rename() local 1281 int32_t HandleFileMove(const shared_ptr<FileAsset> &fileAsset, const string &destRelativePath) in HandleFileMove() 1309 int32_t UpdateMovedAlbumInfo(const shared_ptr<FileAsset> &fileAsset, const string &bucketId, const … in UpdateMovedAlbumInfo() 1325 int32_t HandleAlbumMove(const shared_ptr<FileAsset> &fileAsset, const string &destRelativePath, con… in HandleAlbumMove() 1393 bool CheckRootDir(const shared_ptr<FileAsset> &fileAsset, const string &destRelPath) in CheckRootDir() 1441 auto fileAsset = make_shared<FileAsset>(); in Move() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_object_test/src/ |
| D | medialibrary_object_test.cpp | 406 std::shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); variable 490 FileAsset fileAsset; variable
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_manager_test/src/ |
| D | media_library_manager_test.cpp | 187 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in ClearFile() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialib_statistic_test/src/ |
| D | media_space_statistics_test.cpp | 237 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetLastObject(); in GetFile() local 289 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in ClearFile() local
|
| /foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/ |
| D | CameraService.ts | 60 private fileAsset: photoAccessHelper.PhotoAsset | undefined = undefined; property in CameraService
|