/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/ |
H A D | mock_ap_config_use.h | 34 MOCK_CONST_METHOD1(GetChannelFromDrvOrXmlByBand, std::vector<int>(const BandType &bandType)); 39 MOCK_CONST_METHOD1(GetPreferredChannels, std::set<int>(const BandType &bandType));
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_config_use.cpp | 111 std::vector<int> ApConfigUse::GetChannelFromDrvOrXmlByBand(const BandType &bandType) const in GetChannelFromDrvOrXmlByBand() 113 std::vector<int> preferredChannels = GetPreferredChannelByBand(bandType); in GetChannelFromDrvOrXmlByBand() 115 WIFI_LOGI("get freqs from xml success, bandType=%{public}d, channel size=%{public}d", in GetChannelFromDrvOrXmlByBand() 116 static_cast<int>(bandType), static_cast<int>(preferredChannels.size())); in GetChannelFromDrvOrXmlByBand() 121 WifiConfigCenter::GetInstance().GetApIfaceName(), static_cast<int>(bandType), freqs); in GetChannelFromDrvOrXmlByBand() 123 WifiSettings::GetInstance().SetDefaultFrequenciesByCountryBand(bandType, freqs); in GetChannelFromDrvOrXmlByBand() 124 WIFI_LOGI("get freqs from drv fail, use default, bandType=%{public}d, size=%{public}d", in GetChannelFromDrvOrXmlByBand() 125 static_cast<int>(bandType), static_cast<int>(freqs.size())); in GetChannelFromDrvOrXmlByBand() 127 WIFI_LOGI("get freqs from drv success, bandType=%{public}d, size=%{public}d", in GetChannelFromDrvOrXmlByBand() 128 static_cast<int>(bandType), static_cas in GetChannelFromDrvOrXmlByBand() [all...] |
H A D | ap_config_use.h | 104 std::vector<int> GetChannelFromDrvOrXmlByBand(const BandType &bandType) const; 109 std::vector<int> GetPreferredChannelByBand(const BandType &bandType) const;
|
/foundation/communication/wifi/wifi/frameworks/js/napi/src/ |
H A D | wifi_napi_entry.cpp | 230 napi_value bandType = nullptr; in WifiBandTypeInit() local 231 napi_create_object(env, &bandType); in WifiBandTypeInit() 232 SetNamedPropertyByInteger(env, bandType, static_cast<int>(WifiBandTypeJS::BAND_NONE), "WIFI_BAND_NONE"); in WifiBandTypeInit() 233 SetNamedPropertyByInteger(env, bandType, static_cast<int>(WifiBandTypeJS::BAND_2GHZ), "WIFI_BAND_2G"); in WifiBandTypeInit() 234 SetNamedPropertyByInteger(env, bandType, static_cast<int>(WifiBandTypeJS::BAND_5GHZ), "WIFI_BAND_5G"); in WifiBandTypeInit() 235 SetNamedPropertyByInteger(env, bandType, static_cast<int>(WifiBandTypeJS::BAND_6GHZ), "WIFI_BAND_6G"); in WifiBandTypeInit() 236 SetNamedPropertyByInteger(env, bandType, static_cast<int>(WifiBandTypeJS::BAND_60GHZ), "WIFI_BAND_60G"); in WifiBandTypeInit() 237 return bandType; in WifiBandTypeInit()
|
H A D | wifi_napi_device.cpp | 1520 int bandType = 1; in IsBandTypeSupported() local 1521 napi_get_value_int32(env, argv[0], &bandType); in IsBandTypeSupported() 1522 WIFI_NAPI_ASSERT(env, bandType > (int)WifiBandTypeJS::BAND_NONE && bandType <= (int)WifiBandTypeJS::BAND_60GHZ, in IsBandTypeSupported() 1525 ErrCode ret = wifiDevicePtr->IsBandTypeSupported(bandType, supported); in IsBandTypeSupported()
|
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiap_fuzzer/ |
H A D | wifiap_fuzzer.cpp | 76 BandType bandType = static_cast<BandType>(static_cast<int>(data[0]) % SIX); in GetChannelFromDrvOrXmlByBandFuzzTest() local 77 pApConfigUse->GetChannelFromDrvOrXmlByBand(bandType); in GetChannelFromDrvOrXmlByBandFuzzTest() 109 BandType bandType = static_cast<BandType>(static_cast<int>(data[0]) % SIX); in GetPreferredChannelByBandFuzzTest() local 110 pApConfigUse->GetPreferredChannelByBand(bandType); in GetPreferredChannelByBandFuzzTest() 262 BandType bandType = static_cast<BandType>(static_cast<int>(data[0]) % SIX); in GetValidChannelsFuzzTest() local 264 pApService->GetValidChannels(bandType, validChannel); in GetValidChannelsFuzzTest() 265 pApInterface->GetValidChannels(bandType, validChannel); in GetValidChannelsFuzzTest()
|
/foundation/communication/wifi/wifi/test/fuzztest/fuzz_common_func/ |
H A D | mock_wifi_ap_service.h | 106 std::vector<int> GetChannelFromDrvOrXmlByBand(const BandType &bandType); 111 std::vector<int> GetPreferredChannelByBand(const BandType &bandType);
|
/foundation/communication/wifi/wifi/interfaces/kits/c/ |
H A D | wifi_device.h | 287 * @param bandType - wifi band type 291 WifiErrorCode IsBandTypeSupported(int bandType, bool *supported);
|
/foundation/communication/wifi/wifi/frameworks/cj/include/ |
H A D | wifi_ffi.h | 33 FFI_EXPORT int32_t FfiWifiIsBandTypeSupported(int32_t bandType, bool &ret);
|
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wificdevice_fuzzer/ |
H A D | wificdevice_fuzzer.cpp | 296 int bandType = static_cast<int>(data[0]); in IsBandTypeSupportedTest() local 297 (void)IsBandTypeSupported(bandType, &supported); in IsBandTypeSupportedTest()
|
/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_device.h | 352 * @param bandType - wifi band type 356 virtual ErrCode IsBandTypeSupported(int bandType, bool &supported) = 0;
|
/foundation/communication/wifi/wifi/frameworks/native/interfaces/ |
H A D | i_wifi_device.h | 383 * @param bandType - wifi band type 387 virtual ErrCode IsBandTypeSupported(int bandType, bool &supported) = 0;
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_impl.h | 368 * @param bandType - wifi band type 372 ErrCode IsBandTypeSupported(int bandType, bool &supported) override;
|
H A D | wifi_device_impl.cpp | 420 ErrCode WifiDeviceImpl::IsBandTypeSupported(int bandType, bool &supported) in IsBandTypeSupported() argument 424 return client_->IsBandTypeSupported(bandType, supported); in IsBandTypeSupported()
|
H A D | wifi_device_proxy.h | 386 * @param bandType - wifi band type 390 ErrCode IsBandTypeSupported(int bandType, bool &supported) override;
|
H A D | wifi_device_proxy_lite.cpp | 1600 ErrCode WifiDeviceProxy::IsBandTypeSupported(int bandType, bool &supported) in IsBandTypeSupported() argument 1618 (void)WriteInt32(&req, bandType); in IsBandTypeSupported()
|
H A D | wifi_device_proxy.cpp | 1693 ErrCode WifiDeviceProxy::IsBandTypeSupported(int bandType, bool &supported) in IsBandTypeSupported() argument 1707 data.WriteInt32(bandType); in IsBandTypeSupported()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_service_impl.h | 164 ErrCode IsBandTypeSupported(int bandType, bool &supported) override;
|
H A D | wifi_device_service_impl.cpp | 1701 ErrCode WifiDeviceServiceImpl::IsBandTypeSupported(int bandType, bool &supported) in IsBandTypeSupported() argument 1709 if (bandType <= (int)BandType::BAND_NONE || bandType >= (int)BandType::BAND_ANY) { in IsBandTypeSupported() 1710 WIFI_LOGE("IsBandTypeSupported bandType error %{public}d!", bandType); in IsBandTypeSupported() 1715 supported = channels.find((BandType)bandType) != channels.end(); in IsBandTypeSupported()
|
H A D | wifi_device_stub_lite.cpp | 640 bool bandType = false; in OnIsBandTypeSupported() local 641 (void)ReadBool(req, &bandType); in OnIsBandTypeSupported() 643 ErrCode ret = IsBandTypeSupported(bandType, result); in OnIsBandTypeSupported()
|
H A D | wifi_device_stub.cpp | 1073 int bandType = data.ReadInt32(); in OnIsBandTypeSupported() local 1075 ret = IsBandTypeSupported(bandType, result); in OnIsBandTypeSupported()
|
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/ |
H A D | wifi_c_device.cpp | 507 NO_SANITIZE("cfi") WifiErrorCode IsBandTypeSupported(int bandType, bool *supported) in IsBandTypeSupported() argument 510 OHOS::Wifi::ErrCode ret = wifiDevicePtr->IsBandTypeSupported(bandType, *supported); in IsBandTypeSupported()
|
/foundation/communication/wifi/wifi/frameworks/cj/src/ |
H A D | wifi_ffi.cpp | 482 int32_t FfiWifiIsBandTypeSupported(int32_t bandType, bool &ret) in FfiWifiIsBandTypeSupported() argument 487 return cjWifiDevicePtr->IsBandTypeSupported(bandType, ret); in FfiWifiIsBandTypeSupported()
|
/foundation/communication/wifi/wifi/test/wifi_client/ |
H A D | wifi_client.cpp | 631 int bandType = (band == "2g" ? BAND_2GHZ : BAND_5GHZ); in HandleGetSignalLevel() local 632 ErrCode ret = ptrWifiDevice->GetSignalLevel(rssi, bandType, level); in HandleGetSignalLevel()
|
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifidevicestub_fuzzer/ |
H A D | wifidevicestub_fuzzer.cpp | 989 int bandType = static_cast<int>(data[0]); in IsBandTypeSupportedTest() local 991 pWifiDeviceServiceImpl->IsBandTypeSupported(bandType, supported); in IsBandTypeSupportedTest()
|