Home
last modified time | relevance | path

Searched refs:constructorRef (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dfetch_file_result_napi.cpp168 napi_ref &constructorRef) in SolveConstructorRef() argument
180 constructorRef = sConstructor_; in SolveConstructorRef()
186 napi_ref &constructorRef) in SolveConstructorRef() argument
198 constructorRef = sConstructor_; in SolveConstructorRef()
204 napi_ref &constructorRef) in SolveConstructorRef() argument
216 constructorRef = sConstructor_; in SolveConstructorRef()
222 napi_ref &constructorRef) in SolveConstructorRef() argument
244 napi_ref constructorRef; in CreateFetchFileResult() local
261 napi_ref constructorRef; in CreateFetchFileResult() local
277 napi_ref constructorRef; in CreateFetchFileResult() local
[all …]
H A Dalbum_napi.cpp178 napi_ref constructorRef; in CreateAlbumNapi() local
180 constructorRef = userFileMgrConstructor_; in CreateAlbumNapi()
182 constructorRef = photoAccessHelperConstructor_; in CreateAlbumNapi()
184 constructorRef = sConstructor_; in CreateAlbumNapi()
186 NAPI_CALL(env, napi_get_reference_value(env, constructorRef, &constructor)); in CreateAlbumNapi()
H A Dphoto_album_napi.cpp126 napi_ref constructorRef; in CreatePhotoAlbumNapi() local
128 constructorRef = photoAccessConstructor_; in CreatePhotoAlbumNapi()
130 constructorRef = constructor_; in CreatePhotoAlbumNapi()
132 CHECK_ARGS(env, napi_get_reference_value(env, constructorRef, &constructor), JS_INNER_FAIL); in CreatePhotoAlbumNapi()
H A Dfile_asset_napi.cpp341 napi_ref constructorRef = nullptr; in AttachCreateFileAsset() local
349 constructorRef = userFileMgrConstructor_; in AttachCreateFileAsset()
356 constructorRef = photoAccessHelperConstructor_; in AttachCreateFileAsset()
358 if (constructorRef == nullptr) { in AttachCreateFileAsset()
361 napi_status status = napi_get_reference_value(env, constructorRef, &constructor); in AttachCreateFileAsset()
379 napi_ref constructorRef; in CreateFileAsset() local
381 constructorRef = userFileMgrConstructor_; in CreateFileAsset()
383 constructorRef = photoAccessHelperConstructor_; in CreateFileAsset()
385 constructorRef = sConstructor_; in CreateFileAsset()
388 NAPI_CALL(env, napi_get_reference_value(env, constructorRef, &constructor)); in CreateFileAsset()
H A Dsmart_album_napi.cpp160 … napi_ref constructorRef = (albumData->GetResultNapiType() == ResultNapiType::TYPE_MEDIALIBRARY) ? in CreateSmartAlbumNapi() local
162 NAPI_CALL(env, napi_get_reference_value(env, constructorRef, &constructor)); in CreateSmartAlbumNapi()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/sendable/
H A Dsendable_fetch_file_result_napi.cpp134 napi_ref &constructorRef) in SolveConstructorRef() argument
143 constructorRef = nullptr; in SolveConstructorRef()
149 napi_ref &constructorRef) in SolveConstructorRef() argument
158 constructorRef = nullptr; in SolveConstructorRef()
164 napi_ref &constructorRef) in SolveConstructorRef() argument
173 constructorRef = nullptr; in SolveConstructorRef()
179 napi_ref &constructorRef) in SolveConstructorRef() argument
205 napi_ref constructorRef; in CreateFetchFileResult() local
229 napi_ref constructorRef; in CreateFetchFileResult() local
252 napi_ref constructorRef; in CreateFetchFileResult() local
[all …]
H A Dsendable_photo_album_napi.cpp91 napi_ref constructorRef = photoAccessConstructor_; in CreatePhotoAlbumNapi() local
93 CHECK_ARGS(env, napi_get_reference_value(env, constructorRef, &constructor), JS_INNER_FAIL); in CreatePhotoAlbumNapi()
H A Dsendable_file_asset_napi.cpp202 napi_ref constructorRef; in CreateFileAsset() local
204 constructorRef = photoAccessHelperConstructor_; in CreateFileAsset()
210 NAPI_CALL(env, napi_get_reference_value(env, constructorRef, &constructor)); in CreateFileAsset()
/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/
H A Dsendable_fetch_file_result_napi.h63 …void SolveConstructorRef(unique_ptr<FetchResult<FileAsset>> &fileResult, napi_ref &constructorRef);
64 …oid SolveConstructorRef(unique_ptr<FetchResult<AlbumAsset>> &fileResult, napi_ref &constructorRef);
65 …olveConstructorRef(unique_ptr<FetchResult<SmartAlbumAsset>> &fileResult, napi_ref &constructorRef);
66 …oid SolveConstructorRef(unique_ptr<FetchResult<PhotoAlbum>> &fileResult, napi_ref &constructorRef);
/ohos5.0/base/update/updateservice/frameworks/js/napi/session/include/
H A Dnapi_common_define.h70 napi_ref *constructorRef; member
76 T *CreateJsObject(napi_env env, napi_callback_info info, napi_ref constructorRef, napi_value &jsObj… in CreateJsObject() argument
79 napi_status status = napi_get_reference_value(env, constructorRef, &constructor); in CreateJsObject()
/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dfetch_file_result_napi.h66 …void SolveConstructorRef(unique_ptr<FetchResult<FileAsset>> &fileResult, napi_ref &constructorRef);
67 …oid SolveConstructorRef(unique_ptr<FetchResult<AlbumAsset>> &fileResult, napi_ref &constructorRef);
68 …olveConstructorRef(unique_ptr<FetchResult<SmartAlbumAsset>> &fileResult, napi_ref &constructorRef);
69 …oid SolveConstructorRef(unique_ptr<FetchResult<PhotoAlbum>> &fileResult, napi_ref &constructorRef);
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/src/
H A Dupdate_module.cpp283 status = napi_create_reference(env, result, refCount, nativeClass.constructorRef); in DefineClass()
297 .constructorRef = &g_restorerConstructorRef, in DefineRestorer()
317 .constructorRef = &g_localUpdaterConstructorRef, in DefineLocalUpdater()
349 .constructorRef = &g_updateClientConstructorRef, in DefineUpdateClient()