Home
last modified time | relevance | path

Searched refs:napi_get_named_property (Results 1 – 25 of 69) sorted by relevance

123

/base/location/frameworks/js/napi/source/
Dlocation_napi_system.cpp69 … NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "success", &nVsuccessCallback)); in GetAllCallback()
75 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "fail", &nVfailCallback)); in GetAllCallback()
81 … NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "complete", &nVcompleteCallback)); in GetAllCallback()
107 NAPI_CALL(env, napi_get_named_property(env, argv[0], "timeout", &nVtimeout)); in GetLocation()
113 NAPI_CALL(env, napi_get_named_property(env, argv[0], "coordType", &nVcoordType)); in GetLocation()
170 NAPI_CALL(env, napi_get_named_property(env, argv[0], "success", &nVsuccessCallback)); in GetLocationType()
175 NAPI_CALL(env, napi_get_named_property(env, argv[0], "fail", &nVfailCallback)); in GetLocationType()
180 NAPI_CALL(env, napi_get_named_property(env, argv[0], "complete", &nVcompleteCallback)); in GetLocationType()
231 NAPI_CALL(env, napi_get_named_property(env, argv[0], "coordType", &nVcoordType)); in Subscribe()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp1447 napi_get_named_property(env, value, "bundleNames", &nBundleNames); in GetNotificationSubscriberInfo()
1477 napi_get_named_property(env, value, "userId", &nUserId); in GetNotificationSubscriberInfo()
1664 napi_get_named_property(env, value, "id", &result); in GetNotificationId()
1692 napi_get_named_property(env, value, "slotType", &result); in GetNotificationSlotType()
1729 napi_get_named_property(env, value, "content", &result); in GetNotificationContent()
1786 napi_get_named_property(env, value, "isOngoing", &result); in GetNotificationIsOngoing()
1811 napi_get_named_property(env, value, "isUnremovable", &result); in GetNotificationIsUnremovable()
1836 napi_get_named_property(env, value, "deliveryTime", &result); in GetNotificationDeliveryTime()
1861 napi_get_named_property(env, value, "tapDismissed", &result); in GetNotificationtapDismissed()
1885 napi_get_named_property(env, value, "wantAgent", &result); in GetNotificationWantAgent()
[all …]
Dsubscribe.cpp918 napi_get_named_property(env, value, "onConsume", &nOnConsumed); in GetNotificationSubscriber()
931 napi_get_named_property(env, value, "onCancel", &nOnCanceled); in GetNotificationSubscriber()
944 napi_get_named_property(env, value, "onUpdate", &nOnUpdate); in GetNotificationSubscriber()
957 napi_get_named_property(env, value, "onConnect", &nOnConnected); in GetNotificationSubscriber()
970 napi_get_named_property(env, value, "onDisconnect", &nOnDisConnect); in GetNotificationSubscriber()
983 napi_get_named_property(env, value, "onDestroy", &nOnDied); in GetNotificationSubscriber()
996 napi_get_named_property(env, value, "onDisturbModeChange", &nOnDisturbModeChanged); in GetNotificationSubscriber()
1010 napi_get_named_property(env, value, "onDoNotDisturbDateChange", &nOnDisturbDateChanged); in GetNotificationSubscriber()
1024napi_get_named_property(env, value, "onEnabledNotificationChanged", &nOnEnabledNotificationChanged… in GetNotificationSubscriber()
Ddisturb_mode.cpp36 napi_get_named_property(env, argv, "type", &value); in GetDoNotDisturbDate()
58 napi_get_named_property(env, argv, "begin", &value); in GetDoNotDisturbDate()
75 napi_get_named_property(env, argv, "end", &value); in GetDoNotDisturbDate()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager_utils.cpp160 napi_get_named_property(env, object, propertyName.c_str(), &value); in GetNamedProperty()
167 napi_status getNameStatus = napi_get_named_property(env, object, propertyName.c_str(), &value); in GetStringProperty()
185 napi_status getNameStatus = napi_get_named_property(env, object, propertyName.c_str(), &value); in GetIntProperty()
200 napi_status getNameStatus = napi_get_named_property(env, object, propertyName.c_str(), &value); in GetUssdIntProperty()
215 napi_status getNameStatus = napi_get_named_property(env, object, propertyName.c_str(), &value); in GetUssdStringProperty()
234 napi_status getNameStatus = napi_get_named_property(env, object, propertyName.c_str(), &value); in GetBoolProperty()
/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_auth_callback.cpp81 napi_get_named_property(env, value, "token", &napiToken); in ParseDoaminAuthResult()
84 napi_get_named_property(env, value, "remainTimes", &napiRemainTimes); in ParseDoaminAuthResult()
91 napi_get_named_property(env, value, "freezingTime", &napiFreezingTime); in ParseDoaminAuthResult()
Dnapi_domain_account_manager.cpp58 napi_get_named_property(env, global, "DomainAuthCallback", &jsConstructor); in CreateNapiDomainAuthCallback()
199 napi_get_named_property(env, argv[0], "auth", &authFunc); in ParseContextForRegisterPlugin()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dnapi_util.cpp62 napi_get_named_property(env, object, fieldStr.c_str(), &field); in JsObjectToString()
87 napi_get_named_property(env, object, fieldStr.c_str(), &value); in JsObjectGetProperty()
102 napi_get_named_property(env, object, fieldStr.c_str(), &field); in JsObjectToInt()
125 status = napi_get_named_property(env, object, fieldStr.c_str(), &field); in JsObjectToUint()
/base/update/updateservice/frameworks/js/napi/base/src/
Dnapi_util.cpp30 napi_get_named_property(env, arg, attrName.c_str(), &value); in GetInt32()
42 napi_get_named_property(env, arg, attrName.c_str(), &obj); in GetBool()
54 napi_get_named_property(env, arg, attrName.c_str(), &value); in GetString()
/base/security/huks/frameworks/crypto_lite/js/napi/
Dcipher_napi.cpp121 napi_status status = napi_get_named_property(env, object, "success", successFunc); in GetCallbackFuncProperty()
126 status = napi_get_named_property(env, object, "fail", failFunc); in GetCallbackFuncProperty()
131 status = napi_get_named_property(env, object, "complete", completeFunc); in GetCallbackFuncProperty()
219 napi_status status = napi_get_named_property(env, object, "action", &commonNapi->action_napi); in GetCommonProperties()
224 status = napi_get_named_property(env, object, "text", &commonNapi->text_napi); in GetCommonProperties()
229 status = napi_get_named_property(env, object, "key", &commonNapi->key_napi); in GetCommonProperties()
234 … status = napi_get_named_property(env, object, "transformation", &commonNapi->transformation_napi); in GetCommonProperties()
249 napi_status status = napi_get_named_property(env, object, "iv", &context->iv_napi); in GetAesProperties()
254 status = napi_get_named_property(env, object, "ivOffset", &context->ivOffset_napi); in GetAesProperties()
259 status = napi_get_named_property(env, object, "ivLen", &context->ivLen_napi); in GetAesProperties()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_utils.cpp145 napi_status status = napi_get_named_property(env, obj, CRYPTO_TAG_DATA.c_str(), &data); in GetEncodingBlobFromValue()
159 status = napi_get_named_property(env, obj, CRYPTO_TAG_ENCODING_FORMAT.c_str(), &format); in GetEncodingBlobFromValue()
198 napi_status status = napi_get_named_property(env, arg, CRYPTO_TAG_DATA.c_str(), &data); in GetBlobFromNapiValue()
263 napi_status status = napi_get_named_property(env, arg, type.c_str(), &data); in GetBlobFromParamsSpec()
434 napi_status status = napi_get_named_property(env, arg, ALGO_PARAMS.c_str(), &data); in GetParamsSpecFromNapiValue()
437 status = napi_get_named_property(env, arg, ALGO_PARAMS_OLD.c_str(), &data); in GetParamsSpecFromNapiValue()
545 napi_status status = napi_get_named_property(env, obj, CRYPTO_TAG_DATA.c_str(), &data); in GetCertChainFromValue()
560 status = napi_get_named_property(env, obj, CRYPTO_TAG_COUNT.c_str(), &certCount); in GetCertChainFromValue()
573 status = napi_get_named_property(env, obj, CRYPTO_TAG_ENCODING_FORMAT.c_str(), &format); in GetCertChainFromValue()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Djs_input_method.cpp72 napi_get_named_property(env, argv, "name", &result); in GetInputMethodProperty()
75 napi_get_named_property(env, argv, "id", &result); in GetInputMethodProperty()
79 napi_get_named_property(env, argv, "packageName", &result); in GetInputMethodProperty()
83 napi_get_named_property(env, argv, "methodId", &result); in GetInputMethodProperty()
102 status = napi_get_named_property(env, argv, "name", &result); in GetInputMethodSubProperty()
110 status = napi_get_named_property(env, argv, "id", &result); in GetInputMethodSubProperty()
Djs_get_input_method_setting.cpp184 napi_get_named_property(env, argv, "name", &result); in GetInputMethodProperty()
188 napi_get_named_property(env, argv, "id", &result); in GetInputMethodProperty()
193 napi_get_named_property(env, argv, "packageName", &result); in GetInputMethodProperty()
197 napi_get_named_property(env, argv, "methodId", &result); in GetInputMethodProperty()
206 napi_get_named_property(env, argv, "label", &result); in GetInputMethodProperty()
210 napi_get_named_property(env, argv, "icon", &result); in GetInputMethodProperty()
214 napi_get_named_property(env, argv, "iconId", &result); in GetInputMethodProperty()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_common.cpp211 napi_get_named_property(env, value, "credType", &result); in ParseAddCredInfo()
215 napi_get_named_property(env, value, "credSubType", &result); in ParseAddCredInfo()
219 napi_get_named_property(env, value, "token", &result); in ParseAddCredInfo()
232 napi_get_named_property(env, object, "onResult", &result); in ParseIAMCallback()
245 napi_get_named_property(env, object, "onAcquireInfo", &result); in ParseIAMCallback()
292 napi_get_named_property(env, object, "authType", &napiAuthType); in ParseGetPropRequest()
297 napi_get_named_property(env, object, "keys", &napiKeys); in ParseGetPropRequest()
315 napi_get_named_property(env, object, "key", &napiKey); in ParseSetPropRequest()
320 napi_get_named_property(env, object, "authType", &napiAuthType); in ParseSetPropRequest()
325 napi_get_named_property(env, object, "setInfo", &napiSetInfo); in ParseSetPropRequest()
Dnapi_account_iam_pin_auth.cpp62 napi_get_named_property(env, argv[PARAM_ZERO], "onGetData", &onGetData); in ParseContextForRegisterInputer()
Dnapi_account_iam_inputer_manager.cpp77 napi_get_named_property(env, argv[PARAM_ONE], "onGetData", &onGetData); in ParseContextForRegisterInputer()
/base/request/request/upload/interfaces/kits/napi/src/
Djs_util.cpp113 napi_get_named_property(env, value, key, &jsvalue); in Convert2Header()
252 NAPI_CALL(env, napi_get_named_property(env, object, propertyName.c_str(), &value)); in GetNamedProperty()
269 napi_get_named_property(env, jsConfig, "data", &data); in SetData()
295 napi_get_named_property(env, jsConfig, "header", &header); in SetHeader()
417 napi_get_named_property(env, jsValue, str.c_str(), &value); in SetOptionalParam()
499 napi_get_named_property(env, jsRequestData, "name", &value); in Convert2RequestData()
504 napi_get_named_property(env, jsRequestData, "value", &value); in Convert2RequestData()
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_js.cpp112 NAPI_CALL_BASE(env, napi_get_named_property(env, args[0], "success", &value), false); in GetCallbackInfo()
118 NAPI_CALL_BASE(env, napi_get_named_property(env, args[0], "mode", &value), false); in GetCallbackInfo()
126 NAPI_CALL_BASE(env, napi_get_named_property(env, args[0], "fail", &value), false); in GetCallbackInfo()
131 NAPI_CALL_BASE(env, napi_get_named_property(env, args[0], "complete", &value), false); in GetCallbackInfo()
Dvibrator_napi_utils.cpp116 …CHKCF((napi_get_named_property(env, value, type.c_str(), &item) == napi_ok), "napi get property fa… in GetPropertyString()
132 …CHKCF((napi_get_named_property(env, value, type.c_str(), &item) == napi_ok), "napi get property fa… in GetPropertyInt32()
/base/notification/eventhandler/frameworks/napi/src/
Devents_emitter.cpp242 napi_get_named_property(env, argv[0], "eventId", &eventId); in OnOrOnce()
309 napi_get_named_property(env, data, keyChars, &value); in ParseEventData()
340 napi_get_named_property(env, argv, "data", &data); in EmitWithEventData()
423 napi_get_named_property(env, argv[0], "eventId", &value); in JS_Emit()
437 napi_get_named_property(env, argv[0], "priority", &value); in JS_Emit()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_common.cpp439 napi_get_named_property(env, global, "AuthCallbackConstructor_", &jsAuthCallbackConstructor); in GetAuthenticatorCallbackForResult()
1225 napi_get_named_property(env, object, "credential", &value); in ParseVerifyCredentialOptions()
1233 napi_get_named_property(env, object, "credentialType", &value); in ParseVerifyCredentialOptions()
1241 napi_get_named_property(env, object, "parameters", &value); in ParseVerifyCredentialOptions()
1259 napi_get_named_property(env, object, "allowedAccounts", &value); in ParseSelectAccountsOptions()
1267 napi_get_named_property(env, object, "allowedOwners", &value); in ParseSelectAccountsOptions()
1275 napi_get_named_property(env, object, "requiredLabels", &value); in ParseSelectAccountsOptions()
1294 napi_get_named_property(env, object, "properties", &value); in ParseSetPropertiesOptions()
1302 napi_get_named_property(env, object, "parameters", &value); in ParseSetPropertiesOptions()
1313 napi_get_named_property(env, object, name.c_str(), &value); in GetNamedFunction()
[all …]
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp90 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "isRemote", &property), false) ; in ParseRequestResolveSomeParam()
97 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "deviceId", &property), false); in ParseRequestResolveSomeParam()
349 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "tokenId", &property), false); in ParseRequest()
360 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "bundleName", &property), false); in ParseRequest()
367 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "beginTime", &property), false); in ParseRequest()
374 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "endTime", &property), false); in ParseRequest()
381 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "permissionNames", &property), false); in ParseRequest()
388 NAPI_CALL_BASE(env, napi_get_named_property(env, value, "flag", &property), false); in ParseRequest()
/base/security/crypto_framework/frameworks/js/napi/certificate/src/
Dnapi_certificate_init.cpp82 napi_get_named_property(env, globalValue, "requireNapi", &func); in CreateCryptoModule()
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp47 if (napi_get_named_property(env, args, "bundleName", &prop) != napi_ok || in ParseElementName()
55 if (napi_get_named_property(env, args, "abilityName", &prop) != napi_ok || in ParseElementName()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_impl.cpp208 NAPI_CALL(env, napi_get_named_property(env, argv[PARAM3], "onResult", &onResultValue)); in Auth()
211 … NAPI_CALL(env, napi_get_named_property(env, argv[PARAM3], "onAcquireInfo", &onAcquireInfoValue)); in Auth()

123