Home
last modified time | relevance | path

Searched refs:SetNamedPropertyByInteger (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/constant/
H A Dnapi_bluetooth_constant.cpp83 SetNamedPropertyByInteger( in ProfileIdInit()
86 SetNamedPropertyByInteger( in ProfileIdInit()
178 SetNamedPropertyByInteger( in ComputerMajorClassOfDeviceInit()
180 SetNamedPropertyByInteger( in ComputerMajorClassOfDeviceInit()
182 SetNamedPropertyByInteger( in ComputerMajorClassOfDeviceInit()
184 SetNamedPropertyByInteger( in ComputerMajorClassOfDeviceInit()
186 SetNamedPropertyByInteger( in ComputerMajorClassOfDeviceInit()
192 SetNamedPropertyByInteger( in ComputerMajorClassOfDeviceInit()
194 SetNamedPropertyByInteger( in ComputerMajorClassOfDeviceInit()
201 SetNamedPropertyByInteger( in PhoneMajorClassOfDeviceInit()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_entry.cpp50 SetNamedPropertyByInteger(env, addressType, in DeviceAddressTypeInit()
52 SetNamedPropertyByInteger(env, addressType, in DeviceAddressTypeInit()
62 SetNamedPropertyByInteger(env, securityType, in SecurityTypeInit()
70 SetNamedPropertyByInteger(env, securityType, in SecurityTypeInit()
73 SetNamedPropertyByInteger(env, securityType, in SecurityTypeInit()
75 SetNamedPropertyByInteger(env, securityType, in SecurityTypeInit()
141 SetNamedPropertyByInteger(env, reason, in DisconnectedReasonInit()
143 SetNamedPropertyByInteger(env, reason, in DisconnectedReasonInit()
145 SetNamedPropertyByInteger(env, reason, in DisconnectedReasonInit()
147 SetNamedPropertyByInteger(env, reason, in DisconnectedReasonInit()
[all …]
H A Dwifi_ext_napi_entry.cpp25SetNamedPropertyByInteger(env, PowerModel, static_cast<int>(PowerModelJs::SLEEPING), "SLEEPING"); in PowerModelInit()
26 SetNamedPropertyByInteger(env, PowerModel, static_cast<int>(PowerModelJs::GENERAL), "GENERAL"); in PowerModelInit()
27SetNamedPropertyByInteger(env, PowerModel, static_cast<int>(PowerModelJs::THROUGH_WALL), "THROUGH_… in PowerModelInit()
H A Dwifi_napi_utils.cpp420 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa… in SetNamedPropertyByInteger() function
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dconstant.cpp104 SetNamedPropertyByInteger( in SemanticActionButtonInit()
106 SetNamedPropertyByInteger( in SemanticActionButtonInit()
108 SetNamedPropertyByInteger( in SemanticActionButtonInit()
110 SetNamedPropertyByInteger( in SemanticActionButtonInit()
112 SetNamedPropertyByInteger( in SemanticActionButtonInit()
114 SetNamedPropertyByInteger( in SemanticActionButtonInit()
116 SetNamedPropertyByInteger( in SemanticActionButtonInit()
193 SetNamedPropertyByInteger( in ContentTypeInit()
195 SetNamedPropertyByInteger( in ContentTypeInit()
197 SetNamedPropertyByInteger( in ContentTypeInit()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dinit_bgtaskmgr.cpp50 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa… in SetNamedPropertyByInteger() function
65 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_RECORDING), in BackgroundModeInit()
67 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::LOCATION), in BackgroundModeInit()
69SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::BLUETOOTH_INTERACTION), in BackgroundModeInit()
74 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::VOIP), "VOIP"); in BackgroundModeInit()
77 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::CPU), "CPU"); in BackgroundModeInit()
79 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::TIMER), "TIMER"); in BackgroundModeInit()
81SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::BLUETOOTH), "BLUETOOTH"); in BackgroundModeInit()
82 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::GPS), "GPS"); in BackgroundModeInit()
83 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(ResourceType::AUDIO), "AUDIO"); in BackgroundModeInit()
[all …]
H A Dinit.cpp47 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa… in SetNamedPropertyByInteger() function
60SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::DATA_TRANSFER), "DATA_TR… in BackgroundModeInit()
61SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_PLAYBACK), "AUDIO_… in BackgroundModeInit()
62SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_RECORDING), "AUDIO… in BackgroundModeInit()
63SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::LOCATION), "LOCATION"); in BackgroundModeInit()
64SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::BLUETOOTH_INTERACTION), in BackgroundModeInit()
66SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::MULTI_DEVICE_CONNECTION), in BackgroundModeInit()
68SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::WIFI_INTERACTION), "WIFI… in BackgroundModeInit()
69 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::VOIP), "VOIP"); in BackgroundModeInit()
70SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::TASK_KEEPING), "TASK_KEE… in BackgroundModeInit()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_profile.cpp95 SetNamedPropertyByInteger(env, sppType, SppType::SPP_RFCOMM, "SPP_RFCOMM"); in SppTypeInit()
105 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_PLAYING, "STATE_PLAYING"); in PlayingStateInit()
114 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_A2DP_SINK, "PROFILE_A2DP_SINK"); in ProfileIdInit()
115SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_A2DP_SOURCE, "PROFILE_A2DP_SOURCE"); in ProfileIdInit()
116 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_AVRCP_CT, "PROFILE_AVRCP_CT"); in ProfileIdInit()
117 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_AVRCP_TG, "PROFILE_AVRCP_TG"); in ProfileIdInit()
118 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_HANDS_FREE_AUDIO_GATEWAY, in ProfileIdInit()
121 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_HID_HOST, "PROFILE_HID_HOST"); in ProfileIdInit()
122SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_PAN_NETWORK, "PROFILE_PAN_NETWORK"); in ProfileIdInit()
123SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_PBAP_CLIENT, "PROFILE_PBAP_CLIENT"); in ProfileIdInit()
[all …]
H A Dnapi_bluetooth_utils.cpp255 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa… in SetNamedPropertyByInteger() function
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/base_profile/
H A Dnapi_bluetooth_base_profile.cpp57 SetNamedPropertyByInteger(env, strategyObj, ConnectionStrategy::CONNECTION_UNKNOWN, in ConnectionStrategyInit()
59 SetNamedPropertyByInteger(env, strategyObj, ConnectionStrategy::CONNECTION_ALLOWED, in ConnectionStrategyInit()
61 SetNamedPropertyByInteger(env, strategyObj, ConnectionStrategy::CONNECTION_FORBIDDEN, in ConnectionStrategyInit()
71 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
73 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
75 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
77 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
79 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
81 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dinit.cpp39 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa… in SetNamedPropertyByInteger() function
52 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::NETWORK), "NETWORK"); in DeviceStandbyTypeInit()
53SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::RUNNING_LOCK), "RUNNING_LOCK"… in DeviceStandbyTypeInit()
54 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::TIMER), "TIMER"); in DeviceStandbyTypeInit()
55SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::WORK_SCHEDULER), "WORK_SCHEDU… in DeviceStandbyTypeInit()
56 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::AUTO_SYNC), "AUTO_SYNC"); in DeviceStandbyTypeInit()
57 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::PUSH), "PUSH"); in DeviceStandbyTypeInit()
58 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::FREEZE), "FREEZE"); in DeviceStandbyTypeInit()
/ohos5.0/base/time/time_service/framework/js/napi/system_timer/src/
H A Dtimer_type.cpp22 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa… in SetNamedPropertyByInteger() function
35 SetNamedPropertyByInteger(env, obj, 1 << TIMER_TYPE_REALTIME, "TIMER_TYPE_REALTIME"); in TimerTypeInit()
36 SetNamedPropertyByInteger(env, obj, 1 << TIMER_TYPE_WAKEUP, "TIMER_TYPE_WAKEUP"); in TimerTypeInit()
37 SetNamedPropertyByInteger(env, obj, 1 << TIMER_TYPE_EXACT, "TIMER_TYPE_EXACT"); in TimerTypeInit()
38 SetNamedPropertyByInteger(env, obj, 1 << TIMER_TYPE_IDLE, "TIMER_TYPE_IDLE"); in TimerTypeInit()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_connection.cpp796 SetNamedPropertyByInteger( in ScanModeInit()
798 SetNamedPropertyByInteger( in ScanModeInit()
800 SetNamedPropertyByInteger( in ScanModeInit()
843 SetNamedPropertyByInteger( in BluetoothTransportInit()
845 SetNamedPropertyByInteger( in BluetoothTransportInit()
855 SetNamedPropertyByInteger( in PinTypeInit()
857 SetNamedPropertyByInteger( in PinTypeInit()
859 SetNamedPropertyByInteger( in PinTypeInit()
861 SetNamedPropertyByInteger( in PinTypeInit()
863 SetNamedPropertyByInteger( in PinTypeInit()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access.cpp124 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_OFF), "STATE_OFF"); in StateChangeInit()
125SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_TURNING_ON), "STATE_T… in StateChangeInit()
126 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_ON), "STATE_ON"); in StateChangeInit()
127SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_TURNING_OFF), "STATE_… in StateChangeInit()
128 SetNamedPropertyByInteger( in StateChangeInit()
130SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_BLE_ON), "STATE_BLE_O… in StateChangeInit()
131 SetNamedPropertyByInteger( in StateChangeInit()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/
H A Dnapi_bluetooth_a2dp_src.cpp262 SetNamedPropertyByInteger(env, codecBitsPerSample, in CodecBitsPerSampleInit()
277 SetNamedPropertyByInteger(env, codecChannelMode, in CodecChannelModeInit()
279 SetNamedPropertyByInteger(env, codecChannelMode, in CodecChannelModeInit()
281 SetNamedPropertyByInteger(env, codecChannelMode, in CodecChannelModeInit()
290 SetNamedPropertyByInteger(env, codecSampleRate, in CodecSampleRateInit()
292 SetNamedPropertyByInteger(env, codecSampleRate, in CodecSampleRateInit()
294 SetNamedPropertyByInteger(env, codecSampleRate, in CodecSampleRateInit()
296 SetNamedPropertyByInteger(env, codecSampleRate, in CodecSampleRateInit()
298 SetNamedPropertyByInteger(env, codecSampleRate, in CodecSampleRateInit()
300 SetNamedPropertyByInteger(env, codecSampleRate, in CodecSampleRateInit()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_host.cpp111SetNamedPropertyByInteger(env, scanDuty, static_cast<int>(ScanDuty::SCAN_MODE_LOW_POWER), "SCAN_MO… in ScanDutyInit()
112SetNamedPropertyByInteger(env, scanDuty, static_cast<int>(ScanDuty::SCAN_MODE_BALANCED), "SCAN_MOD… in ScanDutyInit()
113 SetNamedPropertyByInteger( in ScanDutyInit()
122 SetNamedPropertyByInteger( in MatchModeInit()
124SetNamedPropertyByInteger(env, matchMode, static_cast<int>(MatchMode::MATCH_MODE_STICKY), "MATCH_M… in MatchModeInit()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp1067 SetNamedPropertyByInteger(env, matchModeObj, MatchMode::MATCH_MODE_STICKY, "MATCH_MODE_STICKY"); in PropertyInit()
1068SetNamedPropertyByInteger(env, matchModeObj, MatchMode::MATCH_MODE_AGGRESSIVE, "MATCH_MODE_AGGRESS… in PropertyInit()
1069 SetNamedPropertyByInteger( in PropertyInit()
1071 SetNamedPropertyByInteger( in PropertyInit()
1073 SetNamedPropertyByInteger( in PropertyInit()
1075 SetNamedPropertyByInteger( in PropertyInit()
1077 SetNamedPropertyByInteger( in PropertyInit()
1083SetNamedPropertyByInteger(env, gattWriteTypeObj, static_cast<int32_t>(NapiGattWriteType::WRITE), "… in PropertyInit()
1084 SetNamedPropertyByInteger( in PropertyInit()
1089SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::STARTED… in PropertyInit()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/
H A Dinit.h29 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa…
H A Dinit_bgtaskmgr.h29 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa…
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/kits/napi/include/
H A Dinit.h29 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa…
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/
H A Dnapi_bluetooth_pbap_pse.cpp115SetNamedPropertyByInteger(env, shareType, ShareType::SHARE_NAME_AND_PHONE_NUMBER, "SHARE_NAME_AND_… in ShareTypeInit()
116 SetNamedPropertyByInteger(env, shareType, ShareType::SHARE_ALL, "SHARE_ALL"); in ShareTypeInit()
117 SetNamedPropertyByInteger(env, shareType, ShareType::SHARE_NOTHING, "SHARE_NOTHING"); in ShareTypeInit()
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/inc/
H A Dwifi_napi_utils.h119 void SetNamedPropertyByInteger(napi_env, napi_value dstObj, int32_t objName, const char *propName);
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/socket/
H A Dnapi_bluetooth_spp_server.cpp66 SetNamedPropertyByInteger(env, sppType, SppType::SPP_RFCOMM, "SPP_RFCOMM"); in SppTypeInit()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_utils.h109 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa…