/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | album_asset.cpp | 27 AlbumAsset::AlbumAsset() in AlbumAsset() function in OHOS::Media::AlbumAsset 41 AlbumAsset::~AlbumAsset() = default; 64 void AlbumAsset::SetCount(const int32_t count) in SetCount() 88 int32_t AlbumAsset::GetAlbumId() const in GetAlbumId() 93 string AlbumAsset::GetAlbumName() const in GetAlbumName() 98 string AlbumAsset::GetAlbumUri() const in GetAlbumUri() 108 int32_t AlbumAsset::GetCount() const in GetCount() 113 string AlbumAsset::GetAlbumRelativePath() const in GetAlbumRelativePath() 118 string AlbumAsset::GetCoverUri() const in GetCoverUri() 123 string AlbumAsset::GetAlbumPath() const in GetAlbumPath() [all …]
|
H A D | fetch_result.cpp | 107 } else if (std::is_same<T, AlbumAsset>::value) { in FetchResult() 464 void FetchResult<T>::GetObjectFromResultSet(AlbumAsset *asset, shared_ptr<NativeRdb::ResultSet> &re… in GetObjectFromResultSet() 508 static void SetCompatAlbumName(AlbumAsset *albumData) in SetCompatAlbumName() 526 void FetchResult<T>::SetAlbumAsset(AlbumAsset *albumData, shared_ptr<NativeRdb::ResultSet> &resultS… in SetAlbumAsset() 623 template class FetchResult<AlbumAsset>;
|
/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/ |
H A D | sendable_fetch_file_result_napi.h | 38 std::shared_ptr<FetchResult<AlbumAsset>> fetchAlbumResult_ = nullptr; 52 …static napi_value CreateFetchFileResult(napi_env env, std::unique_ptr<FetchResult<AlbumAsset>> fil… 56 std::shared_ptr<FetchResult<AlbumAsset>> GetFetchAlbumResultObject(); 64 …static void SolveConstructorRef(unique_ptr<FetchResult<AlbumAsset>> &fileResult, napi_ref &constru… 86 … static inline thread_local std::unique_ptr<FetchResult<AlbumAsset>> sFetchAlbumResult_ = nullptr; 102 std::unique_ptr<AlbumAsset> albumAsset; 106 std::vector<std::unique_ptr<AlbumAsset>> fileAlbumArray;
|
H A D | sendable_photo_access_helper_napi.h | 130 std::unique_ptr<FetchResult<AlbumAsset>> fetchAlbumResult; 141 std::vector<std::unique_ptr<AlbumAsset>> albumNativeArray;
|
/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/ |
H A D | fetch_file_result_napi.h | 39 std::shared_ptr<FetchResult<AlbumAsset>> fetchAlbumResult_ = nullptr; 55 …static napi_value CreateFetchFileResult(napi_env env, std::unique_ptr<FetchResult<AlbumAsset>> fil… 59 std::shared_ptr<FetchResult<AlbumAsset>> GetFetchAlbumResultObject(); 67 …static void SolveConstructorRef(unique_ptr<FetchResult<AlbumAsset>> &fileResult, napi_ref &constru… 91 … static inline thread_local std::unique_ptr<FetchResult<AlbumAsset>> sFetchAlbumResult_ = nullptr; 107 std::unique_ptr<AlbumAsset> albumAsset; 111 std::vector<std::unique_ptr<AlbumAsset>> fileAlbumArray;
|
H A D | album_napi.h | 53 EXPORT static napi_value CreateAlbumNapi(napi_env env, std::unique_ptr<AlbumAsset> &albumData); 98 static thread_local AlbumAsset *sAlbumData_; 99 std::shared_ptr<AlbumAsset> albumAssetPtr = nullptr; 107 std::shared_ptr<AlbumAsset> objectPtr;
|
H A D | media_library_napi.h | 420 std::unique_ptr<FetchResult<AlbumAsset>> fetchAlbumResult; 432 std::vector<std::unique_ptr<AlbumAsset>> albumNativeArray;
|
/ohos5.0/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | album_asset.h | 34 class AlbumAsset { 36 EXPORT AlbumAsset(); 37 EXPORT virtual ~AlbumAsset();
|
H A D | fetch_result.h | 79 void SetAlbumAsset(AlbumAsset* albumData, std::shared_ptr<NativeRdb::ResultSet> &resultSet); 85 void GetObjectFromResultSet(AlbumAsset *asset, shared_ptr<NativeRdb::ResultSet> &resultSet);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | album_asset_test.cpp | 37 unique_ptr<AlbumAsset> albumAsset = make_unique<AlbumAsset>();
|
H A D | fetch_result_test.cpp | 157 auto albumFetchResult = make_shared<FetchResult<AlbumAsset>>(GetFetchResult()); 185 auto albumFetchResult = make_shared<FetchResult<AlbumAsset>>(GetFetchResult());
|
/ohos5.0/foundation/multimedia/media_library/ |
H A D | README_zh.md | 84 3. 创建一个 **AlbumAsset** 并提供相册名称。如下 "new_video" 相册将在 "/storage/media/local/files/videos" 内被创建。 86 AlbumAsset albumAsset;
|
H A D | README.md | 85 3. Create a new **AlbumAsset** object and provide a new album name. Below album "new_video" will ge… 87 AlbumAsset albumAsset;
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_fetch_file_result_napi.cpp | 65 …auto albumResult = make_shared<FetchResult<AlbumAsset>>(move(sFetchAlbumResult_->GetDataShareResul… in GetFetchResult() 148 void SendableFetchFileResultNapi::SolveConstructorRef(unique_ptr<FetchResult<AlbumAsset>> &fileResu… in SolveConstructorRef() 218 unique_ptr<FetchResult<AlbumAsset>> fileResult) in CreateFetchFileResult() 531 static napi_value GetAsset(napi_env env, vector<std::unique_ptr<AlbumAsset>> &array, int index) in GetAsset() 618 std::shared_ptr<FetchResult<AlbumAsset>> SendableFetchFileResultNapi::GetFetchAlbumResultObject() in GetFetchAlbumResultObject()
|
H A D | sendable_photo_access_helper_napi.cpp | 361 static void SetCompatAlbumName(AlbumAsset *albumData) in SetCompatAlbumName() 377 static void SetAlbumCoverUri(SendablePhotoAccessHelperAsyncContext *context, unique_ptr<AlbumAsset>… in SetAlbumCoverUri() 410 void SetAlbumData(AlbumAsset* albumData, shared_ptr<DataShare::DataShareResultSet> resultSet, in SetAlbumData()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | fetch_file_result_napi.cpp | 99 …auto albumResult = make_shared<FetchResult<AlbumAsset>>(move(sFetchAlbumResult_->GetDataShareResul… in GetFetchResult() 185 void FetchFileResultNapi::SolveConstructorRef(unique_ptr<FetchResult<AlbumAsset>> &fileResult, in SolveConstructorRef() 256 …FileResultNapi::CreateFetchFileResult(napi_env env, unique_ptr<FetchResult<AlbumAsset>> fileResult) in CreateFetchFileResult() 724 static napi_value GetAsset(napi_env env, vector<std::unique_ptr<AlbumAsset>> &array, int index) in GetAsset() 811 std::shared_ptr<FetchResult<AlbumAsset>> FetchFileResultNapi::GetFetchAlbumResultObject() in GetFetchAlbumResultObject()
|
H A D | album_napi.cpp | 36 thread_local AlbumAsset *AlbumNapi::sAlbumData_ = nullptr; 137 albumAssetPtr = std::shared_ptr<AlbumAsset>(sAlbumData_); in SetAlbumNapiProperties() 171 napi_value AlbumNapi::CreateAlbumNapi(napi_env env, unique_ptr<AlbumAsset> &albumData) in CreateAlbumNapi()
|
H A D | media_library_napi.cpp | 1203 static void CompatSetAlbumCoverUri(MediaLibraryAsyncContext *context, unique_ptr<AlbumAsset> &album) in CompatSetAlbumCoverUri() 1242 static void SetCompatAlbumName(AlbumAsset *albumData) in SetCompatAlbumName() 1258 static void CompatSetAlbumCount(unique_ptr<AlbumAsset> &album) in CompatSetAlbumCount() 1288 static void SetAlbumCoverUri(MediaLibraryAsyncContext *context, unique_ptr<AlbumAsset> &album) in SetAlbumCoverUri() 1321 void SetAlbumData(AlbumAsset* albumData, shared_ptr<DataShare::DataShareResultSet> resultSet, in SetAlbumData() 1358 context->fetchAlbumResult = make_unique<FetchResult<AlbumAsset>>(move(resultSet)); in GetAlbumResult() 1365 unique_ptr<AlbumAsset> albumData = make_unique<AlbumAsset>(); in GetAlbumResult() 3627 auto albumData = make_unique<AlbumAsset>(); in CompatGetPrivateAlbumExecute()
|