Home
last modified time | relevance | path

Searched refs:undefined (Results 1 - 25 of 41) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_push.cpp66 napi_value undefined = nullptr; in OnRegisterPushCallback() local
67 napi_get_undefined(env, &undefined); in OnRegisterPushCallback()
74 return undefined; in OnRegisterPushCallback()
79 return undefined; in OnRegisterPushCallback()
86 return undefined; in OnRegisterPushCallback()
93 return undefined; in OnRegisterPushCallback()
98 return undefined; in OnRegisterPushCallback()
106 return undefined; in OnRegisterPushCallback()
116 return undefined; in OnRegisterPushCallback()
122 napi_value undefined in OnUnregisterPushCallback() local
[all...]
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_icon/
H A Duser_auth_icon.js30 constructor(b1, c1, d1, e1 = -1, f1 = undefined, g1) {
55 if (a1.authParam !== undefined) {
58 if (a1.widgetParam !== undefined) {
61 if (a1.iconHeight !== undefined) {
64 if (a1.iconColor !== undefined) {
67 if (a1.authFlag !== undefined) {
70 if (a1.imageSource !== undefined) {
73 if (a1.onAuthResult !== undefined) {
76 if (a1.onIconClick !== undefined) {
167 if (this.authParam.authType === undefined || thi
[all...]
/base/inputmethod/imf/frameworks/js/napi/inputmethodlist/
H A Dinputmethodlist.js56 constructor(a, b, c, d = -1, e = undefined, f) {
79 this.__inputMethodConfig = new ObservedPropertyObjectPU(undefined, this, 'inputMethodConfig');
80 this.__defaultInputMethod = new ObservedPropertyObjectPU(undefined, this, 'defaultInputMethod');
81 this.__currentInputMethod = new ObservedPropertyObjectPU(undefined, this, 'currentInputMethod');
82 this.__currentSub = new ObservedPropertyObjectPU(undefined, this, 'currentSub');
87 builder: undefined
89 this.patternOptions = undefined;
94 if (g.listBgColor !== undefined) {
97 if (g.pressedColor !== undefined) {
100 if (g.selectedColor !== undefined) {
[all...]
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_utils.cpp147 napi_value undefined = nullptr; in SetCallback() local
148 napi_get_undefined(env, &undefined); in SetCallback()
156 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGS_TWO, &results[PARAM0], &resultout)); in SetCallback()
164 napi_value undefined = nullptr; in SetCallback() local
165 napi_get_undefined(env, &undefined); in SetCallback()
170 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGS_ONE, &result, &resultout)); in SetCallback()
179 napi_value undefined = nullptr; in SetCallbackArg2() local
180 napi_get_undefined(env, &undefined); in SetCallbackArg2()
185 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGS_TWO, result, &resultout)); in SetCallbackArg2()
/base/startup/init/interfaces/kits/syscap_ts/src/
H A Dsyscap_ts.cpp55 napi_value undefined = CreateJsUndefined(env); in CanIUse() local
62 return undefined; in CanIUse()
69 return undefined; in CanIUse()
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/js_leak_watcher/
H A Djs_leak_watcher.js120 if (obj === undefined || obj === null || msg === undefined || msg === null) {
142 if (filePath === undefined || filePath === null) {
182 if (isEnable === undefined || isEnable === null) {
/base/powermgr/display_manager/state_manager/frameworks/napi/
H A Dbrightness_module.cpp45 napi_value undefined; in SyncWork() local
46 napi_get_undefined(env, &undefined); in SyncWork()
48 RETURN_IF_WITH_RET(asyncBrightness == nullptr, undefined); in SyncWork()
50 RETURN_IF_WITH_RET(options == nullptr, undefined); in SyncWork()
51 RETURN_IF_WITH_RET(!asyncBrightness->CreateCallbackRef(options), undefined); in SyncWork()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_utils.cpp181 napi_value undefined = nullptr; in SetCallback() local
182 napi_get_undefined(env, &undefined); in SetCallback()
190 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGS_TWO, &results[PARAM0], &resultout)); in SetCallback()
198 napi_value undefined = nullptr; in SetCallback() local
199 napi_get_undefined(env, &undefined); in SetCallback()
204 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGS_ONE, &result, &resultout)); in SetCallback()
213 napi_value undefined = nullptr; in SetCallbackArg2() local
214 napi_get_undefined(env, &undefined); in SetCallbackArg2()
219 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGS_TWO, result, &resultout)); in SetCallbackArg2()
/base/notification/common_event_service/frameworks/extension/src/
H A Djs_static_subscriber_extension_context.cpp66 napi_value undefined = nullptr; in OnStartAbility() local
67 napi_get_undefined(env, &undefined); in OnStartAbility()
76 return undefined; in OnStartAbility()
/base/update/updateservice/frameworks/js/napi/session/include/
H A Dbase_async_session.h82 napi_value undefined; in NotifyJS() local
84 napi_get_undefined(env, &undefined); in NotifyJS()
101 retStatus = napi_call_function(env, undefined, callback, callBackNumber, retArgs, &callResult); in NotifyJS()
/base/security/access_token/frameworks/js/napi/privacy/src/
H A Dnapi_context_common.cpp185 napi_value undefined = nullptr; in NotifyChangeResponse() local
189 napi_get_undefined(permActiveStatusData->env, &undefined)); in NotifyChangeResponse()
193 napi_call_function(permActiveStatusData->env, undefined, callback, 1, &result, &resultOut)); in NotifyChangeResponse()
/base/sensors/medical_sensor/interfaces/plugin/src/
H A Dmedical_napi_utils.cpp145 napi_value undefined; in EmitUvEventLoop()
146 napi_get_undefined(env, &undefined); in EmitUvEventLoop()
175 napi_call_function(env, undefined, callback, 1, &result, &callResult); in EmitUvEventLoop()
/base/telephony/call_manager/frameworks/js/napi/src/
H A Dcall.js25 return arguments[1](undefined, undefined);
33 return arguments[1](error, undefined);
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event_set_param.cpp349 napi_value undefined = nullptr; in SetCallback() local
350 napi_get_undefined(env, &undefined); in SetCallback()
361 napi_call_function(env, undefined, callback, ARGS_TWO_EVENT, &results[PARAM0_EVENT], &resultout)); in SetCallback()
366 napi_value undefined = nullptr; in SetCallback() local
367 napi_get_undefined(env, &undefined); in SetCallback()
378 napi_call_function(env, undefined, callback, ARGS_TWO_EVENT, &results[PARAM0_EVENT], &resultout)); in SetCallback()
/base/time/time_service/framework/js/napi/system_timer/src/
H A Dnapi_system_timer.cpp66 napi_value undefined = nullptr; in OnTrigger()
67 napi_get_undefined(callbackInfo.env, &undefined); in OnTrigger()
70 napi_call_function(callbackInfo.env, undefined, callback, ARGC_ZERO, &undefined, &undefined); in OnTrigger()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dcommon_event_set_param.cpp383 napi_value undefined = nullptr; in SetCallback() local
384 napi_get_undefined(env, &undefined); in SetCallback()
395 napi_call_function(env, undefined, callback, ARGS_TWO_EVENT, &results[INDEX_ZERO], &resultout)); in SetCallback()
400 napi_value undefined = nullptr; in SetCallback() local
401 napi_get_undefined(env, &undefined); in SetCallback()
412 napi_call_function(env, undefined, callback, ARGS_TWO_EVENT, &results[INDEX_ZERO], &resultout)); in SetCallback()
/base/time/time_service/framework/js/napi/common/src/
H A Dnapi_utils.cpp142 napi_value undefined = nullptr; in SetCallback() local
143 napi_get_undefined(env, &undefined); in SetCallback()
151 NAPI_CALL_RETURN_VOID(env, napi_call_function(env, undefined, callback, ARGC_TWO, &results[0], &resultOut)); in SetCallback()
/base/web/webview/interfaces/kits/napi/js/
H A Dwebview_export.js32 constructor(code, errorMsg = 'undefined') {
33 if (errorMsg === 'undefined') {
238 if (callback === undefined) {
248 callback(undefined, x509CertArray);
250 callback(error, undefined);
/base/location/frameworks/native/fence_extension_ability/src/
H A Djs_fence_extension.cpp215 ::napi_value undefined; in OnStop() local
218 ::napi_status retStatus = ::napi_call_function(env, value, method, 0, argv, &undefined); in OnStop()
323 ::napi_value undefined; in CallToUiThread() local
324 ::napi_status callStatus = ::napi_call_function(env, abilityObj, method, ARGC_TWO, argv, &undefined); in CallToUiThread()
/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dnapi_scan_utils.cpp234 /* undefined */
237 napi_value undefined = nullptr; in GetUndefined() local
238 SCAN_CALL(env, napi_get_undefined(env, &undefined)); in GetUndefined()
239 return undefined; in GetUndefined()
/base/powermgr/power_manager/frameworks/napi/power/
H A Dpower_napi.cpp285 napi_value undefined; in SetPowerModePromise()
286 napi_get_undefined(env, &undefined); in SetPowerModePromise()
287 napi_resolve_deferred(env, asyncInfo->GetDeferred(), undefined); in SetPowerModePromise()
/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dnapi_print_utils.cpp230 /* undefined */
233 napi_value undefined = nullptr; in GetUndefined() local
234 PRINT_CALL(env, napi_get_undefined(env, &undefined)); in GetUndefined()
235 return undefined; in GetUndefined()
/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_addon.cpp223 napi_value undefined; in Release() local
224 if (napi_get_undefined(env, &undefined) != napi_ok) { in Release()
227 return undefined; in Release()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
H A Duser_auth_napi_helper.cpp410 napi_value undefined; in CallVoidNapiFunc() local
411 ret = napi_get_undefined(env, &undefined); in CallVoidNapiFunc()
417 ret = napi_call_function(env, undefined, funcVal, argc, argv, &callResult); in CallVoidNapiFunc()
/base/notification/eventhandler/frameworks/napi/src/
H A Devents_emitter.cpp497 napi_value undefined = nullptr; in EmitWithEventData() local
498 napi_get_undefined(env, &undefined); in EmitWithEventData()
501 serializeResult = napi_serialize_inner(env, data, undefined, undefined, in EmitWithEventData()

Completed in 15 milliseconds

12