/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_js_utils.cpp | 58 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, jsValue, "name", output.name), napi_invalid_arg); in Convert2Value() 59 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, jsValue, "uri", output.uri), napi_invalid_arg); in Convert2Value() 60 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, jsValue, "createTime", output.createTime), napi_invalid_arg); in Convert2Value() 61 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, jsValue, "modifyTime", output.modifyTime), napi_invalid_arg); in Convert2Value() 62 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, jsValue, "size", output.size), napi_invalid_arg); in Convert2Value() 63 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, jsValue, "path", output.path), napi_invalid_arg); in Convert2Value() 64 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, jsValue, "status", output.status, true), napi_invalid_arg); in Convert2Value() 82 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "sourceTable", output.sourceTable), napi_invalid_arg); in Convert2Value() 83 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "targetTable", output.targetTable), napi_invalid_arg); in Convert2Value() 84 NAPI_CALL_RETURN_ERR(GetNamedProperty(en in Convert2Value() [all...] |
/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/context/ |
H A D | net_firewall_param_check.cpp | 42 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, NET_FIREWALL_IS_OPEN)) !=
in CheckFirewallRulePolicy() 50 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, NET_FIREWALL_IN_ACTION)) !=
in CheckFirewallRulePolicy() 64 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, NET_FIREWALL_OUT_ACTION)) !=
in CheckFirewallRulePolicy() 82 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, NET_FIREWALL_DNS_PRIMARY)) !=
in CheckFirewallDns() 88 NapiUtils::GetStringFromValueUtf8(env, NapiUtils::GetNamedProperty(env, object, NET_FIREWALL_DNS_PRIMARY));
in CheckFirewallDns() 103 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, NET_FIREWALL_DNS_STANDY)) !=
in CheckFirewallDns() 109 NapiUtils::GetStringFromValueUtf8(env, NapiUtils::GetNamedProperty(env, object, NET_FIREWALL_DNS_STANDY));
in CheckFirewallDns() 229 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, valAttr, NET_FIREWALL_IP_ADDRESS)) !=
in CheckSingeIp() 234 NapiUtils::GetStringFromValueUtf8(env, NapiUtils::GetNamedProperty(env, valAttr, NET_FIREWALL_IP_ADDRESS));
in CheckSingeIp() 241 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(en in CheckSingeIp() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/ |
H A D | js_cloud_utils.cpp | 44 int32_t result = GetNamedProperty(env, input, "eventId", output.eventId); in Convert2Value() 48 return GetNamedProperty(env, input, "extraData", output.extraData); in Convert2Value() 60 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "identity", output.identity), napi_invalid_arg); in Convert2Value() 61 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "role", output.role, true), napi_invalid_arg); in Convert2Value() 65 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "state", output.state, true), napi_invalid_arg); in Convert2Value() 70 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "privilege", output.privilege, true), napi_invalid_arg); in Convert2Value() 71 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "attachInfo", output.attachInfo, true), napi_invalid_arg); in Convert2Value() 84 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "writable", output.writable, true), napi_invalid_arg); in Convert2Value() 85 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "readable", output.readable, true), napi_invalid_arg); in Convert2Value() 86 NAPI_CALL_RETURN_ERR(GetNamedProperty(en in Convert2Value() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | dialog_module.cpp | 66 JSIValue buttons = JSI::GetNamedProperty(args[0], BUTTON_KEY);
in ShowDialog() 69 JSIValue successFunc = JSI::GetNamedProperty(args[0], SUCCESS_FUNC_KEY);
in ShowDialog() 70 JSIValue cancelFunc = JSI::GetNamedProperty(args[0], CANCEL_FUNC_KEY);
in ShowDialog() 71 JSIValue completeFunc = JSI::GetNamedProperty(args[0], COMPLETE_FUNC_KEY);
in ShowDialog()
|
H A D | app_module.cpp | 140 JSIValue visibleInput = JSI::GetNamedProperty(args[0], SCREEN_ON_VISIBLE_KEY); in ScreenOnVisible() 160 JSIValue callback = JSI::GetNamedProperty(args[0], CB_SUCCESS); in OnSetActionSuccess() 170 JSIValue fail = JSI::GetNamedProperty(args[0], CB_FAIL); in OnSetActionFail() 183 JSIValue callback = JSI::GetNamedProperty(args[0], CB_COMPLETE); in OnSetActionComplete() 226 JSI::GetNamedProperty(result, SCREEN_ON_VISIBLE_DATA), in Execute() 227 JSI::GetNamedProperty(result, SCREEN_ON_VISIBLE_CODE) in Execute()
|
H A D | sample_module.cpp | 37 JSIValue callback = JSI::GetNamedProperty(args[0], CB_CALLBACK); in TestCallback() 53 JSIValue success = JSI::GetNamedProperty(args[0], CB_SUCCESS); in TestStandardCallback() 54 JSIValue fail = JSI::GetNamedProperty(args[0], CB_FAIL); in TestStandardCallback() 55 JSIValue complete = JSI::GetNamedProperty(args[0], CB_COMPLETE); in TestStandardCallback() 95 JSIValue callback = JSI::GetNamedProperty(args[0], CB_CALLBACK); in TestCallbackWithArgs() 133 JSIValue success = JSI::GetNamedProperty(args[0], CB_SUCCESS); in TestStandardCallbackWithArgs() 134 JSIValue fail = JSI::GetNamedProperty(args[0], CB_FAIL); in TestStandardCallbackWithArgs() 135 JSIValue complete = JSI::GetNamedProperty(args[0], CB_COMPLETE); in TestStandardCallbackWithArgs()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_js_utils.cpp | 36 NAPI_CALL_BASE(env, GetNamedProperty(env, jsValue, "version", output.version), napi_invalid_arg); in Convert2Value() 37 NAPI_CALL_BASE(env, GetNamedProperty(env, jsValue, "name", output.name), napi_invalid_arg); in Convert2Value() 38 NAPI_CALL_BASE(env, GetNamedProperty(env, jsValue, "uri", output.uri), napi_invalid_arg); in Convert2Value() 39 NAPI_CALL_BASE(env, GetNamedProperty(env, jsValue, "createTime", output.createTime), napi_invalid_arg); in Convert2Value() 40 NAPI_CALL_BASE(env, GetNamedProperty(env, jsValue, "modifyTime", output.modifyTime), napi_invalid_arg); in Convert2Value() 41 NAPI_CALL_BASE(env, GetNamedProperty(env, jsValue, "size", output.size), napi_invalid_arg); in Convert2Value() 42 NAPI_CALL_BASE(env, GetNamedProperty(env, jsValue, "hash", output.hash), napi_invalid_arg); in Convert2Value()
|
/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/context/ |
H A D | get_iface_uid_stats_context.cpp | 44 napi_value ifaceInfo = NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], IFACE_INFO); in ParseParams() 59 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], UID)) == napi_number; in ParseParams() 61 NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), ifaceInfo, IFACE)) == napi_string; in ParseParams() 63 NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), ifaceInfo, START_TIME)) == napi_number; in ParseParams() 65 NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), ifaceInfo, END_TIME)) == napi_number; in ParseParams()
|
H A D | get_traffic_stats_by_uid_network_context.cpp | 90 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_1], NET_BEAR_TYPE)) == napi_number; in CheckNetworkParams() 92 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_1], START_TIME)) == napi_number; in CheckNetworkParams() 94 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_1], END_TIME)) == napi_number; in CheckNetworkParams() 98 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_1], SIM_ID)) == napi_number; in CheckNetworkParams()
|
H A D | get_traffic_stats_by_network_context.cpp | 83 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], NET_BEAR_TYPE)) == napi_number; in CheckNetworkParams() 85 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], START_TIME)) == napi_number; in CheckNetworkParams() 87 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], END_TIME)) == napi_number; in CheckNetworkParams() 91 GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], SIM_ID)) == napi_number; in CheckNetworkParams()
|
H A D | get_iface_stats_context.cpp | 53 bool checkIfaceType = NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], in ParseParams() 55 bool checkStartType = NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], in ParseParams() 57 bool checkEndType = NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[ARG_INDEX_0], in ParseParams()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_media_description.cpp | 129 auto status = NapiUtils::GetNamedProperty(env, in, "mediaId", property); in GetMediaId() 131 status = NapiUtils::GetNamedProperty(env, in, "assetId", property); in GetMediaId() 154 auto status = NapiUtils::GetNamedProperty(env, in, "assetId", property); in GetAssetId() 165 auto status = NapiUtils::GetNamedProperty(env, in, "title", property); in GetTitle() 184 auto status = NapiUtils::GetNamedProperty(env, in, "subtitle", property); in GetSubtitle() 203 auto status = NapiUtils::GetNamedProperty(env, in, "description", property); in GetDescription() 257 auto status = NapiUtils::GetNamedProperty(env, in, "iconUri", property); in GetIconUri() 326 auto status = NapiUtils::GetNamedProperty(env, in, "extras", property); in GetExtras() 354 auto status = NapiUtils::GetNamedProperty(env, in, "mediaType", property); in GetMediaType() 373 auto status = NapiUtils::GetNamedProperty(en in GetMediaSize() [all...] |
H A D | napi_playback_state.cpp | 153 auto status = NapiUtils::GetNamedProperty(env, in, "state", property); in GetState() 172 auto status = NapiUtils::GetNamedProperty(env, in, "speed", property); in GetSpeed() 194 status = NapiUtils::GetNamedProperty(env, result, "updateTime", updateTime); in GetPosition() 197 status = NapiUtils::GetNamedProperty(env, result, "elapsedTime", elapsedTime); in GetPosition() 231 auto status = NapiUtils::GetNamedProperty(env, in, "bufferedTime", property); in GetBufferedTime() 250 auto status = NapiUtils::GetNamedProperty(env, in, "loopMode", property); in GetLoopMode() 269 auto status = NapiUtils::GetNamedProperty(env, in, "isFavorite", property); in GetIsFavorite() 288 auto status = NapiUtils::GetNamedProperty(env, in, "activeItemId", property); in GetActiveItemId() 307 auto status = NapiUtils::GetNamedProperty(env, in, "volume", property); in GetVolume() 326 auto status = NapiUtils::GetNamedProperty(en in GetMaxVolume() [all...] |
H A D | napi_meta_data.cpp | 197 auto status = NapiUtils::GetNamedProperty(env, in, "assetId", property); in GetAssetId() 216 auto status = NapiUtils::GetNamedProperty(env, in, "title", property); in GetTitle() 235 auto status = NapiUtils::GetNamedProperty(env, in, "artist", property); in GetArtist() 254 auto status = NapiUtils::GetNamedProperty(env, in, "author", property); in GetAuthor() 273 auto status = NapiUtils::GetNamedProperty(env, in, "avQueueName", property); in GetAVQueueName() 292 auto status = NapiUtils::GetNamedProperty(env, in, "avQueueId", property); in GetAVQueueId() 372 auto status = NapiUtils::GetNamedProperty(env, in, "album", property); in GetAlbum() 391 auto status = NapiUtils::GetNamedProperty(env, in, "writer", property); in GetWriter() 410 auto status = NapiUtils::GetNamedProperty(env, in, "composer", property); in GetComposer() 429 auto status = NapiUtils::GetNamedProperty(en in GetDuration() [all...] |
H A D | napi_control_command.cpp | 77 auto status = NapiUtils::GetNamedProperty(env, in, "command", cmd); in GetValue() 140 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", speed); in GetSpeed() 170 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", time); in GetForwardTime() 203 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", time); in GetRewindTime() 236 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", time); in GetSeekTime() 266 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", loopMode); in GetLoopMode() 295 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", assetId); in GetAssetId() 325 auto status = NapiUtils::GetNamedProperty(env, in, "parameter", playFromAssetId); in GetPlayFromAssetId()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/context/ |
H A D | setup_context.cpp | 77 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) != napi_string) { in GetStringFromJsMandatoryItem() 88 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) == napi_string) { in GetStringFromJsOptionItem() 100 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) == napi_number) { in GetUint8FromJsOptionItem() 112 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) == napi_boolean) { in GetBoolFromJsOptionItem() 199 napi_value netAddress = NapiUtils::GetNamedProperty(env, address, NET_ADDRESS); in ParseAddress() 224 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, address, NET_PREFIXLENGTH)) != napi_number) { in ParseAddress() 255 napi_value destination = NapiUtils::GetNamedProperty(env, jsRoute, NET_DESTINATION); in ParseDestination() 261 napi_value netAddress = NapiUtils::GetNamedProperty(env, destination, NET_ADDRESS); in ParseDestination() 287 napi_value gateway = NapiUtils::GetNamedProperty(env, jsRoute, NET_GATEWAY); in ParseGateway() 324 napi_value addrArray = NapiUtils::GetNamedProperty(GetEn in ParseAddrRouteParams() [all...] |
/foundation/communication/netmanager_ext/frameworks/js/napi/vpnext/src/context/ |
H A D | setup_context_ext.cpp | 74 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) != napi_string) { in GetStringFromJsMandatoryItem() 85 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) == napi_string) { in GetStringFromJsOptionItem() 97 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) == napi_number) { in GetUint8FromJsOptionItem() 109 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, object, key)) == napi_boolean) { in GetBoolFromJsOptionItem() 177 napi_value netAddress = NapiUtils::GetNamedProperty(env, address, NET_ADDRESS); in ParseAddress() 201 if (NapiUtils::GetValueType(env, NapiUtils::GetNamedProperty(env, address, NET_PREFIXLENGTH)) != napi_number) { in ParseAddress() 232 napi_value destination = NapiUtils::GetNamedProperty(env, jsRoute, NET_DESTINATION); in ParseDestination() 238 napi_value netAddress = NapiUtils::GetNamedProperty(env, destination, NET_ADDRESS); in ParseDestination() 263 napi_value gateway = NapiUtils::GetNamedProperty(env, jsRoute, NET_GATEWAY); in ParseGateway() 300 napi_value addrArray = NapiUtils::GetNamedProperty(GetEn in ParseAddrRouteParams() [all...] |
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/ |
H A D | js_util.cpp | 182 status = GetNamedProperty(env, in, "storeName", bindInfo.storeName); in GetValue() 184 status = GetNamedProperty(env, in, "tableName", bindInfo.tableName); in GetValue() 186 status = GetNamedProperty(env, in, "primaryKey", bindInfo.primaryKey); in GetValue() 189 status = GetNamedProperty(env, in, "field", bindInfo.field); in GetValue() 191 status = GetNamedProperty(env, in, "assetName", bindInfo.assetName); in GetValue() 201 status = GetNamedProperty(env, in, "name", asset.name); in GetValue() 203 status = GetNamedProperty(env, in, "uri", asset.uri); in GetValue() 205 status = GetNamedProperty(env, in, "path", asset.path); in GetValue() 207 status = GetNamedProperty(env, in, "createTime", asset.createTime); in GetValue() 209 status = GetNamedProperty(en in GetValue() [all...] |
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/ |
H A D | fetch_module.cpp | 50 asyncCallback->responseCallback[CB_SUCCESS] = JSI::GetNamedProperty(args[0], CB_SUCCESS); in Fetch() 51 asyncCallback->responseCallback[CB_FAIL] = JSI::GetNamedProperty(args[0], CB_FAIL); in Fetch() 52 asyncCallback->responseCallback[CB_COMPLETE] = JSI::GetNamedProperty(args[0], CB_COMPLETE); in Fetch() 85 JSI::GetNamedProperty(options, HttpConstant::KEY_HTTP_REQUEST_HEADER), JSI::ReleaseValue); in JsObjectToRequestData() 130 JSI::GetNamedProperty(options, HttpConstant::KEY_HTTP_REQUEST_DATA), JSI::ReleaseValue); in GetRequestBody() 168 JSI::GetNamedProperty(options, HttpConstant::KEY_HTTP_REQUEST_DATA), JSI::ReleaseValue); in ParseExtraData() 218 JSI::GetNamedProperty(options, HttpConstant::KEY_HTTP_REQUEST_METHOD), JSI::ReleaseValue); in GetMethodFromOptions() 254 JSI::GetNamedProperty(options, HttpConstant::KEY_HTTP_REQUEST_RESPONSE_TYPE), JSI::ReleaseValue); in GetResponseTypeFromOptions()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/observer/ |
H A D | ui_observer_listener.cpp | 323 napi_value UIObserverListener::GetNamedProperty(napi_env env, napi_value object, const std::string& propertyName) in GetNamedProperty() function in OHOS::Ace::Napi::UIObserverListener 384 napi_value napiRepeat = GetNamedProperty(env_, objValueClickEvent, "repeat"); in AddGestureEventInfoOne() 389 napi_value napiOffsetX = GetNamedProperty(env_, objValueClickEvent, "offsetX"); in AddGestureEventInfoOne() 394 napi_value napiOffsetY = GetNamedProperty(env_, objValueClickEvent, "offsetY"); in AddGestureEventInfoOne() 399 napi_value napiScale = GetNamedProperty(env_, objValueClickEvent, "scale"); in AddGestureEventInfoOne() 404 napi_value napiAngle = GetNamedProperty(env_, objValueClickEvent, "angle"); in AddGestureEventInfoOne() 409 napi_value napiSpeed = GetNamedProperty(env_, objValueClickEvent, "speed"); in AddGestureEventInfoOne() 428 napi_value napiGlobalX = GetNamedProperty(env_, objValueClickEvent, "globalX"); in AddGestureEventInfoTwo() 433 napi_value napiGlobalY = GetNamedProperty(env_, objValueClickEvent, "globalY"); in AddGestureEventInfoTwo() 438 napi_value napiLocalX = GetNamedProperty(env in AddGestureEventInfoTwo() [all...] |
/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/ |
H A D | udp_send_context.cpp | 48 napi_value netAddress = NapiUtils::GetNamedProperty(GetEnv(), params[0], KEY_ADDRESS); in ParseParams() 93 NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[0], KEY_ADDRESS)) == in CheckParamsType() 99 NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[0], KEY_ADDRESS)) == in CheckParamsType() 108 napi_value jsData = NapiUtils::GetNamedProperty(GetEnv(), udpSendOptions, KEY_DATA); in GetData()
|
H A D | connect_context.cpp | 48 napi_value netAddress = NapiUtils::GetNamedProperty(GetEnv(), params[0], KEY_ADDRESS); in ParseParams() 96 NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[0], KEY_ADDRESS)) == in CheckParamsType() 102 NapiUtils::GetValueType(GetEnv(), NapiUtils::GetNamedProperty(GetEnv(), params[0], KEY_ADDRESS)) == in CheckParamsType()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/contexts/ |
H A D | mdns_base_context.cpp | 81 napi_value valueObj = NapiUtils::GetNamedProperty(env, svrAttr, SERVICEINFO_ATTR_VALUE); in ParseAttributeObj() 105 napi_value info = NapiUtils::GetNamedProperty(env, obj, CONTEXT_ATTR_APPINFO); in GetContextIdString() 125 napi_value hostObj = NapiUtils::GetNamedProperty(env, value, SERVICEINFO_HOST); in ParseServiceInfo() 129 napi_value attrObj = NapiUtils::GetNamedProperty(env, value, SERVICEINFO_ATTR); in ParseServiceInfo()
|
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/ |
H A D | request_context.cpp | 198 napi_value value = NapiUtils::GetNamedProperty(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_USING_CACHE); in ParseNumberOptions() 205 napi_value value = NapiUtils::GetNamedProperty(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_USING_PROTOCOL); in ParseNumberOptions() 217 NapiUtils::GetNamedProperty(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_EXPECT_DATA_TYPE); in ParseNumberOptions() 225 napi_value value = NapiUtils::GetNamedProperty(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_PRIORITY); in ParseNumberOptions() 238 napi_value header = NapiUtils::GetNamedProperty(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_HEADER); in ParseHeader() 248 napi_value value = NapiUtils::GetNamedProperty(GetEnv(), header, name); in ParseHeader() 305 napi_value extraData = NapiUtils::GetNamedProperty(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_EXTRA_DATA); in ParseExtraData() 329 NapiUtils::GetNamedProperty(GetEnv(), optionsValue, HttpConstant::PARAM_KEY_USING_HTTP_PROXY); in ParseUsingHttpProxy() 345 NapiUtils::GetNamedProperty(GetEnv(), httpProxyValue, HttpConstant::HTTP_PROXY_KEY_EXCLUSION_LIST); in ParseUsingHttpProxy() 426 napi_value requestMethod = NapiUtils::GetNamedProperty(GetEn in UrlAndOptions() [all...] |
/foundation/communication/netmanager_base/frameworks/js/napi/network/async_context/src/ |
H A D | gettype_context.cpp | 79 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_SUCCESS); in SetSuccessCallback() 96 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_FAIL); in SetFailCallback() 113 napi_value callback = NapiUtils::GetNamedProperty(GetEnv(), options, KEY_COMPLETE); in SetCompleteCallback()
|