Home
last modified time | relevance | path

Searched refs:SetNamedProperty (Results 1 - 25 of 72) sorted by relevance

123

/foundation/ability/ability_runtime/frameworks/js/napi/wantConstant/
H A Dwant_constant.cpp41 SetNamedProperty(env, action, "ohos.want.action.home", "ACTION_HOME"); in WantConstantInit()
42 SetNamedProperty(env, action, "ohos.want.action.dial", "ACTION_DIAL"); in WantConstantInit()
43 SetNamedProperty(env, action, "ohos.want.action.search", "ACTION_SEARCH"); in WantConstantInit()
44 SetNamedProperty(env, action, "ohos.settings.wireless", "ACTION_WIRELESS_SETTINGS"); in WantConstantInit()
45 SetNamedProperty(env, action, "ohos.settings.manage.applications", "ACTION_MANAGE_APPLICATIONS_SETTINGS"); in WantConstantInit()
46 SetNamedProperty(env, action, "ohos.settings.application.details", "ACTION_APPLICATION_DETAILS_SETTINGS"); in WantConstantInit()
47 SetNamedProperty(env, action, "ohos.want.action.setAlarm", "ACTION_SET_ALARM"); in WantConstantInit()
48 SetNamedProperty(env, action, "ohos.want.action.showAlarms", "ACTION_SHOW_ALARMS"); in WantConstantInit()
49 SetNamedProperty(env, action, "ohos.want.action.snoozeAlarm", "ACTION_SNOOZE_ALARM"); in WantConstantInit()
50 SetNamedProperty(en in WantConstantInit()
146 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) SetNamedProperty() function
154 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) SetNamedProperty() function
[all...]
H A Dwant_constant.h34 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName);
35 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName);
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avsession_enum.cpp27 static napi_status SetNamedProperty(napi_env env, napi_value& obj, const std::string& name, int32_t value) in SetNamedProperty() function
46 (void)SetNamedProperty(env, result, "LOOP_MODE_SEQUENCE", AVPlaybackState::LOOP_MODE_SEQUENCE); in ExportLoopMode()
47 (void)SetNamedProperty(env, result, "LOOP_MODE_SINGLE", AVPlaybackState::LOOP_MODE_SINGLE); in ExportLoopMode()
48 (void)SetNamedProperty(env, result, "LOOP_MODE_LIST", AVPlaybackState::LOOP_MODE_LIST); in ExportLoopMode()
49 (void)SetNamedProperty(env, result, "LOOP_MODE_SHUFFLE", AVPlaybackState::LOOP_MODE_SHUFFLE); in ExportLoopMode()
50 (void)SetNamedProperty(env, result, "LOOP_MODE_CUSTOM", AVPlaybackState::LOOP_MODE_CUSTOM); in ExportLoopMode()
61 (void)SetNamedProperty(env, result, "SECONDS_10", AVMetaData::SECONDS_10); in ExportSkipIntervals()
62 (void)SetNamedProperty(env, result, "SECONDS_15", AVMetaData::SECONDS_15); in ExportSkipIntervals()
63 (void)SetNamedProperty(env, result, "SECONDS_30", AVMetaData::SECONDS_30); in ExportSkipIntervals()
74 (void)SetNamedProperty(en in ExportAVCastCategory()
[all...]
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_castengine_enum.cpp31 static napi_status SetNamedProperty(napi_env env, napi_value &obj, const std::string &name, int32_t value) in SetNamedProperty() function
52 (void)SetNamedProperty(env, result, "PLAYER_STATE_ERROR", static_cast<int32_t>(PlayerStates::PLAYER_STATE_ERROR)); in ExportPlayerStates()
53 (void)SetNamedProperty(env, result, "PLAYER_IDLE", static_cast<int32_t>(PlayerStates::PLAYER_IDLE)); in ExportPlayerStates()
54 (void)SetNamedProperty(env, result, "PLAYER_INITIALIZED", static_cast<int32_t>(PlayerStates::PLAYER_INITIALIZED)); in ExportPlayerStates()
55 (void)SetNamedProperty(env, result, "PLAYER_PREPARING", static_cast<int32_t>(PlayerStates::PLAYER_PREPARING)); in ExportPlayerStates()
56 (void)SetNamedProperty(env, result, "PLAYER_PREPARED", static_cast<int32_t>(PlayerStates::PLAYER_PREPARED)); in ExportPlayerStates()
57 (void)SetNamedProperty(env, result, "PLAYER_STARTED", static_cast<int32_t>(PlayerStates::PLAYER_STARTED)); in ExportPlayerStates()
58 (void)SetNamedProperty(env, result, "PLAYER_PAUSED", static_cast<int32_t>(PlayerStates::PLAYER_PAUSED)); in ExportPlayerStates()
59 (void)SetNamedProperty(env, result, "PLAYER_STOPPED", static_cast<int32_t>(PlayerStates::PLAYER_STOPPED)); in ExportPlayerStates()
60 (void)SetNamedProperty(en in ExportPlayerStates()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_const_properties.cpp24 static napi_status SetNamedProperty(napi_env env, napi_value& obj, const std::string& name, int32_t value) in SetNamedProperty() function
45 SetNamedProperty(env, constants, "MAX_KEY_LENGTH", MAX_KEY_LENGTH); in ExportConstants()
46 SetNamedProperty(env, constants, "MAX_VALUE_LENGTH", MAX_VALUE_LENGTH); in ExportConstants()
47 SetNamedProperty(env, constants, "MAX_KEY_LENGTH_DEVICE", MAX_KEY_LENGTH_DEVICE); in ExportConstants()
48 SetNamedProperty(env, constants, "MAX_STORE_ID_LENGTH", MAX_STORE_ID_LENGTH); in ExportConstants()
49 SetNamedProperty(env, constants, "MAX_QUERY_LENGTH", MAX_QUERY_LENGTH); in ExportConstants()
50 SetNamedProperty(env, constants, "MAX_BATCH_SIZE", MAX_BATCH_SIZE); in ExportConstants()
59 SetNamedProperty(env, valueType, "STRING", (int32_t)JSUtil::STRING); in ExportValueType()
60 SetNamedProperty(env, valueType, "INTEGER", (int32_t)JSUtil::INTEGER); in ExportValueType()
61 SetNamedProperty(en in ExportValueType()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_const_properties.cpp24 static napi_status SetNamedProperty(napi_env env, napi_value& obj, const std::string& name, int32_t value) in SetNamedProperty() function
40 SetNamedProperty(env, userType, "SAME_USER_ID", SAME_USER_ID); in ExportUserType()
56 SetNamedProperty(env, constants, "MAX_KEY_LENGTH", MAX_KEY_LENGTH); in ExportConstants()
57 SetNamedProperty(env, constants, "MAX_VALUE_LENGTH", MAX_VALUE_LENGTH); in ExportConstants()
58 SetNamedProperty(env, constants, "MAX_KEY_LENGTH_DEVICE", MAX_KEY_LENGTH_DEVICE); in ExportConstants()
59 SetNamedProperty(env, constants, "MAX_STORE_ID_LENGTH", MAX_STORE_ID_LENGTH); in ExportConstants()
60 SetNamedProperty(env, constants, "MAX_QUERY_LENGTH", MAX_QUERY_LENGTH); in ExportConstants()
61 SetNamedProperty(env, constants, "MAX_BATCH_SIZE", MAX_BATCH_SIZE); in ExportConstants()
70 SetNamedProperty(env, valueType, "STRING", (int32_t)JSUtil::STRING); in ExportValueType()
71 SetNamedProperty(en in ExportValueType()
[all...]
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_utils.cpp51 static napi_status SetNamedProperty(napi_env env, napi_value& obj, const std::string& name, int32_t value) in SetNamedProperty() function
73 (void)SetNamedProperty(env, result, "VIDEO_PLAY", static_cast<int32_t>(PiPTemplateType::VIDEO_PLAY)); in ExportPictureInPictureTemplateType()
74 (void)SetNamedProperty(env, result, "VIDEO_CALL", static_cast<int32_t>(PiPTemplateType::VIDEO_CALL)); in ExportPictureInPictureTemplateType()
75 (void)SetNamedProperty(env, result, "VIDEO_MEETING", static_cast<int32_t>(PiPTemplateType::VIDEO_MEETING)); in ExportPictureInPictureTemplateType()
76 (void)SetNamedProperty(env, result, "VIDEO_LIVE", static_cast<int32_t>(PiPTemplateType::VIDEO_LIVE)); in ExportPictureInPictureTemplateType()
89 (void)SetNamedProperty(env, result, "ABOUT_TO_START", static_cast<int32_t>(PiPState::ABOUT_TO_START)); in ExportPictureInPictureState()
90 (void)SetNamedProperty(env, result, "STARTED", static_cast<int32_t>(PiPState::STARTED)); in ExportPictureInPictureState()
91 (void)SetNamedProperty(env, result, "ABOUT_TO_STOP", static_cast<int32_t>(PiPState::ABOUT_TO_STOP)); in ExportPictureInPictureState()
92 (void)SetNamedProperty(env, result, "STOPPED", static_cast<int32_t>(PiPState::STOPPED)); in ExportPictureInPictureState()
93 (void)SetNamedProperty(en in ExportPictureInPictureState()
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/
H A Dfeature_ability_constant.cpp42 SetNamedProperty(env, abilityStartSetting, "abilityBounds", "BOUNDS_KEY"); in FAConstantInit()
43 SetNamedProperty(env, abilityStartSetting, "windowMode", "WINDOW_MODE_KEY"); in FAConstantInit()
44 SetNamedProperty(env, abilityStartSetting, "displayId", "DISPLAY_ID_KEY"); in FAConstantInit()
46 SetNamedProperty(env, abilityWindowConfiguration, 0, "WINDOW_MODE_UNDEFINED"); in FAConstantInit()
47 SetNamedProperty(env, abilityWindowConfiguration, 1, "WINDOW_MODE_FULLSCREEN"); in FAConstantInit()
48 SetNamedProperty(env, abilityWindowConfiguration, Window_Configuration_Zero, "WINDOW_MODE_SPLIT_PRIMARY"); in FAConstantInit()
49 SetNamedProperty(env, abilityWindowConfiguration, Window_Configuration_One, "WINDOW_MODE_SPLIT_SECONDARY"); in FAConstantInit()
50 SetNamedProperty(env, abilityWindowConfiguration, Window_Configuration_Two, "WINDOW_MODE_FLOATING"); in FAConstantInit()
52 SetNamedProperty(env, errorCode, NO_ERROR, "NO_ERROR"); in FAConstantInit()
53 SetNamedProperty(en in FAConstantInit()
67 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) SetNamedProperty() function
75 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) SetNamedProperty() function
[all...]
H A Dfeature_ability_constant.h33 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName);
34 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName);
H A Dnapi_data_ability_operation.cpp38 SetNamedProperty(env, dataAbilityOperationType, "TYPE_INSERT", INSERT); in DataAbilityOperationInit()
39 SetNamedProperty(env, dataAbilityOperationType, "TYPE_UPDATE", UPDATE); in DataAbilityOperationInit()
40 SetNamedProperty(env, dataAbilityOperationType, "TYPE_DELETE", DELETE); in DataAbilityOperationInit()
41 SetNamedProperty(env, dataAbilityOperationType, "TYPE_ASSERT", ASSERT); in DataAbilityOperationInit()
228 void SetNamedProperty(napi_env env, napi_value obj, const char *propName, int propValue) in SetNamedProperty() function
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
H A Djs_const_properties.cpp27 static napi_status SetNamedProperty(napi_env env, napi_value &obj, const std::string &name, int32_t value) in SetNamedProperty() function
41 SetNamedProperty(env, action, "CLEAR_CLOUD_INFO", (int32_t)Action::CLEAR_CLOUD_INFO); in ExportAction()
42 SetNamedProperty(env, action, "CLEAR_CLOUD_DATA_AND_INFO", (int32_t)Action::CLEAR_CLOUD_DATA_AND_INFO); in ExportAction()
51 SetNamedProperty(env, role, "ROLE_INVITER", Role::ROLE_INVITER); in ExportRole()
52 SetNamedProperty(env, role, "ROLE_INVITEE", Role::ROLE_INVITEE); in ExportRole()
61 SetNamedProperty(env, state, "STATE_UNKNOWN", Confirmation::CFM_UNKNOWN); in ExportShareState()
62 SetNamedProperty(env, state, "STATE_ACCEPTED", Confirmation::CFM_ACCEPTED); in ExportShareState()
63 SetNamedProperty(env, state, "STATE_REJECTED", Confirmation::CFM_REJECTED); in ExportShareState()
64 SetNamedProperty(env, state, "STATE_SUSPENDED", Confirmation::CFM_SUSPENDED); in ExportShareState()
65 SetNamedProperty(en in ExportShareState()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/
H A Dnative_module.cpp26 static void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() function
35 SetNamedProperty(env, value, "Web Browser", "BROWSER"); in CreateApplicationType()
36 SetNamedProperty(env, value, "Image Gallery", "IMAGE"); in CreateApplicationType()
37 SetNamedProperty(env, value, "Audio Player", "AUDIO"); in CreateApplicationType()
38 SetNamedProperty(env, value, "Video Player", "VIDEO"); in CreateApplicationType()
39 SetNamedProperty(env, value, "PDF Viewer", "PDF"); in CreateApplicationType()
40 SetNamedProperty(env, value, "Word Viewer", "WORD"); in CreateApplicationType()
41 SetNamedProperty(env, value, "Excel Viewer", "EXCEL"); in CreateApplicationType()
42 SetNamedProperty(env, value, "PPT Viewer", "PPT"); in CreateApplicationType()
43 SetNamedProperty(en in CreateApplicationType()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_const_properties.cpp27 static napi_status SetNamedProperty(napi_env env, napi_value& obj, const std::string& name, int32_t value) in SetNamedProperty() function
45 (void)SetNamedProperty(env, syncMode, "SYNC_MODE_PUSH", (int32_t)SyncMode::PUSH); in ExportSyncMode()
46 (void)SetNamedProperty(env, syncMode, "SYNC_MODE_PULL", (int32_t)SyncMode::PULL); in ExportSyncMode()
56 (void)SetNamedProperty(env, subscribeType, "SUBSCRIBE_TYPE_REMOTE", (int32_t)SubscribeMode::REMOTE); in ExportSubscribeType()
66 (void) SetNamedProperty(env, securityLevel, "S1", (int32_t)NativeRdb::SecurityLevel::S1); in ExportSecurityLevel()
67 (void) SetNamedProperty(env, securityLevel, "S2", (int32_t)NativeRdb::SecurityLevel::S2); in ExportSecurityLevel()
68 (void) SetNamedProperty(env, securityLevel, "S3", (int32_t)NativeRdb::SecurityLevel::S3); in ExportSecurityLevel()
69 (void) SetNamedProperty(env, securityLevel, "S4", (int32_t)NativeRdb::SecurityLevel::S4); in ExportSecurityLevel()
H A Dnapi_rdb_js_utils.cpp51 NAPI_CALL_BASE(env, SetNamedProperty(env, object, "version", value.version), object); in Convert2JSValue()
52 NAPI_CALL_BASE(env, SetNamedProperty(env, object, "name", value.name), object); in Convert2JSValue()
53 NAPI_CALL_BASE(env, SetNamedProperty(env, object, "uri", value.uri), object); in Convert2JSValue()
54 NAPI_CALL_BASE(env, SetNamedProperty(env, object, "createTime", value.createTime), object); in Convert2JSValue()
55 NAPI_CALL_BASE(env, SetNamedProperty(env, object, "modifyTime", value.modifyTime), object); in Convert2JSValue()
56 NAPI_CALL_BASE(env, SetNamedProperty(env, object, "size", value.size), object); in Convert2JSValue()
57 NAPI_CALL_BASE(env, SetNamedProperty(env, object, "hash", value.hash), object); in Convert2JSValue()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_common_type_init.cpp21 static napi_status SetNamedProperty(napi_env env, napi_value &obj, const std::string &name, in SetNamedProperty() function
37 SetNamedProperty(env, assetStatus, "ASSET_NORMAL", AssetValue::STATUS_NORMAL); in ExportAssetStatus()
38 SetNamedProperty(env, assetStatus, "ASSET_INSERT", AssetValue::STATUS_INSERT); in ExportAssetStatus()
39 SetNamedProperty(env, assetStatus, "ASSET_UPDATE", AssetValue::STATUS_UPDATE); in ExportAssetStatus()
40 SetNamedProperty(env, assetStatus, "ASSET_DELETE", AssetValue::STATUS_DELETE); in ExportAssetStatus()
41 SetNamedProperty(env, assetStatus, "ASSET_ABNORMAL", AssetValue::STATUS_ABNORMAL); in ExportAssetStatus()
42 SetNamedProperty(env, assetStatus, "ASSET_DOWNLOADING", AssetValue::STATUS_DOWNLOADING); in ExportAssetStatus()
/foundation/window/window_manager/interfaces/kits/napi/screenshot/
H A Dnative_screenshot_module.cpp336 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) in SetNamedProperty() function
352 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
354 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
356 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
358 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
360 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
362 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
364 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
366 SetNamedProperty(env, errorCode, in ScreenshotModuleInit()
368 SetNamedProperty(en in ScreenshotModuleInit()
[all...]
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/
H A Dnapi_datashare_const_properties.cpp28 static napi_status SetNamedProperty(napi_env env, napi_value &obj, const std::string &name, int32_t value) in SetNamedProperty() function
41 SetNamedProperty(env, changeType, "INSERT", static_cast<int32_t>(DataShareObserver::ChangeType::INSERT)); in ExportChangeType()
42 SetNamedProperty(env, changeType, "DELETE", static_cast<int32_t>(DataShareObserver::ChangeType::DELETE)); in ExportChangeType()
43 SetNamedProperty(env, changeType, "UPDATE", static_cast<int32_t>(DataShareObserver::ChangeType::UPDATE)); in ExportChangeType()
52 SetNamedProperty(env, SubscriptionType, "SUBSCRIPTION_TYPE_EXACT_URI", in ExportSubscriptionType()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dnapi_zlib.cpp118 SetNamedProperty(env, flushType, "FLUSH_TYPE_NO_FLUSH", FLUSH_TYPE_NO_FLUSH); in FlushTypeInit()
119 SetNamedProperty(env, flushType, "FLUSH_TYPE_PARTIAL_FLUSH", FLUSH_TYPE_PARTIAL_FLUSH); in FlushTypeInit()
120 SetNamedProperty(env, flushType, "FLUSH_TYPE_SYNC_FLUSH", FLUSH_TYPE_SYNC_FLUSH); in FlushTypeInit()
121 SetNamedProperty(env, flushType, "FLUSH_TYPE_FULL_FLUSH", FLUSH_TYPE_FULL_FLUSH); in FlushTypeInit()
122 SetNamedProperty(env, flushType, "FLUSH_TYPE_FINISH", FLUSH_TYPE_FINISH); in FlushTypeInit()
123 SetNamedProperty(env, flushType, "FLUSH_TYPE_BLOCK", FLUSH_TYPE_BLOCK); in FlushTypeInit()
124 SetNamedProperty(env, flushType, "FLUSH_TYPE_TREES", FLUSH_TYPE_TREES); in FlushTypeInit()
150 SetNamedProperty(env, compressLevel, "COMPRESS_LEVEL_NO_COMPRESSION", COMPRESS_LEVEL_NO_COMPRESSION); in CompressLevelInit()
151 SetNamedProperty(env, compressLevel, "COMPRESS_LEVEL_BEST_SPEED", COMPRESS_LEVEL_BEST_SPEED); in CompressLevelInit()
152 SetNamedProperty(en in CompressLevelInit()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dclock_hand_component.cpp106 SetNamedProperty(nativeObj, stylePivotX, pivotXValue); in PostRender()
107 SetNamedProperty(nativeObj, stylePivotY, pivotYValue); in PostRender()
108 SetNamedProperty(nativeObj, ATTR_TYPE, typeIdValue); in PostRender()
114 SetNamedProperty(nativeObj, COMMON_STYLE_COLOR, fillColorValue); in PostRender()
116 SetNamedProperty(nativeObj, COMMON_STYLE_OPACITY, opacityValue); in PostRender()
120 SetNamedProperty(nativeObj, CLOCK_HAND_IS_IMAGE, isImage); in PostRender()
207 void ClockHandComponent::SetNamedProperty(jerry_value_t obj, const char * const name, jerry_value_t value) in SetNamedProperty() function in OHOS::ACELite::ClockHandComponent
/foundation/communication/netstack/frameworks/js/napi/tls/src/
H A Dmonitor.cpp74 NapiUtils::SetNamedProperty(workWrapper->env, remoteInfo, PROPERTY_ADDRESS, address); in SetPropertyForWorkWrapper()
75 NapiUtils::SetNamedProperty(workWrapper->env, remoteInfo, PROPERTY_FAMILY, family); in SetPropertyForWorkWrapper()
76 NapiUtils::SetNamedProperty(workWrapper->env, remoteInfo, PROPERTY_PORT, port); in SetPropertyForWorkWrapper()
77 NapiUtils::SetNamedProperty(workWrapper->env, remoteInfo, PROPERTY_SIZE, size); in SetPropertyForWorkWrapper()
78 NapiUtils::SetNamedProperty(workWrapper->env, obj, ON_MESSAGE, message); in SetPropertyForWorkWrapper()
79 NapiUtils::SetNamedProperty(workWrapper->env, obj, ON_REMOTE_INFO, remoteInfo); in SetPropertyForWorkWrapper()
182 NapiUtils::SetNamedProperty(workWrapper->env, obj, "errorNumber", errorNumber); in EventErrorCallback()
183 NapiUtils::SetNamedProperty(workWrapper->env, obj, "errorString", errorString); in EventErrorCallback()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/observer/src/
H A Dnet_conn_callback_observer.cpp254 NapiUtils::SetNamedProperty(env, obj, KEY_NET_HANDLE, netHandle); in CreateNetCapabilitiesChangeParam()
255 NapiUtils::SetNamedProperty(env, obj, KEY_NET_CAP, capabilities); in CreateNetCapabilitiesChangeParam()
265 NapiUtils::SetNamedProperty(env, obj, KEY_NET_HANDLE, netHandle); in CreateNetConnectionPropertiesChangeParam()
266 NapiUtils::SetNamedProperty(env, obj, KEY_CONNECTION_PROPERTIES, properties); in CreateNetConnectionPropertiesChangeParam()
284 NapiUtils::SetNamedProperty(env, obj, KEY_NET_HANDLE, netHandle); in CreateNetBlockStatusChangeParam()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_exec/src/
H A Dconnection_exec.cpp77 NapiUtils::SetNamedProperty(env, netCapabilities, KEY_NETWORK_CAP, networkCap); in CreateNetCapabilities()
86 NapiUtils::SetNamedProperty(env, netCapabilities, KEY_BEARER_TYPE, bearerTypes); in CreateNetCapabilities()
300 NapiUtils::SetNamedProperty(context->GetEnv(), httpProxy, "host", host); in GetDefaultHttpProxyCallback()
301 NapiUtils::SetNamedProperty(context->GetEnv(), httpProxy, "port", port); in GetDefaultHttpProxyCallback()
302 NapiUtils::SetNamedProperty(context->GetEnv(), httpProxy, "exclusionList", exclusionList); in GetDefaultHttpProxyCallback()
328 NapiUtils::SetNamedProperty(context->GetEnv(), httpProxy, "host", host); in GetGlobalHttpProxyCallback()
329 NapiUtils::SetNamedProperty(context->GetEnv(), httpProxy, "port", port); in GetGlobalHttpProxyCallback()
330 NapiUtils::SetNamedProperty(context->GetEnv(), httpProxy, "exclusionList", exclusionList); in GetGlobalHttpProxyCallback()
784 NapiUtils::SetNamedProperty(env, linkAddr, KEY_ADDRESS, netAddr); in FillLinkAddress()
788 NapiUtils::SetNamedProperty(en in FillLinkAddress()
[all...]
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnetpolicy_module.cpp262 NapiUtils::SetNamedProperty(env, exports, NET_BACKGROUND_POLICY, result); in CreateBackgroundPolicy()
273 NapiUtils::SetNamedProperty(env, exports, METERING_MODE, result); in CreateMeteringMode()
284 NapiUtils::SetNamedProperty(env, exports, REMIND_TYPE, type); in CreateRemindType()
299 NapiUtils::SetNamedProperty(env, exports, NET_UID_RULE, result); in CreateNetUidRule()
311 NapiUtils::SetNamedProperty(env, exports, NET_UID_POLICY, result); in CreateNetUidPolicy()
323 NapiUtils::SetNamedProperty(env, exports, NET_LIMIT_ACTION, result); in CreateLimitAction()
/foundation/multimodalinput/input/frameworks/napi/input_consumer/include/
H A Djs_register_util.h46 void SetNamedProperty(const napi_env &env, napi_value &object, const std::string &name, int32_t value);
47 void SetNamedProperty(const napi_env &env, napi_value &object, const std::string &name, std::string value);
/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/
H A Dmdns_exec.cpp142 NapiUtils::SetNamedProperty(env, attrItem, SERVICEINFO_ATTR_VALUE, valArr); in CreateAttributeObj()
168 NapiUtils::SetNamedProperty(env, object, SERVICEINFO_HOST, eleObj); in CreateCallbackParam()
169 NapiUtils::SetNamedProperty(env, object, SERVICEINFO_ATTR, attrArrObj); in CreateCallbackParam()

Completed in 17 milliseconds

123