Home
last modified time | relevance | path

Searched refs:napi_create_uint32 (Results 1 – 25 of 45) sorted by relevance

12

/base/powermgr/thermal_manager/frameworks/napi/
Dthermal_manager_napi.cpp155 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::COOL), &cool); in InitThermalLevel()
156 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::NORMAL), &normal); in InitThermalLevel()
157 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::WARM), &warm); in InitThermalLevel()
158 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::HOT), &hot); in InitThermalLevel()
159 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::OVERHEATED), &overheated); in InitThermalLevel()
160 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::WARNING), &warning); in InitThermalLevel()
161 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::EMERGENCY), &emergency); in InitThermalLevel()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dpublish.cpp410 napi_create_uint32(env, timer.GetInitInfo(), &value); in ParseReminderTimer()
419 napi_create_uint32(env, static_cast<uint32_t>(alarm.GetHour()), &value); in ParseReminderAlarm()
423 napi_create_uint32(env, static_cast<uint32_t>(alarm.GetMinute()), &value); in ParseReminderAlarm()
449 napi_create_uint32(env, static_cast<uint32_t>(calendar.GetYear()), &value); in ParseReminderCalendar()
451 napi_create_uint32(env, static_cast<uint32_t>(calendar.GetMonth()), &value); in ParseReminderCalendar()
453 napi_create_uint32(env, static_cast<uint32_t>(calendar.GetDay()), &value); in ParseReminderCalendar()
455 napi_create_uint32(env, static_cast<uint32_t>(calendar.GetHour()), &value); in ParseReminderCalendar()
457 napi_create_uint32(env, static_cast<uint32_t>(calendar.GetMinute()), &value); in ParseReminderCalendar()
459 napi_create_uint32(env, static_cast<uint32_t>(calendar.GetSecond()), &value); in ParseReminderCalendar()
523 napi_create_uint32(env, static_cast<int32_t>(it->second.type), &buttonInfo); in ParseActionButtons()
/base/security/access_token/interfaces/kits/common/src/
Dnapi_error.cpp56 NAPI_CALL(env, napi_create_uint32(env, errCode, &code)); in GenerateBusinessError()
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/
Dnapi_utils.h43 napi_create_uint32(env, value, &property); in AddUint32Property()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_common.cpp267 NAPI_CALL(env, napi_create_uint32(env, item.authType, &authType)); in CreateCredInfoArray()
270 NAPI_CALL(env, napi_create_uint32(env, pinType, &napiPinType)); in CreateCredInfoArray()
339 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, prop.authSubType, &napiAuthSubType)); in GeneratePropertyJs()
342 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, prop.remainTimes, &napiRemainTimes)); in GeneratePropertyJs()
345 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, prop.freezingTime, &napiFreezingTimes)); in GeneratePropertyJs()
369 napi_create_uint32(env, remainTimes, &napiRemainTimes); in CreateAuthResult()
374 napi_create_uint32(env, freezingTime, &napiFreezingTimes); in CreateAuthResult()
409 napi_create_uint32(param->env, param->acquireInfo, &argv[PARAM_ONE]); in OnUserAuthAcquireInfoWork()
/base/notification/eventhandler/frameworks/napi/src/
Devents_emitter.cpp475 napi_create_uint32(env, (uint32_t)Priority::IMMEDIATE, &immediate); in CreateEnumEventPriority()
476 napi_create_uint32(env, (uint32_t)Priority::HIGH, &high); in CreateEnumEventPriority()
477 napi_create_uint32(env, (uint32_t)Priority::LOW, &low); in CreateEnumEventPriority()
478 napi_create_uint32(env, (uint32_t)Priority::IDLE, &idle); in CreateEnumEventPriority()
/base/account/os_account/interfaces/kits/napi/common/src/
Dnapi_account_error.cpp73 NAPI_CALL(env, napi_create_uint32(env, jsErrCode, &errCodeJs)); in GenerateBusinessError()
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_uninstall_all_app_cert.cpp106 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, 0, &result[0])); in UninstallAllAppCertAsyncWork()
Dcm_napi_uninstall_app_cert_common.cpp114 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, 0, &result[0])); in UninstallAppCertAsyncWork()
Dcm_napi_grant.cpp220 napi_create_uint32(env, 0, &result[0]); in GrantUidComplete()
246 napi_create_uint32(env, 0, &result[0]); in RemoveOrIsAuthedComplete()
320 napi_create_uint32(env, 0, &result[0]); in GetUidListComplete()
Dcm_napi_get_app_cert_list_common.cpp136 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, 0, &result[0])); in GetAppCertListAsyncWork()
Dcm_napi_get_app_cert_info_common.cpp147 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, 0, &result[0])); in GetAppCertInfoAsyncWork()
Dcm_napi_set_cert_status.cpp146 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, 0, &result[0])); in SetCertStatusComplete()
Dcm_napi_user_trusted_cert.cpp270 napi_create_uint32(env, 0, &result[0]); in InstallUserCertComplete()
320 napi_create_uint32(env, 0, &result[0]); in UninstallComplete()
Dcm_napi_install_app_cert_common.cpp184 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, 0, &result[0])); in InstallAppCertAsyncWork()
Dcm_napi_sign_verify.cpp479 napi_create_uint32(env, 0, &result[0]); in InitComplete()
505 napi_create_uint32(env, 0, &result[0]); in UpdateOrAbortComplete()
559 napi_create_uint32(env, 0, &result[0]); in FinishComplete()
Dcm_napi_get_system_cert_list.cpp184 NAPI_CALL_RETURN_VOID(env, napi_create_uint32(env, 0, &result[0])); in GetCertListComplete()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Dnapi_utils.cpp83 if (napi_create_uint32(env, code, &value) != napi_ok) { in CreateUint32()
240 NAPI_CALL(env, napi_create_uint32(env, errorCode, &code)); in CreateBusinessError()
/base/web/webview/interfaces/kits/napi/webstorage/
Dnapi_web_storage.cpp153 napi_create_uint32(env, static_cast<uint32_t>(item.quota), &quota); in GetNapiWebStorageOriginForResult()
157 napi_create_uint32(env, static_cast<uint32_t>(item.usage), &usage); in GetNapiWebStorageOriginForResult()
336 napi_create_uint32(env, static_cast<uint32_t>(param->retValue), &setResult[PARAMONE]); in GetOriginUsageOrQuotaComplete()
360 napi_create_uint32(env, static_cast<uint32_t>(param->retValue), &setResult[PARAMONE]); in GetOriginUsageOrQuotaPromiseComplete()
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dnapi_context_common.cpp131 NAPI_CALL_BASE(env, napi_create_uint32(env, result.tokenID, &element), false); in ConvertActiveChangeResponse()
/base/sensors/medical_sensor/interfaces/plugin/src/
Dmedical_napi_utils.cpp167 napi_create_uint32(env, asyncCallbackInfo->sensorData[j], &num); in EmitUvEventLoop()
/base/security/huks/interfaces/kits/napi/src/v8/
Dhuks_napi_common.cpp314 NAPI_CALL(env, napi_create_uint32(env, param.tag, &tag)); in GenerateHksParam()
323 NAPI_CALL(env, napi_create_uint32(env, param.uint32Param, &value)); in GenerateHksParam()
484 NAPI_CALL(env, napi_create_uint32(env, handleValue, &handlejs)); in GenerateHksHandle()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_utils.cpp183 napi_create_uint32(env, encodingBlob->encodingFormat, &encoding); in ConvertEncodingBlobToNapiValue()
713 napi_create_uint32(env, GetCertErrValueByErrCode(errCode), &code); in GenerateBusinessError()
715 napi_create_uint32(env, GetJsErrValueByErrCode(errCode), &code); in GenerateBusinessError()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_callback_v8.cpp171 ret = napi_create_uint32(env_, acquireInfo, &params[PARAM1]); in DoAcquireCallback()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dnapi_util.cpp205 napi_status status = napi_create_uint32(env, uintValue, &value); in SetValueUint32()

12