/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_push.cpp | 66 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 D | user_auth_icon.js | 30 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 D | inputmethodlist.js | 56 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 D | notification_napi_utils.cpp | 147 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 D | syscap_ts.cpp | 55 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 D | js_leak_watcher.js | 120 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 D | brightness_module.cpp | 45 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 D | common_utils.cpp | 181 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 D | js_static_subscriber_extension_context.cpp | 66 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 D | base_async_session.h | 82 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 D | napi_context_common.cpp | 185 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 D | medical_napi_utils.cpp | 145 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 D | call.js | 25 return arguments[1](undefined, undefined); 33 return arguments[1](error, undefined);
|
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/ |
H A D | common_event_set_param.cpp | 349 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 D | napi_system_timer.cpp | 66 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 D | common_event_set_param.cpp | 383 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 D | napi_utils.cpp | 142 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 D | webview_export.js | 32 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 D | js_fence_extension.cpp | 215 ::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 D | napi_scan_utils.cpp | 234 /* 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 D | power_napi.cpp | 285 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 D | napi_print_utils.cpp | 230 /* 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 D | resource_manager_addon.cpp | 223 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 D | user_auth_napi_helper.cpp | 410 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 D | events_emitter.cpp | 497 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()
|