Home
last modified time | relevance | path

Searched refs:napi_get_value_bool (Results 1 – 25 of 38) sorted by relevance

12

/base/compileruntime/js_sys_module/test/unittest/
Dtest_process.cpp89 napi_get_value_bool(env, result, &res);
114 napi_get_value_bool(env, result, &res);
/base/compileruntime/js_sys_module/dfx/
Dnative_module_dfx.cpp41 napi_get_value_bool(env, argv[1], &isVmMode); in DumpHeapSnapShot()
84 napi_get_value_bool(env, argv[1], &isVmMode); in StartHeapTracking()
/base/hiviewdfx/hiappevent/interfaces/js/innerkits/napi/src/
Dnapi_hiappevent_config.cpp40 napi_get_value_bool(env, value, &boolValue); in GetStringFromNapiValue()
Dnapi_hiappevent_build.cpp98 napi_status status = napi_get_value_bool(env, param, &value); in AddBoolParam2EventPack()
168 status = napi_get_value_bool(env, element, &value); in AddBoolArrayParam2EventPack()
/base/compileruntime/js_util_module/util/
Djs_types.cpp172 NAPI_CALL(env, napi_get_value_bool(env, IsNumberObject(env, src), &rstNum)); in IsBoxedPrimitive()
173 NAPI_CALL(env, napi_get_value_bool(env, IsStringObject(env, src), &rstStr)); in IsBoxedPrimitive()
174 NAPI_CALL(env, napi_get_value_bool(env, IsBooleanObject(env, src), &rstBool)); in IsBoxedPrimitive()
175 NAPI_CALL(env, napi_get_value_bool(env, IsSymbolObject(env, src), &rstSym)); in IsBoxedPrimitive()
Dnative_module_util.cpp264 napi_status naFat = napi_get_value_bool(env, resultFatal, &bResultFat); in GetSecPara()
265 napi_status naBom = napi_get_value_bool(env, resultIgnorebom, &bResultIgnbom); in GetSecPara()
359 NAPI_CALL(env, napi_get_value_bool(env, resultStream, &iStream)); in TextdecoderDecode()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager_utils.cpp101 napi_status getIntStatus = napi_get_value_bool(env, value, &boolValue); in GetBoolProperty()
/base/notification/ans_standard/interfaces/kits/napi/ans/src/
Dcommon.cpp1681 napi_get_value_bool(env, result, &isOngoing); in GetNotificationIsOngoing()
1703 napi_get_value_bool(env, result, &isUnremovable); in GetNotificationIsUnremovable()
1747 napi_get_value_bool(env, result, &tapDismissed); in GetNotificationtapDismissed()
1966 napi_get_value_bool(env, result, &colorEnabled); in GetNotificationColorEnabled()
1988 napi_get_value_bool(env, result, &isAlertOnce); in GetNotificationIsAlertOnce()
2010 napi_get_value_bool(env, result, &isStopwatch); in GetNotificationIsStopwatch()
2032 napi_get_value_bool(env, result, &isCountDown); in GetNotificationIsCountDown()
2121 napi_get_value_bool(env, result, &showDeliveryTime); in GetNotificationShowDeliveryTime()
2444 napi_get_value_bool(env, value, &permitFreeFormInput); in GetNotificationUserInputByPermitFreeFormInput()
2607 napi_get_value_bool(env, result, &isDistributed); in GetNotificationIsDistributed()
[all …]
Ddistributed.cpp93 napi_get_value_bool(env, argv[PARAM0], &params.enable); in ParseParameters()
128 napi_get_value_bool(env, argv[PARAM1], &params.enable); in ParseParameters()
Ddisplay_badge.cpp85 napi_get_value_bool(env, argv[PARAM1], &params.enable); in ParseParameters()
Denable_notification.cpp85 napi_get_value_bool(env, argv[PARAM1], &params.enable); in ParseParameters()
/base/telephony/core_service/frameworks/js/napi/
Dnapi_parameter_util.h73 return napi_get_value_bool(env, arg, res); in NapiValueConverted()
/base/accessibility/interfaces/kits/napi/src/
Dnapi_accessibility_system_ability_client.cpp579 napi_get_value_bool(env, parameters[PARAM0], &callbackInfo->captionState_); in SetCaptionState()
698 napi_get_value_bool(env, parameters[PARAM0], &callbackInfo->enabledState_); in SetEnabled()
816 napi_get_value_bool(env, parameters[PARAM0], &callbackInfo->touchGuideState_); in SetTouchGuideState()
934 napi_get_value_bool(env, parameters[PARAM0], &callbackInfo->gestureState_); in SetGestureState()
1053 napi_get_value_bool(env, parameters[PARAM0], &callbackInfo->keyEventObserverState_); in SetKeyEventObserverState()
1405 napi_get_value_bool(env, parameters[PARAM0], &captionState); in SetCaptionStateEnabled()
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_val.cpp109 napi_status status = napi_get_value_bool(env_, val_, &flag); in ToBool()
/base/miscservices/request/download/interfaces/kits/js/napi/download_single/src/
Dnapi_utils.cpp266 NAPI_CALL_BASE(env, napi_get_value_bool(env, value, &ret), false); in GetBooleanProperty()
/base/powermgr/display_manager/frameworks/napi/
Dbrightness.cpp136 napi_get_value_bool(env_, napiKeep, &screenOn); in SetKeepScreenOn()
/base/compileruntime/js_api_module/xml/
Djs_xml.cpp373 … if (valuetype == napi_boolean && (napi_get_value_bool(env, recvTemp, &bRecv)) == napi_ok) { in DealOptionInfo()
509 napi_get_value_bool(env, returnVal, &bRec); in ParseToken()
533 napi_get_value_bool(env, returnVal, &bRec); in ParseAttri()
558 napi_get_value_bool(env, returnVal, &bRec); in Parse()
/base/miscservices/time/interfaces/kits/js/napi/system_time/src/
Djs_systemtime.cpp300 napi_get_value_bool(env, argv[0], isNano); in ParseParametersGetNA()
303 napi_get_value_bool(env, argv[0], isNano); in ParseParametersGetNA()
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi_common.cpp132 NAPI_CALL(env, napi_get_value_bool(env, value, &param.boolParam)); in GetHksParam()
/base/update/updateservice/test/unittest/update_client/
Dclient_stub.cpp462 napi_status napi_get_value_bool(napi_env env, napi_value value, bool* result) in napi_get_value_bool() function
/base/global/i18n_standard/interfaces/js/kits/src/
Di18n_addon.cpp659 napi_get_value_bool(env, argv[sentenceCaseIndex], &sentenceCase); in GetDisplayLanguage()
698 napi_get_value_bool(env, argv[sentenceCaseIndex], &sentenceCase); in GetDisplayCountry()
2266 status = napi_get_value_bool(env, argv[0], &option); in Set24HourClock()
2552 status = napi_get_value_bool(env, argv[0], &isDST); in GetParameter()
2572 status = napi_get_value_bool(env, argv[1], &isDST); in GetParameter()
/base/miscservices/screenlock/interfaces/kits/napi/src/
Dnapi_screenlock_ability.cpp341 napi_get_value_bool(env, argv[ARGV_ZERO], &context->flag); in NAPI_TestSetScreenLocked()
/base/compileruntime/js_api_module/convertxml/
Djs_convertxml.cpp406 if ((napi_get_value_bool(env, recvTemp, &bRecv)) == napi_ok) { in DealIgnore()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_common.cpp561 napi_get_value_bool(env, argv[PARAMTHREE], &asyncContext->isVisible); in ParseContextForSetOAuthTokenVisibility()
665 napi_get_value_bool(env, argv[i], &asyncContext->isEnable); in ParseContextWithIsEnable()
/base/location/interfaces/innerkits/napi/
Dlocation_napi_adapter.cpp363 NAPI_CALL(env, napi_get_value_bool(env, argv[1], &asyncContext->isConfirmed)); in SetLocationPrivacyConfirmStatus()

12