Home
last modified time | relevance | path

Searched refs:napi_get_undefined (Results 1 – 25 of 112) sorted by relevance

12345

/base/request/request/upload/interfaces/kits/napi/src/
Dasync_call.cpp65 napi_get_undefined(env, &promise); in Call()
89 napi_get_undefined(env, &promise); in SyncCall()
112 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
116 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
120 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Dasync_call.cpp70 napi_get_undefined(env, &promise); in Call()
94 napi_get_undefined(env, &promise); in SyncCall()
117 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
121 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
126 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Dasync_call.cpp69 napi_get_undefined(env, &promise); in Call()
92 napi_get_undefined(env, &promise); in SyncCall()
113 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
119 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
123 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
/base/theme/screenlock_mgr/interfaces/kits/napi/src/
Dasync_call.cpp78 napi_get_undefined(env, &promise); in Call()
102 napi_get_undefined(env, &promise); in SyncCall()
126 napi_get_undefined(env, &result[static_cast<uint32_t>(ARG_INFO::ARG_ERROR)]); in OnComplete()
132 napi_get_undefined(env, &result[static_cast<uint32_t>(ARG_INFO::ARG_DATA)]); in OnComplete()
135 napi_get_undefined(env, &result[static_cast<uint32_t>(ARG_INFO::ARG_DATA)]); in OnComplete()
Dscreenlock_system_ability_callback.cpp53 napi_get_undefined(screenlockOnCallBackPtr->env, &undefined); in __anonde5bc0f60102()
58 napi_get_undefined(screenlockOnCallBackPtr->env, &callbackValues[0]); in __anonde5bc0f60102()
Dscreenlock_callback.cpp68 napi_get_undefined(callBackPtr->env, &result[static_cast<int32_t>(ARG_INFO::ARG_DATA)]); in UvWorkOnCallBackInt()
70 napi_get_undefined(callBackPtr->env, &result[static_cast<int32_t>(ARG_INFO::ARG_ERROR)]); in UvWorkOnCallBackInt()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp198 napi_get_undefined(env, &result); in QueryOsAccountById()
236 napi_get_undefined(env, &result); in RemoveOsAccount()
269 napi_get_undefined(env, &result); in SetOsAccountName()
307 napi_get_undefined(env, &result); in SetOsAccountConstraints()
345 napi_get_undefined(env, &result); in ActivateOsAccount()
383 napi_get_undefined(env, &result); in CreateOsAccount()
416 napi_get_undefined(env, &result); in CreateOsAccountForDomain()
459 napi_get_undefined(env, &result); in GetCreatedOsAccountsCountInner()
507 napi_get_undefined(env, &result); in GetDistributedVirtualDeviceIdInner()
555 napi_get_undefined(env, &result); in GetOsAccountAllConstraintsInner()
[all …]
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_geolocation_permission.cpp126 napi_get_undefined(env, &result); in ProcessActionByType()
165 napi_get_undefined(env, &result); in JsDeleteAllGeolocation()
180 napi_get_undefined(env, &setResult[PARAMONE]); in GetPermissionStateComplete()
182 napi_get_undefined(env, &setResult[PARAMZERO]); in GetPermissionStateComplete()
265 napi_get_undefined(env, &result); in GetPermissionStateAsync()
325 napi_get_undefined(env, &result); in JsGetAccessibleGeolocation()
341 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete()
342 napi_get_undefined(env, &setResult[PARAMONE]); in GetOriginComplete()
344 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete()
374 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginsPromiseComplete()
[all …]
/base/startup/syspara_lite/interfaces/kits/js/src/
Dnative_parameters_js.cpp59 napi_get_undefined(env, &result[0]); in SetCallbackWork()
60 napi_get_undefined(env, &result[1]); in SetCallbackWork()
66 napi_get_undefined(env, &result[1]); in SetCallbackWork()
121 napi_get_undefined(env, &result); in Set()
165 napi_get_undefined(env, &napiValue); in SetSync()
234 napi_get_undefined(env, &result[0]); in GetCallbackWork()
242 napi_get_undefined(env, &result[1]); in GetCallbackWork()
300 napi_get_undefined(env, &result); in Get()
/base/startup/init/interfaces/kits/jskits/src/
Dnative_parameters_js.cpp55 napi_get_undefined(env, &result[0]); in SetCallbackWork()
56 napi_get_undefined(env, &result[1]); in SetCallbackWork()
62 napi_get_undefined(env, &result[1]); in SetCallbackWork()
117 napi_get_undefined(env, &result); in Set()
161 napi_get_undefined(env, &napiValue); in SetSync()
227 napi_get_undefined(env, &result[0]); in GetCallbackWork()
235 napi_get_undefined(env, &result[1]); in GetCallbackWork()
293 napi_get_undefined(env, &result); in Get()
/base/location/frameworks/js/napi/source/
Dlocation_napi_system.cpp119 NAPI_CALL(env, napi_get_undefined(env, &result)); in GetLocation()
126 NAPI_CALL(env, napi_get_undefined(env, &result)); in GetLocation()
148 NAPI_CALL_BASE(env, napi_get_undefined(env, &undefine), false); in EmitSyncCallbackWork()
183 NAPI_CALL(env, napi_get_undefined(env, &result)); in GetLocationType()
237 NAPI_CALL(env, napi_get_undefined(env, &result)); in Subscribe()
243 NAPI_CALL(env, napi_get_undefined(env, &result)); in Subscribe()
256 NAPI_CALL(env, napi_get_undefined(env, &result)); in Unsubscribe()
/base/theme/wallpaper_mgr/interfaces/kits/napi/
Dasync_call.cpp79 napi_get_undefined(env, &promise); in Call()
126 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
132 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
147 napi_get_undefined(env, &result[ARG_DATA]); in OnComplete()
/base/time/time_service/framework/js/napi/common/src/
Dnapi_async_work.cpp88 napi_get_undefined(ctxt->env, &promise); in Enqueue()
125 napi_get_undefined(ctxt->env, &result[RESULT_ERROR]); in GenerateOutput()
127 napi_get_undefined(ctxt->env, &ctxt->output); in GenerateOutput()
141 napi_get_undefined(ctxt->env, &result[RESULT_DATA]); in GenerateOutput()
Dnapi_utils.cpp52 napi_get_undefined(env, &result); in GetUndefinedValue()
79 napi_get_undefined(env, &undefined); in SetTimerCallback()
125 napi_get_undefined(env, &result); in GetCallbackErrorValue()
162 napi_get_undefined(env, &undefined); in SetCallback()
/base/startup/init/interfaces/kits/jskits/src_enhance/
Dnative_parameters_js.cpp118 napi_get_undefined(env, &result[0]); in SetCallbackWork()
119 napi_get_undefined(env, &result[1]); in SetCallbackWork()
122 napi_get_undefined(env, &result[1]); in SetCallbackWork()
183 napi_get_undefined(env, &result); in Set()
226 napi_get_undefined(env, &napiValue); in SetSync()
299 napi_get_undefined(env, &result[0]); in GetCallbackWork()
304 napi_get_undefined(env, &result[1]); in GetCallbackWork()
369 napi_get_undefined(env, &result); in Get()
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp179 NAPI_CALL(env, napi_get_undefined(env, &result)); in JsSetCookie()
220 NAPI_CALL(env, napi_get_undefined(env, &result)); in JsPutAcceptCookieEnabled()
261 NAPI_CALL(env, napi_get_undefined(env, &result)); in JsPutAcceptThirdPartyCookieEnabled()
286 NAPI_CALL(env, napi_get_undefined(env, &result)); in JsDeleteEntireCookie()
298 napi_get_undefined(env, &result); in JsDeleteSessionCookie()
324 napi_get_undefined(env, &jsResult); in SaveCookieAsyncPromise()
348 napi_get_undefined(env, &result); in JsSaveCookieAsync()
407 napi_get_undefined(data->env_, &jsResult); in UvJsCallbackThreadWoker()
/base/web/webview/interfaces/kits/napi/webstorage/
Dnapi_web_storage.cpp63 napi_get_undefined(env, &result); in JsDeleteAllData()
105 napi_get_undefined(env, &result); in JsDeleteOrigin()
176 napi_get_undefined(env, &setResult[PARAMONE]); in GetOriginComplete()
178 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginComplete()
235 napi_get_undefined(env, &result); in GetOriginsAsync()
270 napi_get_undefined(env, &result); in JsGetOrigins()
330 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginUsageOrQuotaComplete()
332 napi_get_undefined(env, &setResult[PARAMONE]); in GetOriginUsageOrQuotaComplete()
334 napi_get_undefined(env, &setResult[PARAMZERO]); in GetOriginUsageOrQuotaComplete()
398 napi_get_undefined(env, &result); in GetOriginUsageOrQuotaAsync()
/base/sensors/medical_sensor/interfaces/plugin/src/
Dmedical_napi_utils.cpp76 napi_get_undefined(env, &value); in GetUndefined()
107 napi_get_undefined(env, &result); in EmitAsyncCallbackWork()
144 napi_get_undefined(env, &undefined); in EmitUvEventLoop()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.cpp207 NAPI_CALL(env, napi_get_undefined(env, &result)); in InitializeWebEngine()
234 NAPI_CALL(env, napi_get_undefined(env, &result)); in SetWebDebuggingAccess()
295 napi_get_undefined(env, &result); in InnerJsProxy()
387 NAPI_CALL(env, napi_get_undefined(env, &result)); in Forward()
405 NAPI_CALL(env, napi_get_undefined(env, &result)); in Backward()
453 NAPI_CALL(env, napi_get_undefined(env, &result)); in ClearHistory()
472 NAPI_CALL(env, napi_get_undefined(env, &result)); in OnActive()
491 NAPI_CALL(env, napi_get_undefined(env, &result)); in OnInactive()
509 NAPI_CALL(env, napi_get_undefined(env, &result)); in Refresh()
615 NAPI_CALL(env, napi_get_undefined(env, &result)); in PostMessage()
[all …]
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account.cpp171 napi_get_undefined(env, &result); in AddAccount()
212 napi_get_undefined(env, &result); in CreateAccount()
345 napi_get_undefined(env, &result); in RemoveAccountInternal()
386 napi_get_undefined(env, &result); in DisableAppAccess()
424 napi_get_undefined(env, &result); in EnableAppAccess()
467 napi_get_undefined(env, &result); in SetAppAccess()
518 napi_get_undefined(env, &result); in CheckDataSyncEnabledInternal()
578 napi_get_undefined(env, &result); in SetCredentialInternal()
623 napi_get_undefined(env, &result); in SetAccountExtraInfo()
680 napi_get_undefined(env, &result); in SetDataSyncEnabledInternal()
[all …]
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.cpp76 napi_get_undefined(env, &result); in CreateRunningLock()
117 napi_get_undefined(env, &result); in IsRunningLockTypeSupported()
260 napi_get_undefined(env, &result[0]); in CreateRunningLockCallBack()
299 napi_get_undefined(env, &result[0]); in IsRunningLockTypeSupportedCallBack()
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dnapi_error.cpp33 napi_get_undefined(env, &napiError); in GetNapiError()
/base/powermgr/power_manager/frameworks/napi/utils/
Dnapi_errors.cpp31 napi_get_undefined(env, &napiError); in GetNapiError()
/base/powermgr/thermal_manager/frameworks/napi/
Dnapi_errors.cpp31 napi_get_undefined(env, &napiError); in GetNapiError()
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_get_app_cert_list_common.cpp94 NAPI_CALL(env, napi_get_undefined(env, &result)); in GetAppCertListWriteResult()
141 NAPI_CALL_RETURN_VOID(env, napi_get_undefined(env, &result[1])); in GetAppCertListAsyncWork()

12345