/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | fetch_file_result_napi.cpp | 168 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 D | album_napi.cpp | 178 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 D | photo_album_napi.cpp | 126 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 D | file_asset_napi.cpp | 341 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 D | smart_album_napi.cpp | 160 … 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 D | sendable_fetch_file_result_napi.cpp | 134 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 D | sendable_photo_album_napi.cpp | 91 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 D | sendable_file_asset_napi.cpp | 202 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 D | sendable_fetch_file_result_napi.h | 63 …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 D | napi_common_define.h | 70 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 D | fetch_file_result_napi.h | 66 …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 D | update_module.cpp | 283 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()
|