Home
last modified time | relevance | path

Searched refs:SetCountryCode (Results 1 – 25 of 90) sorted by relevance

1234

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_ap_interface_test.cpp46 EXPECT_TRUE(SetCountryCode(NULL, 0) == WIFI_HAL_INVALID_PARAM);
47 EXPECT_TRUE(SetCountryCode("", 0) == WIFI_HAL_INVALID_PARAM);
48 EXPECT_TRUE(SetCountryCode("C", 0) == WIFI_HAL_INVALID_PARAM);
49 EXPECT_TRUE(SetCountryCode("CN", 0) != WIFI_HAL_INVALID_PARAM);
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/Mock/
H A Dmock_wifi_settings.h34 virtual int SetCountryCode(const std::string &countryCode) = 0;
51 MOCK_METHOD1(SetCountryCode, int(const std::string &countryCode));
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/
H A Dmock_wifi_settings.h37 virtual int SetCountryCode(const std::string &countryCode) = 0;
54 MOCK_METHOD1(SetCountryCode, int(const std::string &countryCode));
/ohos5.0/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_ap_iface.cpp94 int32_t WifiApIface::SetCountryCode(const std::string& code) in SetCountryCode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiApIface
96 WifiError status = vendorHal_.lock()->SetCountryCode(ifname_, code); in SetCountryCode()
H A Dwifi_sta_iface.cpp94 int32_t WifiStaIface::SetCountryCode(const std::string& code) in SetCountryCode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiStaIface
96 WifiError status = vendorHal_.lock()->SetCountryCode(ifname_, code); in SetCountryCode()
H A Dwifi_ap_iface.h45 int32_t SetCountryCode(const std::string& code) override;
H A Dwifi_p2p_iface.h43 int32_t SetCountryCode(const std::string& code) override;
H A Dwifi_sta_iface.h44 int32_t SetCountryCode(const std::string& code) override;
H A Dwifi_p2p_iface.cpp74 int32_t WifiP2pIface::SetCountryCode(const std::string& code) in SetCountryCode() function in OHOS::HDI::Wlan::Chip::V1_0::WifiP2pIface
H A Dwifi_vendor_hal.h52 WifiError SetCountryCode(const std::string& ifaceName, const std::string& code);
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/core/components/softap/
H A Dap.c120 static uint32_t SetCountryCode(struct NetDevice *netDev, const char *code, uint32_t len) in SetCountryCode() function
127 RETURN_IF_CHIPOPS_NOT_IMPLEMENT(chipDriver->apOps, SetCountryCode); in SetCountryCode()
128 return chipDriver->apOps->SetCountryCode(netDev, code, len); in SetCountryCode()
461 ret = SetCountryCode(netdev, code, replayDataSize); in WifiCmdSetCountryCode()
/ohos5.0/drivers/peripheral/wlan/test/hdi_service/
H A Dwpa_hdi_direct_test.cpp407 int32_t rc = g_wpaObj->SetCountryCode(g_wpaObj, IFNAME, "00");
409 rc = g_wpaObj->SetCountryCode(g_wpaObj, IFNAME, "01");
411 rc = g_wpaObj->SetCountryCode(g_wpaObj, nullptr, "00");
413 rc = g_wpaObj->SetCountryCode(g_wpaObj, nullptr, "01");
H A Dwlan_hdi_direct_test.cpp449 int32_t rc = g_wlanObj->SetCountryCode(g_wlanObj, nullptr, codeDigital, size);
452 rc = g_wlanObj->SetCountryCode(g_wlanObj, &ifeature, code, size);
455 rc = g_wlanObj->SetCountryCode(g_wlanObj, &ifeature, nullptr, size);
457 rc = g_wlanObj->SetCountryCode(g_wlanObj, &ifeature, code, size);
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/idl_interface/
H A Di_wifi_hotspot_iface.h128 WifiErrorNo SetCountryCode(const char *code, int id);
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_ap_interface.h94 WifiErrorNo SetCountryCode(const char *code, int id);
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/wlan/
H A Dinterface_i_wlan_interface_v10.md39 | [SetCountryCode](#setcountrycode) ([in] struct [HdfFeatureInfo](_hdf_feature_info_v10.md) ifeatur…
508 ### SetCountryCode()
511 IWlanInterface::SetCountryCode ([in] struct HdfFeatureInfo ifeature, [in] String code, [in] unsigne…
H A Dinterface_i_wlan_interface_v11.md37 | [SetCountryCode](#setcountrycode) ([in] struct [HdfFeatureInfo](_hdf_feature_info_v11.md) ifeatur…
572 ### SetCountryCode()
575 IWlanInterface::SetCountryCode ([in] struct HdfFeatureInfo ifeature, [in] String code, [in] unsigne…
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/enablewifi_fuzzer/
H A Denablewifi_fuzzer.cpp56 devicePtr->SetCountryCode(set_countryCode); in EnableWifiFuzzerTest()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_wifi_settings.h38 virtual int SetCountryCode(const std::string &countryCode) = 0;
115 MOCK_METHOD1(SetCountryCode, int(const std::string &countryCode));
/ohos5.0/drivers/peripheral/wlan/hdi_service/
H A Dwlan_interface_service.c56 service->interface.SetCountryCode = WlanInterfaceSetCountryCode; in WlanInterfaceImplGetInstance()
/ohos5.0/drivers/peripheral/wlan/test/unittest/chip/
H A Dwifi_vendor_hal_test.cpp67 wifiVendorHalTest->SetCountryCode(VAILD_IFNAME, "cn"); in StartTest()
H A Dwifi_ap_iface_test.cpp186 EXPECT_TRUE(apIface->SetCountryCode("cn") == HDF_SUCCESS);
/ohos5.0/drivers/peripheral/wlan/test/fuzztest/ap_fuzzer/
H A Dap_fuzzer.cpp48 interface->SetCountryCode(interface, &feature, mac, macLen); in FuzzSetCountryCode()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/
H A Dhal_device_manage_test.h67 virtual int32_t SetCountryCode(const std::string& code) in SetCountryCode() function
H A Di_wifi_iface_test.cpp173 SetCountryCode(&code, id);
176 EXPECT_TRUE(SetCountryCode(&code, id) == WIFI_HAL_OPT_FAILED);

1234