Home
last modified time | relevance | path

Searched refs:SetNamedPropertyByInteger (Results 1 - 22 of 22) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/src/constant/
H A Dnapi_bluetooth_constant.cpp75 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_A2DP_SINK, "PROFILE_A2DP_SINK"); in ProfileIdInit()
76 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_A2DP_SOURCE, "PROFILE_A2DP_SOURCE"); in ProfileIdInit()
77 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_AVRCP_CT, "PROFILE_AVRCP_CT"); in ProfileIdInit()
78 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_AVRCP_TG, "PROFILE_AVRCP_TG"); in ProfileIdInit()
80 SetNamedPropertyByInteger( in ProfileIdInit()
83 SetNamedPropertyByInteger( in ProfileIdInit()
86 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_HANDS_FREE_UNIT, "PROFILE_HANDS_FREE_UNIT"); in ProfileIdInit()
87 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_HID_HOST, "PROFILE_HID_HOST"); in ProfileIdInit()
88 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_PAN_NETWORK, "PROFILE_PAN_NETWORK"); in ProfileIdInit()
89 SetNamedPropertyByInteger(en in ProfileIdInit()
[all...]
/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_entry.cpp28 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::DISCONNECTED), "DISCONNECTED"); in SuppStateInit()
29 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::INTERFACE_DISABLED), "INTERFACE_DISABLED"); in SuppStateInit()
30 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::INACTIVE), "INACTIVE"); in SuppStateInit()
31 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::SCANNING), "SCANNING"); in SuppStateInit()
32 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::AUTHENTICATING), "AUTHENTICATING"); in SuppStateInit()
33 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::ASSOCIATING), "ASSOCIATING"); in SuppStateInit()
34 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::ASSOCIATED), "ASSOCIATED"); in SuppStateInit()
35 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::FOUR_WAY_HANDSHAKE), "FOUR_WAY_HANDSHAKE"); in SuppStateInit()
36 SetNamedPropertyByInteger(env, suppState, static_cast<int>(SuppStateJs::GROUP_HANDSHAKE), "GROUP_HANDSHAKE"); in SuppStateInit()
37 SetNamedPropertyByInteger(en in SuppStateInit()
[all...]
H A Dwifi_ext_napi_entry.cpp25 SetNamedPropertyByInteger(env, PowerModel, static_cast<int>(PowerModelJs::SLEEPING), "SLEEPING"); in PowerModelInit()
26 SetNamedPropertyByInteger(env, PowerModel, static_cast<int>(PowerModelJs::GENERAL), "GENERAL"); in PowerModelInit()
27 SetNamedPropertyByInteger(env, PowerModel, static_cast<int>(PowerModelJs::THROUGH_WALL), "THROUGH_WALL"); in PowerModelInit()
H A Dwifi_napi_utils.cpp425 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() function
/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 *propName) in SetNamedPropertyByInteger() function
63 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::DATA_TRANSFER), "DATA_TRANSFER"); in BackgroundModeInit()
64 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_PLAYBACK), "AUDIO_PLAYBACK"); in BackgroundModeInit()
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()
69 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::BLUETOOTH_INTERACTION), in BackgroundModeInit()
71 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::MULTI_DEVICE_CONNECTION), in BackgroundModeInit()
73 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::WIFI_INTERACTION), "WIFI_INTERACTION"); in BackgroundModeInit()
74 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::VOIP), "VOIP"); in BackgroundModeInit()
75 SetNamedPropertyByInteger(en in BackgroundModeInit()
[all...]
H A Dinit.cpp47 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() function
60 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::DATA_TRANSFER), "DATA_TRANSFER"); in BackgroundModeInit()
61 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_PLAYBACK), "AUDIO_PLAYBACK"); in BackgroundModeInit()
62 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_RECORDING), "AUDIO_RECORDING"); in BackgroundModeInit()
63 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::LOCATION), "LOCATION"); in BackgroundModeInit()
64 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::BLUETOOTH_INTERACTION), in BackgroundModeInit()
66 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::MULTI_DEVICE_CONNECTION), in BackgroundModeInit()
68 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::WIFI_INTERACTION), "WIFI_INTERACTION"); in BackgroundModeInit()
69 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::VOIP), "VOIP"); in BackgroundModeInit()
70 SetNamedPropertyByInteger(en in BackgroundModeInit()
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/base_profile/
H A Dnapi_bluetooth_base_profile.cpp53 SetNamedPropertyByInteger(env, strategyObj, ConnectionStrategy::CONNECTION_UNKNOWN, in ConnectionStrategyInit()
55 SetNamedPropertyByInteger(env, strategyObj, ConnectionStrategy::CONNECTION_ALLOWED, in ConnectionStrategyInit()
57 SetNamedPropertyByInteger(env, strategyObj, ConnectionStrategy::CONNECTION_FORBIDDEN, in ConnectionStrategyInit()
67 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
69 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
71 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
73 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
75 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
77 SetNamedPropertyByInteger(env, disconnectCauseObj, in DisconnectCauseInit()
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_profile.cpp91 SetNamedPropertyByInteger(env, sppType, SppType::SPP_RFCOMM, "SPP_RFCOMM"); in SppTypeInit()
100 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_NOT_PLAYING, "STATE_NOT_PLAYING"); in PlayingStateInit()
101 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_PLAYING, "STATE_PLAYING"); in PlayingStateInit()
110 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_A2DP_SINK, "PROFILE_A2DP_SINK"); in ProfileIdInit()
111 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_A2DP_SOURCE, "PROFILE_A2DP_SOURCE"); in ProfileIdInit()
112 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_AVRCP_CT, "PROFILE_AVRCP_CT"); in ProfileIdInit()
113 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_AVRCP_TG, "PROFILE_AVRCP_TG"); in ProfileIdInit()
114 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_HANDS_FREE_AUDIO_GATEWAY, in ProfileIdInit()
116 SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_HANDS_FREE_UNIT, "PROFILE_HANDS_FREE_UNIT"); in ProfileIdInit()
117 SetNamedPropertyByInteger(en in ProfileIdInit()
[all...]
H A Dnapi_bluetooth_utils.cpp252 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() function
/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 *propName) in SetNamedPropertyByInteger() function
52 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::NETWORK), "NETWORK"); in DeviceStandbyTypeInit()
53 SetNamedPropertyByInteger(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()
55 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(AllowType::WORK_SCHEDULER), "WORK_SCHEDULER"); 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()
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_connection.cpp826 SetNamedPropertyByInteger(env, scanMode, static_cast<int>(ScanMode::SCAN_MODE_NONE), "SCAN_MODE_NONE"); in ScanModeInit()
827 SetNamedPropertyByInteger( in ScanModeInit()
829 SetNamedPropertyByInteger( in ScanModeInit()
831 SetNamedPropertyByInteger( in ScanModeInit()
833 SetNamedPropertyByInteger(env, in ScanModeInit()
837 SetNamedPropertyByInteger(env, in ScanModeInit()
849 SetNamedPropertyByInteger(env, bondState, static_cast<int>(BondState::BOND_STATE_INVALID), "BOND_STATE_INVALID"); in BondStateInit()
850 SetNamedPropertyByInteger(env, bondState, static_cast<int>(BondState::BOND_STATE_BONDING), "BOND_STATE_BONDING"); in BondStateInit()
851 SetNamedPropertyByInteger(env, bondState, static_cast<int>(BondState::BOND_STATE_BONDED), "BOND_STATE_BONDED"); in BondStateInit()
860 SetNamedPropertyByInteger(en in UnbondCauseInit()
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_host.cpp108 SetNamedPropertyByInteger(env, scanDuty, static_cast<int>(ScanDuty::SCAN_MODE_LOW_POWER), "SCAN_MODE_LOW_POWER"); in ScanDutyInit()
109 SetNamedPropertyByInteger(env, scanDuty, static_cast<int>(ScanDuty::SCAN_MODE_BALANCED), "SCAN_MODE_BALANCED"); in ScanDutyInit()
110 SetNamedPropertyByInteger( in ScanDutyInit()
119 SetNamedPropertyByInteger( in MatchModeInit()
121 SetNamedPropertyByInteger(env, matchMode, static_cast<int>(MatchMode::MATCH_MODE_STICKY), "MATCH_MODE_STICKY"); in MatchModeInit()
/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access.cpp151 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_OFF), "STATE_OFF"); in StateChangeInit()
152 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_TURNING_ON), "STATE_TURNING_ON"); in StateChangeInit()
153 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_ON), "STATE_ON"); in StateChangeInit()
154 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_TURNING_OFF), "STATE_TURNING_OFF"); in StateChangeInit()
155 SetNamedPropertyByInteger( in StateChangeInit()
157 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_BLE_ON), "STATE_BLE_ON"); in StateChangeInit()
158 SetNamedPropertyByInteger( in StateChangeInit()
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/
H A Dnapi_bluetooth_a2dp_src.cpp236 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_NOT_PLAYING, "STATE_NOT_PLAYING"); in PlayingStateInit()
237 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_PLAYING, "STATE_PLAYING"); in PlayingStateInit()
245 SetNamedPropertyByInteger(env, codecType, CodecType::CODEC_TYPE_SBC, "CODEC_TYPE_SBC"); in CodecTypeInit()
246 SetNamedPropertyByInteger(env, codecType, CodecType::CODEC_TYPE_AAC, "CODEC_TYPE_AAC"); in CodecTypeInit()
247 SetNamedPropertyByInteger(env, codecType, CodecType::CODEC_TYPE_L2HC, "CODEC_TYPE_L2HC"); in CodecTypeInit()
248 SetNamedPropertyByInteger(env, codecType, CodecType::CODEC_TYPE_L2HCST, "CODEC_TYPE_L2HCST"); in CodecTypeInit()
249 SetNamedPropertyByInteger(env, codecType, CodecType::CODEC_TYPE_LDAC, "CODEC_TYPE_LDAC"); in CodecTypeInit()
250 SetNamedPropertyByInteger(env, codecType, CodecType::CODEC_TYPE_INVALID, "CODEC_TYPE_INVALID"); in CodecTypeInit()
258 SetNamedPropertyByInteger(env, codecBitsPerSample, in CodecBitsPerSampleInit()
260 SetNamedPropertyByInteger(en in CodecBitsPerSampleInit()
[all...]
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/
H A Dinit_bgtaskmgr.h29 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName);
H A Dinit.h29 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName);
/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 *propName);
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp1060 SetNamedPropertyByInteger(env, matchModeObj, MatchMode::MATCH_MODE_STICKY, "MATCH_MODE_STICKY"); in PropertyInit()
1061 SetNamedPropertyByInteger(env, matchModeObj, MatchMode::MATCH_MODE_AGGRESSIVE, "MATCH_MODE_AGGRESSIVE"); in PropertyInit()
1062 SetNamedPropertyByInteger( in PropertyInit()
1064 SetNamedPropertyByInteger( in PropertyInit()
1066 SetNamedPropertyByInteger( in PropertyInit()
1068 SetNamedPropertyByInteger( in PropertyInit()
1070 SetNamedPropertyByInteger( in PropertyInit()
1076 SetNamedPropertyByInteger(env, gattWriteTypeObj, static_cast<int32_t>(NapiGattWriteType::WRITE), "WRITE"); in PropertyInit()
1077 SetNamedPropertyByInteger( in PropertyInit()
1082 SetNamedPropertyByInteger(en in PropertyInit()
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/
H A Dnapi_bluetooth_pbap_pse.cpp112 SetNamedPropertyByInteger(env, shareType, ShareType::SHARE_NAME_AND_PHONE_NUMBER, "SHARE_NAME_AND_PHONE_NUMBER"); in ShareTypeInit()
113 SetNamedPropertyByInteger(env, shareType, ShareType::SHARE_ALL, "SHARE_ALL"); in ShareTypeInit()
114 SetNamedPropertyByInteger(env, shareType, ShareType::SHARE_NOTHING, "SHARE_NOTHING"); in ShareTypeInit()
/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);
/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 *propName);
/foundation/communication/bluetooth/frameworks/js/napi/src/socket/
H A Dnapi_bluetooth_spp_server.cpp62 SetNamedPropertyByInteger(env, sppType, SppType::SPP_RFCOMM, "SPP_RFCOMM"); in SppTypeInit()

Completed in 15 milliseconds