Home
last modified time | relevance | path

Searched refs:napi_get_null (Results 1 – 25 of 167) sorted by relevance

1234567

/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account_common.cpp177 napi_get_null(env, &errJs); in QueryOAByIdCallbackCompletedCB()
181 napi_get_null(env, &dataJs); in QueryOAByIdCallbackCompletedCB()
341 napi_get_null(env, &errJs); in RemoveOACallbackCompletedCB()
342 napi_get_null(env, &dataJs); in RemoveOACallbackCompletedCB()
345 napi_get_null(env, &dataJs); in RemoveOACallbackCompletedCB()
397 napi_get_null(env, &errJs); in SetOANameCallbackCompletedCB()
398 napi_get_null(env, &dataJs); in SetOANameCallbackCompletedCB()
401 napi_get_null(env, &dataJs); in SetOANameCallbackCompletedCB()
466 napi_get_null(env, &errJs); in SetOAConsCallbackCompletedCB()
496 napi_get_null(env, &errJs); in ActivateOACallbackCompletedCB()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/
H A Dnative_module_uri.cpp184 napi_get_null(env, &result); in AddQueryValue()
208 napi_get_null(env, &result); in AddSegment()
225 napi_get_null(env, &result); in GetSegment()
247 napi_get_null(env, &result); in GetScheme()
264 napi_get_null(env, &result); in GetAuthority()
294 napi_get_null(env, &result); in GetUserinfo()
311 napi_get_null(env, &result); in GetHost()
341 napi_get_null(env, &result); in GetPath()
358 napi_get_null(env, &result); in GetQuery()
375 napi_get_null(env, &result); in GetFragment()
[all …]
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Duniform_type_descriptor_napi.cpp84 napi_get_null(env, &ctxt->output); in GetTypeDescriptor()
122 napi_get_null(env, &ctxt->output); in GetUniformDataTypeByFilenameExtension()
160 napi_get_null(env, &ctxt->output); in GetUniformDataTypeByMIMEType()
197 napi_get_null(env, &ctxt->output); in GetMultiUniformDataTypesByFilenameExtension()
233 napi_get_null(env, &ctxt->output); in GetMultiUniformDataTypesByMIMEType()
/ohos5.0/base/web/webview/interfaces/kits/napi/webasynccontroller/
H A Dnapi_web_async_controller.cpp205 napi_get_null(env, &jsResult); in StoreWebArchiveCallback()
232 napi_get_null(env, &jsResult); in StoreWebArchiveCallback()
253 napi_get_null(env, &jsResult); in StoreWebArchivePromise()
278 napi_get_null(env, &jsResult); in StoreWebArchivePromise()
/ohos5.0/base/account/os_account/interfaces/kits/napi/domain_account/src/
H A Dnapi_domain_server_manager.cpp117 napi_get_null(env, &dataJs); in AddServerConfigCompletedCB()
180 napi_get_null(env, &errJs); in RemoveServerConfigCompletedCB()
184 napi_get_null(env, &dataJs); in RemoveServerConfigCompletedCB()
251 napi_get_null(env, &dataJs); in GetAccountServerConfigCompletedCB()
/ohos5.0/base/account/os_account/interfaces/kits/napi/account_iam/src/
H A Dnapi_account_iam_common.cpp430 napi_get_null(env, &dataJs); in CreateExecutorProperty()
434 napi_get_null(env, &errJs); in CreateExecutorProperty()
615 napi_get_null(env, &callbackInfo.dataJs); in OnCredentialInfo()
617 napi_get_null(env, &callbackInfo.errJs); in OnCredentialInfo()
662 napi_get_null(env, &dataJs); in OnEnrolledId()
664 napi_get_null(env, &errJs); in OnEnrolledId()
840 napi_get_null(env, &dataJs); in OnResult()
842 napi_get_null(env, &errJs); in OnResult()
843 napi_get_null(env, &dataJs); in OnResult()
892 napi_get_null(env, &callbackInfo.dataJs); in OnResult()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/focus_controller/
H A Djs_focus_controller.cpp85 napi_get_null(env, &obj); in JSRequestFocus()
134 napi_get_null(env, &obj); in JSActivate()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/shortcut_manager/
H A Dshortcut_manager.cpp72 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in AddDesktopShortcutInfoComplete()
152 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in DeleteDesktopShortcutInfoComplete()
236 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in GetAllDesktopShortcutInfoComplete()
/ohos5.0/foundation/filemanagement/user_file_service/test/unittest/mock/
H A Dassistant.h54 virtual napi_status napi_get_null(napi_env, napi_value*) = 0;
89 MOCK_METHOD2(napi_get_null, napi_status(napi_env, napi_value*));
H A Djs_native_api_mock.cpp106 napi_status napi_get_null(napi_env env, napi_value* result) in napi_get_null() function
108 return OHOS::FileAccessFwk::Assistant::ins_->napi_get_null(env, result); in napi_get_null()
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/napi/include/
H A Dnapi_mock.h51 virtual napi_status napi_get_null(napi_env, napi_value*) = 0;
87 MOCK_METHOD2(napi_get_null, napi_status(napi_env, napi_value*));
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-about-primitive.md25 | napi_get_null | 用于获取ArkTS null。 |
346 ### napi_get_null subsection
358 napi_get_null(env, &nullValue);
377 hilog.info(0x0000, 'testTag', 'Test Node-API napi_get_null:%{public}s', value);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dfree_install.cpp90 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in IsHapModuleRemovableComplete()
95 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_SIZE_ONE])); in IsHapModuleRemovableComplete()
183 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in SetHapModuleUpgradeFlagComplete()
585 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in GetBundlePackInfoComplete()
591 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_SIZE_ONE])); in GetBundlePackInfoComplete()
698 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in GetDispatchInfoComplete()
704 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_SIZE_ONE])); in GetDispatchInfoComplete()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/animator/
H A Djs_animator.cpp317 napi_get_null(env, &result); in JSReset()
358 napi_get_null(env, &result); in JSPlay()
371 napi_get_null(env, &result); in JSFinish()
384 napi_get_null(env, &result); in JSPause()
397 napi_get_null(env, &result); in JSCancel()
430 napi_get_null(env, &result); in JSReverse()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/
H A Dbundle_resource.cpp81 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &nDrawableDescriptor)); in ConvertBundleResourceInfo()
149 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &nDrawableDescriptor)); in ConvertLauncherAbilityResourceInfo()
349 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in GetAllBundleResourceInfoComplete()
443 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in GetAllLauncherAbilityResourceInfoComplete()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/
H A Dlauncher_bundle_manager.cpp91 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in GetLauncherAbilityInfoComplete()
222 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in GetAllLauncherAbilityInfoComplete()
305 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in GetShortcutInfoComplete()
448 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in StartShortcutComplete()
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DBaseObjectJS.cpp204 napi_get_null(jsobj.GetEnv(), &val); in StoreJsObj()
211 napi_get_null(env, &null); in CreateFromNativeInstance()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/
H A Dnapi_data_ability_helper_utils.cpp57 NAPI_CALL(env, napi_get_null(env, &result)); in InsertAsync()
175 NAPI_CALL(env, napi_get_null(env, &result)); in NotifyChangeAsync()
290 NAPI_CALL(env, napi_get_null(env, &result)); in GetTypeAsync()
407 NAPI_CALL(env, napi_get_null(env, &result)); in GetFileTypesAsync()
549 NAPI_CALL(env, napi_get_null(env, &result)); in NormalizeUriAsync()
667 NAPI_CALL(env, napi_get_null(env, &result)); in DenormalizeUriAsync()
787 NAPI_CALL(env, napi_get_null(env, &result)); in DeleteAsync()
902 NAPI_CALL(env, napi_get_null(env, &result)); in UpdateAsync()
1063 NAPI_CALL(env, napi_get_null(env, &result)); in CallErrorAsync()
1237 NAPI_CALL(env, napi_get_null(env, &result)); in CallAsync()
[all …]
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/inc/
H A Dnapi_common.h50 NAPI_CALL(env, napi_get_null(env, &result)); in NapiGetNull()
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-about-primitive.md25 | napi_get_null | Obtains the ArkTS **null**.|
346 ### napi_get_null subsection
348 Use **napi_get_null** to obtains **null** in ArkTS.
358 napi_get_null(env, &nullValue);
377 hilog.info(0x0000, 'testTag', 'Test Node-API napi_get_null:%{public}s', value);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dbundle_manager.cpp382 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in GetBundleNameByUidComplete()
974 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in QueryAbilityInfosComplete()
1094 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in BatchQueryAbilityInfosComplete()
1350 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in QueryExtensionInfosComplete()
1505 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in GetAbilityLabelComplete()
1591 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in GetAbilityIconComplete()
1677 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in SetApplicationEnabledComplete()
1816 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in SetAbilityEnabledComplete()
1927 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in IsApplicationEnabledComplete()
2012 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[0])); in IsAbilityEnabledComplete()
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/napi/src/
H A Dnapi_mock.cpp100 napi_status napi_get_null(napi_env env, napi_value* result) in napi_get_null() function
102 return OHOS::FileManagement::Backup::Napi::napi->napi_get_null(env, result); in napi_get_null()
/ohos5.0/base/security/access_token/interfaces/kits/napi/common/src/
H A Dnapi_error.cpp80 NAPI_CALL(env, napi_get_null(env, &result)); in GetNapiNull()
/ohos5.0/base/customization/enterprise_device_management/interfaces/kits/common/src/
H A Dnapi_edm_common.cpp50 napi_get_null(env, &callbackValue[ARR_INDEX_ZERO]); in NativeCallbackComplete()
59 napi_get_null(env, &callbackValue[ARR_INDEX_ONE]); in NativeCallbackComplete()
463 napi_get_null(env, &error); in NativeVoidCallbackComplete()
476 napi_get_null(env, &error); in NativeVoidCallbackComplete()
/ohos5.0/base/web/webview/interfaces/kits/napi/webcookiemanager/
H A Dnapi_web_cookie_manager.cpp119 napi_get_null(env, &jsResult); in NapiCallBackNullptr()
718 napi_get_null(env, &jsResult); in SaveCookieAsyncCallback()
811 napi_get_null(data->env_, &result[INTEGER_ZERO]); in UvJsCallbackThreadWoker()
895 napi_get_null(data->env_, &result[INTEGER_ONE]); in UvJsCallbackThreadWoker()
992 napi_get_null(data->env_, &result[INTEGER_ZERO]); in UvJsCallbackThreadWoker()
1079 napi_get_null(data->env_, &result[INTEGER_ZERO]); in UvJsCallbackThreadWoker()
1095 napi_get_null(data->env_, &result[INTEGER_ZERO]); in UvJsCallbackThreadWoker()

1234567