Home
last modified time | relevance | path

Searched refs:netId (Results 1 - 25 of 47) sorted by relevance

12

/test/xts/acts/telephony/telephonyjstest/netmanager_base/network_netmanager/src/main/cpp/
H A Dnet_connection_ndk_test.cpp26 int32_t netId; in getNetCapabilities() local
27 napi_get_value_int32(env, args[0], &netId); in getNetCapabilities()
30 if (netId == -1) { in getNetCapabilities()
50 int32_t netId; in getAllNets() local
51 napi_get_value_int32(env, args[0], &netId); in getAllNets()
54 if (netId == -1) { in getAllNets()
72 int32_t netId; in getConnectionProperties() local
73 napi_get_value_int32(env, args[0], &netId); in getConnectionProperties()
76 if (netId == -1) { in getConnectionProperties()
96 int32_t netId; in getDefaultNet() local
118 int32_t netId; hasDefaultNet() local
140 int32_t netId; isDefaultNetMetered() local
165 int32_t netId; getDefaultHttpProxy() local
[all...]
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
H A Diot_sta.c42 void WifiStopSta(int netId);
49 void wifiReconnected(int netId) in wifiReconnected() argument
51 int recnetId = netId; in wifiReconnected()
207 int netId = -1; in WifiStartSta() local
215 errCode = AddDeviceConfig(&apConfig, &netId); in WifiStartSta()
219 errCode = ConnectTo(netId); in WifiStartSta()
220 printf("ConnectTo(%d): %d\r\n", netId, errCode); in WifiStartSta()
236 return netId; in WifiStartSta()
239 void WifiStopSta(int netId) in WifiStopSta() argument
241 int stopNetId = netId; in WifiStopSta()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
H A Diot_sta.c42 void WifiStopSta(int netId);
49 void wifiReconnected(int netId) in wifiReconnected() argument
51 int recnetId = netId; in wifiReconnected()
207 int netId = -1; in WifiStartSta() local
215 errCode = AddDeviceConfig(&apConfig, &netId); in WifiStartSta()
219 errCode = ConnectTo(netId); in WifiStartSta()
220 printf("ConnectTo(%d): %d\r\n", netId, errCode); in WifiStartSta()
236 return netId; in WifiStartSta()
239 void WifiStopSta(int netId) in WifiStopSta() argument
241 int stopNetId = netId; in WifiStopSta()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/easy_wifi_demo/src/
H A Dwifi_connecter.c76 int netId = -1; in ConnectToHotspot() local
84 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
88 errCode = ConnectTo(netId); in ConnectToHotspot()
89 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
105 return netId; in ConnectToHotspot()
108 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
121 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_client_demo/
H A Dwifi_connecter.c81 int netId = -1; in ConnectToHotspot() local
89 errCode = AddDeviceConfig(&config, &netId); in ConnectToHotspot()
93 errCode = ConnectTo(netId); in ConnectToHotspot()
94 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
117 return netId; in ConnectToHotspot()
120 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
133 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dwifi_connecter.c71 int netId = -1; in ConnectToHotspotconst() local
79 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspotconst()
83 errCode = ConnectTo(netId); in ConnectToHotspotconst()
84 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspotconst()
100 return netId; in ConnectToHotspotconst()
103 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
116 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/lwip_demo/
H A Dwifi_connecter.c81 int netId = -1; in ConnectToHotspot() local
89 errCode = AddDeviceConfig(&config, &netId); in ConnectToHotspot()
93 errCode = ConnectTo(netId); in ConnectToHotspot()
94 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
117 return netId; in ConnectToHotspot()
120 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
133 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/play/
H A Dwifi_connecter.c74 int netId = -1; in ConnectToHotspot() local
82 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
86 errCode = ConnectTo(netId); in ConnectToHotspot()
87 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
103 return netId; in ConnectToHotspot()
106 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
115 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/udp_demo/
H A Dwifi_sta_connect.c37 void WifiStaStop(int netId);
110 int netId = -1; in WifiStaStart() local
118 errCode = AddDeviceConfig(&apConfig, &netId); in WifiStaStart()
122 errCode = ConnectTo(netId); in WifiStaStart()
123 printf("ConnectTo(%d): %d\r\n", netId, errCode); in WifiStaStart()
139 return netId; in WifiStaStart()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Dwifi_connecter.c70 int netId = -1; in ConnectToHotspot() local
78 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
82 errCode = ConnectTo(netId); in ConnectToHotspot()
83 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
118 return netId; in ConnectToHotspot()
121 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
134 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
H A Diot_sta.c39 void WifiStopSta(int netId);
197 int netId = -1; in WifiStartSta() local
205 errCode = AddDeviceConfig(&apConfig, &netId); in WifiStartSta()
209 errCode = ConnectTo(netId); in WifiStartSta()
210 printf("ConnectTo(%d): %d\r\n", netId, errCode); in WifiStartSta()
226 return netId; in WifiStartSta()
229 void WifiStopSta(int netId) in WifiStopSta() argument
242 RemoveDevice(netId); // remove AP config in WifiStopSta()
/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/udpserver_env/
H A Dwifi_connecter.c78 int netId = -1; in ConnectToHotspot() local
86 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
90 errCode = ConnectTo(netId); in ConnectToHotspot()
91 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
126 return netId; in ConnectToHotspot()
129 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
142 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/smart_night_light_demo/udpserver_light/
H A Dwifi_connecter.c78 int netId = -1; in ConnectToHotspot() local
86 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
90 errCode = ConnectTo(netId); in ConnectToHotspot()
91 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
126 return netId; in ConnectToHotspot()
129 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
142 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/sntp_demo/test/
H A Dwifi_connecter.c77 int netId = -1; in ConnectToHotspot() local
85 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
89 errCode = ConnectTo(netId); in ConnectToHotspot()
90 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
125 return netId; in ConnectToHotspot()
128 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
141 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/tcpclient_demo/
H A Dwifi_connecter.c77 int netId = -1; in ConnectToHotspot() local
85 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
89 errCode = ConnectTo(netId); in ConnectToHotspot()
90 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
124 return netId; in ConnectToHotspot()
127 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
140 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/tcpserver_demo/
H A Dwifi_connecter.c77 int netId = -1; in ConnectToHotspot() local
85 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
89 errCode = ConnectTo(netId); in ConnectToHotspot()
90 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
125 return netId; in ConnectToHotspot()
128 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
141 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/udpclient_demo/
H A Dwifi_connecter.c77 int netId = -1; in ConnectToHotspot() local
85 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
89 errCode = ConnectTo(netId); in ConnectToHotspot()
90 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
125 return netId; in ConnectToHotspot()
128 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
141 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/udpserver_demo/
H A Dwifi_connecter.c77 int netId = -1; in ConnectToHotspot() local
85 errCode = AddDeviceConfig(apConfig, &netId); in ConnectToHotspot()
89 errCode = ConnectTo(netId); in ConnectToHotspot()
90 printf("ConnectTo(%d): %d\r\n", netId, errCode); in ConnectToHotspot()
125 return netId; in ConnectToHotspot()
128 void DisconnectWithHotspot(int netId) in DisconnectWithHotspot() argument
141 RemoveDevice(netId); // remove AP config in DisconnectWithHotspot()
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
H A Diot_sta.c44 void WifiStopSta(int netId);
210 int netId = -1; in WifiStartSta() local
218 errCode = AddDeviceConfig(&apConfig, &netId); in WifiStartSta()
222 errCode = ConnectTo(netId); in WifiStartSta()
223 printf("ConnectTo(%d): %d\r\n", netId, errCode); in WifiStartSta()
239 return netId; in WifiStartSta()
242 void WifiStopSta(int netId) in WifiStopSta() argument
255 RemoveDevice(netId); // remove AP config in WifiStopSta()
/third_party/musl/porting/linux/user/src/network/
H A Dlookup.h120 typedef int32_t (*GetConfig)(uint16_t netId, struct resolv_config *config);
122 typedef int32_t (*GetCache)(uint16_t netId, struct param_wrapper param,
126 typedef int32_t (*SetCache)(uint16_t netId, struct param_wrapper param, struct addrinfo *res);
128 typedef int (*JudgeIpv6)(uint16_t netId);
133 typedef int (*GetDefaultNet)(uint16_t netId, int32_t *currentnetid);
163 typedef int32_t (*BindSocket)(int32_t fd, uint32_t netId);
167 typedef int32_t (*BindSocket_Ext)(int32_t fd, uint32_t netId);
/third_party/musl/src/network/
H A Dlookup.h125 typedef int32_t (*GetConfig)(uint16_t netId, struct resolv_config *config);
127 typedef int32_t (*GetCache)(uint16_t netId, struct param_wrapper param,
131 typedef int32_t (*SetCache)(uint16_t netId, struct param_wrapper param, struct addrinfo *res);
133 typedef int (*JudgeIpv6)(uint16_t netId);
138 typedef int (*GetDefaultNet)(uint16_t netId, int32_t *currentnetid);
168 typedef int32_t (*BindSocket)(int32_t fd, uint32_t netId);
172 typedef int32_t (*BindSocket_Ext)(int32_t fd, uint32_t netId);
/test/xts/dcts/communication/softbus_standard/common/
H A Dwifi_utils.cpp120 int netId; in ConnectTo() local
122 int ret = wifiDevicePtr->AddDeviceConfig(deviceConfig, netId, isCandidate); in ConnectTo()
126 LOG("[wifi]call AddDeviceConfig success, netId:%d", netId); in ConnectTo()
129 ret = wifiDevicePtr->ConnectToNetwork(netId, isCandidate); in ConnectTo()
134 LOG("[wifi]call ConnectTo success, netId:%d", netId); in ConnectTo()
/test/xts/acts/communication_lite/wifiservice_hal/src/
H A Dwifiservice_func_test.c252 RemoveDevice(config[i].netId); in WifiServiceFuncTestSuiteSetUp()
364 int netId = 0; variable
371 WifiErrorCode error = AddDeviceConfig(&config, &netId);
374 error = ConnectTo(netId);
381 error = RemoveDevice(netId);
392 int netId = 0; variable
409 WifiErrorCode error = AddDeviceConfig(&config, &netId);
419 error = AddDeviceConfig(&config, &netId);
432 error = AddDeviceConfig(&config, &netId);
442 error = RemoveDevice(allConfig[i].netId);
[all...]
/test/xts/acts/communication/wifi_standard/entry/src/ohosTest/ets/test/
H A DWifiManagerCandidateNetWork.test.js39 await wifiMg.removeCandidateConfig(getCandidate[i].netId)
118 var networkId = getCandidateResult[0].netId;
223 "netId": -1,
242 var networkId = getCandidateResult[0].netId;
283 var networkId = getCandidateResult[0].netId;
346 var networkId = getCandidateResult[i].netId;
404 var networkId = getCandidateResult[0].netId;
451 let connectToCandidateResult = wifiMg.connectToCandidateConfig(getCandidateResult[0].netId);
463 var networkId = getCandidateResult1[0].netId;
/test/xts/acts/communication/wifi_p2p/entry/src/ohosTest/js/test/
H A DWifiManagerP2PFunction.test.js78 netId : -1,
155 netId: -1,
215 netId: -1,
257 netId: -1,
299 netId: -1,
359 netId : -1,
402 netId : -1,
447 netId : -1,
489 netId: -1,
530 netId
[all...]

Completed in 11 milliseconds

12