Home
last modified time | relevance | path

Searched refs:CreateUndefined (Results 1 – 25 of 36) sorted by relevance

12

/base/powermgr/battery_lite/frameworks/js/builtin/src/
Dbattery_module.cpp46 JSIValue undefValue = JSI::CreateUndefined(); in GetBatterySOC()
62 JSIValue undefValue = JSI::CreateUndefined(); in GetChargingStatus()
78 JSIValue undefValue = JSI::CreateUndefined(); in GetHealthStatus()
94 JSIValue undefValue = JSI::CreateUndefined(); in GetPluggedType()
111 JSIValue undefValue = JSI::CreateUndefined(); in GetVoltage()
127 JSIValue undefValue = JSI::CreateUndefined(); in GetTechnology()
143 JSIValue undefValue = JSI::CreateUndefined(); in GetTemperature()
/base/global/i18n_lite/interfaces/kits/js/builtin/src/
Dlocale_module.cpp69 return JSI::CreateUndefined(); in GetLocale()
77 return JSI::CreateUndefined(); in GetLocale()
85 return JSI::CreateUndefined(); in GetLocale()
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/src/
Dnapi_hichecker.cpp40 return CreateUndefined(env); in AddRule()
49 return CreateUndefined(env); in RemoveRule()
74 return CreateUndefined(env); in AddCheckRule()
85 return CreateUndefined(env); in RemoveCheckRule()
138 napi_value CreateUndefined(napi_env env) in CreateUndefined() function
/base/inputmethod/imf/frameworks/kits/extension/src/
Djs_inputmethod_extension_context.cpp105 return engine.CreateUndefined(); in OnStartAbility()
138 task.Resolve(engine, engine.CreateUndefined()); in OnStartAbility()
157 return engine.CreateUndefined(); in OnStartAbilityWithAccount()
172 return engine.CreateUndefined(); in OnStartAbilityWithAccount()
199 task.Resolve(engine, engine.CreateUndefined()); in OnStartAbilityWithAccount()
218 return engine.CreateUndefined(); in OnTerminateAbility()
233 task.Resolve(engine, engine.CreateUndefined()); in OnTerminateAbility()
252 return engine.CreateUndefined(); in OnConnectAbility()
285 task.Resolve(engine, engine.CreateUndefined()); in OnConnectAbility()
299 return engine.CreateUndefined(); in OnConnectAbilityWithAccount()
[all …]
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
Djs_wallpaper_extension_context.cpp103 return engine.CreateUndefined(); in OnStartAbility()
138 task.Resolve(engine, engine.CreateUndefined()); in OnStartAbility()
157 return engine.CreateUndefined(); in OnStartAbilityWithAccount()
174 return engine.CreateUndefined(); in OnStartAbilityWithAccount()
202 task.Resolve(engine, engine.CreateUndefined()); in OnStartAbilityWithAccount()
221 return engine.CreateUndefined(); in OnTerminateAbility()
236 task.Resolve(engine, engine.CreateUndefined()); in OnTerminateAbility()
255 return engine.CreateUndefined(); in OnConnectAbility()
293 task.Resolve(engine, engine.CreateUndefined()); in OnConnectAbility()
307 return engine.CreateUndefined(); in OnConnectAbilityWithAccount()
[all …]
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
Dnapi_faultlogger.cpp135 …callbackValues[0] = faultLogInfoContext->resolved ? NapiUtil::CreateUndefined(env) : callbackValue; in FaultLogCompleteCallback()
136 …callbackValues[1] = faultLogInfoContext->resolved ? callbackValue : NapiUtil::CreateUndefined(env); in FaultLogCompleteCallback()
137 napi_value recv = NapiUtil::CreateUndefined(env); in FaultLogCompleteCallback()
161 napi_value result = NapiUtil::CreateUndefined(env); in QuerySelfFaultLog()
190 napi_value resource = NapiUtil::CreateUndefined(env); in QuerySelfFaultLog()
207 napi_value result = NapiUtil::CreateUndefined(env); in AddFaultLog()
251 napi_value result = NapiUtil::CreateUndefined(env); in Query()
288 napi_value resource = NapiUtil::CreateUndefined(env); in Query()
Dnapi_util.h31 static napi_value CreateUndefined(napi_env env);
Dnapi_util.cpp32 napi_value NapiUtil::CreateUndefined(napi_env env) in CreateUndefined() function in OHOS::HiviewDFX::NapiUtil
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_js.cpp41 return NapiUtil::CreateUndefined(env); in Write()
56 napi_value promise = NapiUtil::CreateUndefined(env); in Write()
Dnapi_hiappevent_watch.cpp291 return NapiUtil::CreateUndefined(env); in RemoveWatcher()
294 return NapiUtil::CreateUndefined(env); in RemoveWatcher()
297 return NapiUtil::CreateUndefined(env); in RemoveWatcher()
Dnapi_hiappevent_js_v9.cpp85 return NapiUtil::CreateUndefined(env); in ClearData()
/base/telephony/sms_mms/frameworks/js/napi/src/
Ddelivery_callback.cpp63 callbackValues[0] = NapiUtil::CreateUndefined(env_); in CompleteSmsDeliveryWork()
77 callbackValues[1] = NapiUtil::CreateUndefined(env_); in CompleteSmsDeliveryWork()
Dsend_callback.cpp80 callbackValues[0] = NapiUtil::CreateUndefined(env_); in CompleteSmsSendWork()
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/include/
Dnapi_hichecker.h31 static napi_value CreateUndefined(napi_env env);
/base/security/permission_lite/services/js_api/src/
Dperm_module.cpp25 JSIValue undefValue = JSI::CreateUndefined(); in CheckSelfPerm()
/base/powermgr/powermgr_lite/interfaces/kits/battery/js/builtin/src/
Dbattery_module.cpp44 JSIValue undefValue = JSI::CreateUndefined(); in GetStatus()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp627 callbackValues[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in ReportMmiCode()
882 callbackValues[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in ReportWaitAndLimitInfo()
887 callbackValues[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in ReportWaitAndLimitInfo()
934 callbackValues[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in ReportSupplementInfo()
939 callbackValues[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in ReportSupplementInfo()
983 callbackValues[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in ReportExecutionResult()
989 callbackValues[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in ReportExecutionResult()
1033 callbackValues[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in ReportStartRttInfo()
1037 callbackValues[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in ReportStartRttInfo()
1080 callbackValues[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in ReportStopRttInfo()
[all …]
Dnapi_call_manager.cpp2346 callbackValue[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in NativeCallBack()
2351 callbackValue[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in NativeCallBack()
2385 callbackValue[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in NativeDialCallBack()
2390 callbackValue[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in NativeDialCallBack()
2425 callbackValue[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in NativeVoidCallBack()
2430 callbackValue[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in NativeVoidCallBack()
2467 callbackValue[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in NativeVoidCallBackWithErrorCode()
2472 callbackValue[ARRAY_INDEX_SECOND] = NapiCallManagerUtils::CreateUndefined(env); in NativeVoidCallBackWithErrorCode()
2499 callbackValue[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in NativePropertyCallBack()
2535 callbackValue[ARRAY_INDEX_FIRST] = NapiCallManagerUtils::CreateUndefined(env); in NativeGetMainCallIdCallBack()
[all …]
/base/customization/config_policy/interfaces/kits/js/include/
Dconfig_policy_napi.h50 static napi_value CreateUndefined(napi_env env);
/base/telephony/state_registry/frameworks/js/napi/src/
Dnapi_state_registry.cpp121 napi_value object = NapiUtil::CreateUndefined(env); in On()
152 return NapiUtil::CreateUndefined(env); in On()
236 return NapiUtil::CreateUndefined(env); in Off()
/base/telephony/core_service/frameworks/js/napi/
Dnapi_util.cpp117 napi_value NapiUtil::CreateUndefined(napi_env env) in CreateUndefined() function in OHOS::Telephony::NapiUtil
268 napi_value resource = CreateUndefined(env); in HandleAsyncWork()
296 napi_value recv = CreateUndefined(env); in Handle1ValueCallback()
332 napi_value recv = CreateUndefined(env); in Handle2ValueCallback()
336 callbackValues[0] = baseContext->resolved ? CreateUndefined(env) : callbackValue; in Handle2ValueCallback()
337 callbackValues[1] = baseContext->resolved ? callbackValue : CreateUndefined(env); in Handle2ValueCallback()
/base/hiviewdfx/hilog_lite/test/unittest/
Dhilog_lite_test.cpp240 ACELite::JSIValue undefValue = ACELite::JSI::CreateUndefined(); in HWTEST_F()
256 ACELite::JSIValue undefValue = ACELite::JSI::CreateUndefined(); in HWTEST_F()
272 ACELite::JSIValue undefValue = ACELite::JSI::CreateUndefined(); in HWTEST_F()
288 ACELite::JSIValue undefValue = ACELite::JSI::CreateUndefined(); in HWTEST_F()
304 ACELite::JSIValue undefValue = ACELite::JSI::CreateUndefined(); in HWTEST_F()
/base/telephony/call_manager/frameworks/js/napi/include/
Dnapi_call_manager_utils.h55 static napi_value CreateUndefined(napi_env env);
/base/security/huks/frameworks/crypto_lite/js/builtin/src/
Dcipher_module.cpp25 JSIValue undefValue = JSI::CreateUndefined(); in Rsa()
99 JSIValue undefValue = JSI::CreateUndefined(); in Aes()
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_val.h72 static NVal CreateUndefined(napi_env env);

12