Home
last modified time | relevance | path

Searched refs:GetCErrorCode (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_device.cpp110 return GetCErrorCode(ret); in GetScanInfoList()
255 return GetCErrorCode(ret); in AddDeviceConfig()
278 return GetCErrorCode(ret); in GetDeviceConfigs()
360 return GetCErrorCode(ret); in GetLinkedInfo()
374 return GetCErrorCode(ret); in GetDisconnectedReason()
389 return GetCErrorCode(ret); in GetDeviceMacAddress()
399 return GetCErrorCode(ret); in AdvanceScan()
428 return GetCErrorCode(ret); in GetIpInfo()
486 return GetCErrorCode(ret); in GetIpv6Info()
511 return GetCErrorCode(ret); in IsBandTypeSupported()
[all …]
H A Dwifi_c_hid2d.cpp46 return GetCErrorCode(wifiHid2dPtr->Hid2dSharedlinkIncrease()); in Hid2dSharedlinkIncrease()
52 return GetCErrorCode(wifiHid2dPtr->Hid2dSharedlinkDecrease()); in Hid2dSharedlinkDecrease()
64 return GetCErrorCode(wifiHid2dPtr->Hid2dRemoveGcGroup(gcIfName)); in Hid2dRemoveGcGroup()
78 return GetCErrorCode(wifiHid2dPtr->Hid2dConnect(cppConfig)); in Hid2dConnect()
90 return GetCErrorCode(wifiHid2dPtr->Hid2dConfigIPAddr(ifName, ipAddrInfo)); in Hid2dConfigIPAddr()
96 return GetCErrorCode(wifiHid2dPtr->Hid2dReleaseIPAddr(ifName)); in Hid2dReleaseIPAddr()
134 return GetCErrorCode(retCode); in Hid2dGetRecommendChannel()
158 return GetCErrorCode(ret); in Hid2dGetChannelListFor5G()
166 return GetCErrorCode(wifiHid2dPtr->Hid2dGetSelfWifiCfgInfo( in Hid2dGetSelfWifiCfgInfo()
174 return GetCErrorCode(wifiHid2dPtr->Hid2dSetPeerWifiCfgInfo( in Hid2dSetPeerWifiCfgInfo()
[all …]
H A Dwifi_c_p2p.cpp33 return GetCErrorCode(wifiP2pPtr->EnableP2p()); in EnableP2p()
39 return GetCErrorCode(wifiP2pPtr->DisableP2p()); in DisableP2p()
50 return GetCErrorCode(ret); in GetP2pEnableStatus()
56 return GetCErrorCode(wifiP2pPtr->DiscoverDevices()); in DiscoverDevices()
62 return GetCErrorCode(wifiP2pPtr->StopDiscoverDevices()); in StopDiscoverDevices()
68 return GetCErrorCode(wifiP2pPtr->DiscoverServices()); in DiscoverServices()
86 return GetCErrorCode(wifiP2pPtr->StopP2pListen()); in StopP2pListen()
113 return GetCErrorCode(wifiP2pPtr->RemoveGroup()); in RemoveGroup()
182 return GetCErrorCode(wifiP2pPtr->P2pCancelConnect()); in P2pCancelConnect()
298 return GetCErrorCode(ret); in GetP2pConnectedStatus()
[all …]
H A Dwifi_c_hotspot.cpp34 return GetCErrorCode(hotspotPtr->EnableHotspot()); in EnableHotspot()
40 return GetCErrorCode(hotspotPtr->DisableHotspot()); in DisableHotspot()
57 return GetCErrorCode(hotspotPtr->IsHotspotDualBandSupported(isSupported)); in IsHotspotDualBandSupported()
142 return GetCErrorCode(hotspotPtr->SetHotspotConfig(hotspotConfig)); in SetHotspotConfig()
158 return GetCErrorCode(ret); in GetHotspotConfig()
197 return GetCErrorCode(ret); in GetStationList()
203 return GetCErrorCode(OHOS::Wifi::WIFI_OPT_NOT_SUPPORTED); in DisassociateSta()
208 return GetCErrorCode(OHOS::Wifi::WIFI_OPT_NOT_SUPPORTED); in AddTxPowerInfo()
229 return GetCErrorCode(ret); in GetApIfaceName()
H A Dwifi_c_utils.cpp42 WifiErrorCode GetCErrorCode(ErrCode errCode) in GetCErrorCode() function
/ohos5.0/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp81 return GetCErrorCode(dhcpClientPtr->StartDhcpClient(ifname, bIpv6)); in StartDhcpClient()
91 return GetCErrorCode(dhcpClientPtr->SetConfiguration(ifname, routerConfig)); in SetConfiguration()
100 return GetCErrorCode(dhcpClientPtr->StopDhcpClient(ifname, bIpv6)); in StopDhcpClient()
132 return GetCErrorCode(dhcpServerPtr->StartDhcpServer(ifname)); in StartDhcpServer()
153 return GetCErrorCode(dhcpServerPtr->StopDhcpServer(ifname)); in StopDhcpServer()
170 return GetCErrorCode(dhcpServerPtr->SetDhcpRange(ifname, rangeNew)); in SetDhcpRange()
181 return GetCErrorCode(dhcpServerPtr->SetDhcpName(ifname, tagName)); in SetDhcpName()
198 return GetCErrorCode(dhcpServerPtr->PutDhcpRange(tagName, rangeNew)); in PutDhcpRange()
208 return GetCErrorCode(dhcpServerPtr->RemoveAllDhcpRange(tagName)); in RemoveAllDhcpRange()
277 DhcpErrorCode ret = GetCErrorCode(dhcpServerPtr->GetDhcpClientInfos(ifname, vecInfo)); in GetDhcpClientInfos()
[all …]
H A Ddhcp_c_utils.cpp34 DhcpErrorCode GetCErrorCode(ErrCode errCode) in GetCErrorCode() function
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/c_adapter/inc/
H A Dwifi_c_utils.h53 WifiErrorCode GetCErrorCode(ErrCode errCode);
/ohos5.0/foundation/communication/dhcp/frameworks/native/c_adapter/inc/
H A Ddhcp_c_utils.h54 DhcpErrorCode GetCErrorCode(ErrCode errCode);