| /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 473 shared_ptr <FileAsset> fileAsset = make_shared<FileAsset>(); variable
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/command/ |
| D | recv_command_v10.cpp | 36 static bool GetWriteFilePath(const ExecEnv &env, const FileAsset &fileAsset, std::string &wFilePath) in GetWriteFilePath() 56 static int32_t RecvFile(const ExecEnv &env, const FileAsset &fileAsset) in RecvFile() 108 auto fileAsset = fetchResult->GetFirstObject(); in RecvAsset() local 135 auto fileAsset = fetchResult->GetObjectAtPosition(index); in RecvAssets() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
| D | medialibrary_audio_operations.cpp | 66 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(AudioColumn::MEDIA_ID, in Delete() local 145 shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); in Open() local 193 shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); in Close() local 236 FileAsset fileAsset; in CreateV9() local 288 FileAsset fileAsset; in CreateV10() local 339 int32_t MediaLibraryAudioOperations::DeleteAudio(const shared_ptr<FileAsset> &fileAsset, MediaLibra… in DeleteAudio() 385 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in UpdateV10() local 432 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(*(cmd.GetAbsRdbPredicates()), in UpdateV9() local
|
| D | medialibrary_photo_operations.cpp | 78 shared_ptr<FileAsset> fileAsset = GetFileAssetFromDb(PhotoColumn::MEDIA_ID, in Delete() local 278 shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); in Open() local 326 shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); in Close() local 367 static inline void SetPhotoTypeByRelativePath(const string &relativePath, FileAsset &fileAsset) in SetPhotoTypeByRelativePath() 380 static inline void SetPhotoSubTypeFromCmd(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SetPhotoSubTypeFromCmd() 390 static inline void SetCameraShotKeyFromCmd(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SetCameraShotKeyFromCmd() 402 FileAsset fileAsset; in CreateV9() local 473 …ediaLibraryPhotoOperations::SolvePhotoAlbumInCreate(MediaLibraryCommand &cmd, FileAsset &fileAsset) in SolvePhotoAlbumInCreate() 486 FileAsset fileAsset; in CreateV10() local 535 int32_t MediaLibraryPhotoOperations::DeletePhoto(const shared_ptr<FileAsset> &fileAsset, MediaLibra… in DeletePhoto() [all …]
|
| D | medialibrary_asset_operations.cpp | 265 auto fileAsset = make_shared<FileAsset>(); in GetAssetFromResultSet() local 367 static string GetAssetPackageName(const FileAsset &fileAsset, const string &bundleName) in GetAssetPackageName() 380 static void FillAssetInfo(MediaLibraryCommand &cmd, const FileAsset &fileAsset) in FillAssetInfo() 416 … MediaLibraryAssetOperations::InsertAssetInDb(MediaLibraryCommand &cmd, const FileAsset &fileAsset) in InsertAssetInDb() 546 int32_t MediaLibraryAssetOperations::SetAssetPathInCreate(FileAsset &fileAsset) in SetAssetPathInCreate() 565 int32_t MediaLibraryAssetOperations::SetAssetPath(FileAsset &fileAsset, const string &extension) in SetAssetPath() 635 const shared_ptr<FileAsset> &fileAsset, bool &isNameChanged) in UpdateFileName() 678 const shared_ptr<FileAsset> &fileAsset) in SetUserComment() 716 const shared_ptr<FileAsset> &fileAsset, bool &isNameChanged) in UpdateRelativePath() 747 const shared_ptr<FileAsset> &fileAsset) in UpdateVirtualPath() [all …]
|
| D | medialibrary_smartalbum_map_operations.cpp | 111 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, row); in HandleAgingOperation() local 143 … shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(assetId)); in MakeRecycleDisplayName() local 292 static int32_t RecycleDir(const shared_ptr<FileAsset> &fileAsset) in RecycleDir() 352 static int32_t RecycleDirAssetsInfoUtil(const shared_ptr<FileAsset> &fileAsset) in RecycleDirAssetsInfoUtil() 369 static int32_t RecycleFile(const shared_ptr<FileAsset> &fileAsset) in RecycleFile() 417 static int32_t RecycleFileAssetsInfoUtil(const shared_ptr<FileAsset> &fileAsset) in RecycleFileAssetsInfoUtil() 434 …shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(fileAssetI… in RemoveTrashAssetsInfoUtil() local 566 …shared_ptr<FileAsset> fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(to_string(fileAssetI… in InsertTrashAssetsInfoUtil() local
|
| D | medialibrary_object_utils.cpp | 134 const FileAsset &fileAsset, const NativeAlbumAsset &dirAsset) in InsertFileInDb() 202 FileAsset fileAsset; in CreateFileObj() local 487 int32_t MediaLibraryObjectUtils::DeleteFileObj(const shared_ptr<FileAsset> &fileAsset) in DeleteFileObj() 512 int32_t MediaLibraryObjectUtils::DeleteInfoRecursively(const shared_ptr<FileAsset> &fileAsset) in DeleteInfoRecursively() 702 shared_ptr<FileAsset> fileAsset = GetFileAssetFromUri(uriString); in OpenFile() local 765 auto fileAsset = GetFileAssetFromId(strFileId); in CloseFile() local 1339 auto fileAsset = GetFileAssetFromUri(tempUri); in CheckUriPending() local 1418 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, row); in GetFileResult() local
|
| D | medialibrary_data_manager.cpp | 527 …auto fileAsset = MediaLibraryObjectUtils::GetFileAssetByPredicates(*cmd.GetAbsRdbPredicates(), col… in Delete() local 1055 auto fileAsset = MediaLibraryObjectUtils::GetFileAssetFromId(fileId); in RevertPendingByFileId() 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 | 133 Uri fileAsset(""); variable 264 shared_ptr<FileAsset> fileAsset = nullptr; variable 448 shared_ptr<FileAsset> fileAsset = nullptr; variable 479 shared_ptr<FileAsset> fileAsset = nullptr; variable 516 shared_ptr<FileAsset> fileAsset = nullptr; variable 544 shared_ptr<FileAsset> fileAsset = nullptr; variable 572 shared_ptr<FileAsset> fileAsset = nullptr; variable 590 shared_ptr<FileAsset> fileAsset = nullptr; variable 644 shared_ptr<FileAsset> fileAsset = nullptr; variable 671 shared_ptr<FileAsset> fileAsset = nullptr; variable [all …]
|
| /foundation/multimedia/player_framework/test/jstest/ |
| D | MediaTestBase.js | 101 fileAsset : null, property 137 export async function closeFd(fileAsset, fdNumber) { argument
|
| /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 337 Uri fileAsset(""); variable 357 Uri fileAsset(""); variable 387 shared_ptr<FileAsset> fileAsset = nullptr; variable 436 shared_ptr<FileAsset> fileAsset = nullptr; variable 926 Uri fileAsset(""); 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 | 105 bool MediaLibraryUnitTestUtils::GetFileAsset(const int fileId, shared_ptr<FileAsset> &fileAsset) in GetFileAsset() 170 shared_ptr<FileAsset> &fileAsset) in CreateFile() 235 void MediaLibraryUnitTestUtils::TrashFile(shared_ptr<FileAsset> &fileAsset) in TrashFile() 247 void MediaLibraryUnitTestUtils::RecoveryFile(shared_ptr<FileAsset> &fileAsset) in RecoveryFile()
|
| /foundation/multimedia/media_library/interfaces/kits/js/include/ |
| D | fetch_file_result_napi.h | 105 std::unique_ptr<FileAsset> fileAsset; variable
|
| D | media_library_napi.h | 305 std::unique_ptr<FileAsset> fileAsset; member
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
| D | fetch_result.cpp | 323 void FetchResult<T>::SetAssetUri(FileAsset *fileAsset) in SetAssetUri() 357 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 | 1127 int32_t HandleFileRename(const shared_ptr<FileAsset> &fileAsset) in HandleFileRename() 1208 int32_t HandleAlbumRename(const shared_ptr<FileAsset> &fileAsset) in HandleAlbumRename() 1256 auto fileAsset = make_shared<FileAsset>(); in Rename() local 1290 int32_t HandleFileMove(const shared_ptr<FileAsset> &fileAsset, const string &destRelativePath) in HandleFileMove() 1318 int32_t UpdateMovedAlbumInfo(const shared_ptr<FileAsset> &fileAsset, const string &bucketId, const … in UpdateMovedAlbumInfo() 1334 int32_t HandleAlbumMove(const shared_ptr<FileAsset> &fileAsset, const string &destRelativePath, con… in HandleAlbumMove() 1402 bool CheckRootDir(const shared_ptr<FileAsset> &fileAsset, const string &destRelPath) in CheckRootDir() 1453 auto fileAsset = make_shared<FileAsset>(); in Move() local
|
| /foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/ |
| D | CameraService.ts | 51 private fileAsset: mediaLibrary.FileAsset = undefined; property in CameraService
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_object_test/src/ |
| D | medialibrary_object_test.cpp | 422 std::shared_ptr<FileAsset> fileAsset = make_shared<FileAsset>(); variable 506 FileAsset fileAsset; variable
|
| /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 288 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in ClearFile() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_audio_operations_test/src/ |
| D | medialibrary_audio_operations_test.cpp | 217 string GetFileAssetValueToStr(FileAsset &fileAsset, const string &column) in GetFileAssetValueToStr() 287 auto fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, 0); in QueryAudioAsset() local 297 auto fileAsset = QueryAudioAsset(columnName, value); in QueryAndVerifyAudioAsset() local
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/ |
| D | medialibrary_photo_operations_test.cpp | 218 string GetFileAssetValueToStr(FileAsset &fileAsset, const string &column) in GetFileAssetValueToStr() 288 auto fileAsset = fetchFileResult->GetObjectFromRdb(resultSet, 0); in QueryPhotoAsset() local 298 auto fileAsset = QueryPhotoAsset(columnName, value); in QueryAndVerifyPhotoAsset() local
|
| /foundation/multimedia/media_library/frameworks/js/src/ |
| D | media_library_napi.cpp | 1111 auto fileAsset = fetchResult->GetFirstObject(); in CompatSetAlbumCoverUri() local 1190 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in SetAlbumCoverUri() local 1531 unique_ptr<FileAsset> fileAsset = context->fetchFileResult->GetFirstObject(); in getFileAssetById() local 1552 unique_ptr<FileAsset> fileAsset = make_unique<FileAsset>(); in SetFileAssetByIdV9() local 1583 unique_ptr<FileAsset> fileAsset = make_unique<FileAsset>(); in SetFileAssetByIdV10() local 1604 auto fileAsset = make_unique<FileAsset>(); in PhotoAccessSetFileAssetByIdV10() local 2953 unique_ptr<FileAsset> fileAsset = fetchFileResult->GetFirstObject(); in SetSmartAlbumCoverUri() local 4742 auto fileAsset = context->fetchFileResult->GetFirstObject(); in GetPhotoIndexAsyncCallbackComplete() local
|