/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/constant/ |
H A D | napi_bluetooth_constant.cpp | 83 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 D | wifi_napi_entry.cpp | 50 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 D | wifi_ext_napi_entry.cpp | 25 … 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_… in PowerModelInit()
|
H A D | wifi_napi_utils.cpp | 420 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 D | constant.cpp | 104 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 D | init_bgtaskmgr.cpp | 50 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() 69 … SetNamedPropertyByInteger(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() 81 … SetNamedPropertyByInteger(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 D | init.cpp | 47 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa… in SetNamedPropertyByInteger() function 60 …SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::DATA_TRANSFER), "DATA_TR… in BackgroundModeInit() 61 …SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_PLAYBACK), "AUDIO_… in BackgroundModeInit() 62 …SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::AUDIO_RECORDING), "AUDIO… 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… in BackgroundModeInit() 69 SetNamedPropertyByInteger(env, obj, static_cast<uint32_t>(BackgroundMode::VOIP), "VOIP"); in BackgroundModeInit() 70 …SetNamedPropertyByInteger(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 D | napi_bluetooth_profile.cpp | 95 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() 115 … SetNamedPropertyByInteger(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() 122 … SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_PAN_NETWORK, "PROFILE_PAN_NETWORK"); in ProfileIdInit() 123 … SetNamedPropertyByInteger(env, profileId, ProfileId::PROFILE_PBAP_CLIENT, "PROFILE_PBAP_CLIENT"); in ProfileIdInit() [all …]
|
H A D | napi_bluetooth_utils.cpp | 255 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 D | napi_bluetooth_base_profile.cpp | 57 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 D | init.cpp | 39 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() 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_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 D | timer_type.cpp | 22 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 D | napi_bluetooth_connection.cpp | 796 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 D | napi_bluetooth_access.cpp | 124 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_OFF), "STATE_OFF"); in StateChangeInit() 125 …SetNamedPropertyByInteger(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() 127 …SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_TURNING_OFF), "STATE_… in StateChangeInit() 128 SetNamedPropertyByInteger( in StateChangeInit() 130 …SetNamedPropertyByInteger(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 D | napi_bluetooth_a2dp_src.cpp | 262 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 D | napi_bluetooth_host.cpp | 111 …SetNamedPropertyByInteger(env, scanDuty, static_cast<int>(ScanDuty::SCAN_MODE_LOW_POWER), "SCAN_MO… in ScanDutyInit() 112 …SetNamedPropertyByInteger(env, scanDuty, static_cast<int>(ScanDuty::SCAN_MODE_BALANCED), "SCAN_MOD… in ScanDutyInit() 113 SetNamedPropertyByInteger( in ScanDutyInit() 122 SetNamedPropertyByInteger( in MatchModeInit() 124 …SetNamedPropertyByInteger(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 D | napi_bluetooth_ble.cpp | 1067 SetNamedPropertyByInteger(env, matchModeObj, MatchMode::MATCH_MODE_STICKY, "MATCH_MODE_STICKY"); in PropertyInit() 1068 …SetNamedPropertyByInteger(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() 1083 …SetNamedPropertyByInteger(env, gattWriteTypeObj, static_cast<int32_t>(NapiGattWriteType::WRITE), "… in PropertyInit() 1084 SetNamedPropertyByInteger( in PropertyInit() 1089 …SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::STARTED… in PropertyInit() [all …]
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/ |
H A D | init.h | 29 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa…
|
H A D | init_bgtaskmgr.h | 29 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 D | init.h | 29 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 D | napi_bluetooth_pbap_pse.cpp | 115 …SetNamedPropertyByInteger(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 D | wifi_napi_utils.h | 119 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 D | napi_bluetooth_spp_server.cpp | 66 SetNamedPropertyByInteger(env, sppType, SppType::SPP_RFCOMM, "SPP_RFCOMM"); in SppTypeInit()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_utils.h | 109 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propNa…
|