Searched refs:hotspotConfig (Results 1 – 14 of 14) sorted by relevance
93 hotspotConfig.SetSsid(config->ssid); in GetHotspotConfigFromC()100 hotspotConfig.SetChannel(config->channelNum); in GetHotspotConfigFromC()104 hotspotConfig.SetPreSharedKey(config->preSharedKey); in GetHotspotConfigFromC()108 hotspotConfig.SetIpAddress(config->ipAddress); in GetHotspotConfigFromC()116 hotspotConfig.GetSsid().c_str(), hotspotConfig.GetSsid().size() + 1) != EOK) { in GetHotspotConfigFromCpp()120 result->band = static_cast<int>(hotspotConfig.GetBand()); in GetHotspotConfigFromCpp()121 result->channelNum = hotspotConfig.GetChannel(); in GetHotspotConfigFromCpp()123 … hotspotConfig.GetPreSharedKey().c_str(), hotspotConfig.GetPreSharedKey().size() + 1) != EOK) { in GetHotspotConfigFromCpp()127 hotspotConfig.GetIpAddress().c_str(), hotspotConfig.GetIpAddress().size() + 1) != EOK) { in GetHotspotConfigFromCpp()137 OHOS::Wifi::HotspotConfig hotspotConfig; in SetHotspotConfig() local[all …]
69 hotspotConfig.SetSsid(GetStringValue(node)); in ParseSoftap()70 WIFI_LOGI("Ssid is %{public}s", SsidAnonymize(hotspotConfig.GetSsid()).c_str()); in ParseSoftap()77 hotspotConfig.SetSecurityType(KeyMgmt::WPA2_PSK); in ParseSoftap()79 hotspotConfig.SetSecurityType(KeyMgmt::NONE); in ParseSoftap()84 hotspotConfig.SetPreSharedKey(GetStringValue(node)); in ParseSoftap()85 …WIFI_LOGI("PreSharedKey is %{public}s", PassWordAnonymize(hotspotConfig.GetPreSharedKey()).c_str()… in ParseSoftap()94 hotspotConfig.SetMaxConn(MAX_AP_CONN); in ParseSoftap()132 hotspotConfig.SetBand(BandType::BAND_2GHZ); in TransBandinfo()134 hotspotConfig.SetBand(BandType::BAND_5GHZ); in TransBandinfo()143 if (hotspotConfig.GetSecurityType() == KeyMgmt::NONE) { in GetSoftapConfigs()[all …]
57 HotspotConfig hotspotConfig{};
166 HotspotConfig hotspotConfig; in OnGetHotspotConfig() local168 ErrCode ret = GetHotspotConfig(hotspotConfig); in OnGetHotspotConfig()172 reply.WriteCString(hotspotConfig.GetSsid().c_str()); in OnGetHotspotConfig()173 reply.WriteInt32(static_cast<int>(hotspotConfig.GetSecurityType())); in OnGetHotspotConfig()174 reply.WriteInt32(static_cast<int>(hotspotConfig.GetBand())); in OnGetHotspotConfig()175 reply.WriteInt32(hotspotConfig.GetChannel()); in OnGetHotspotConfig()176 reply.WriteCString(hotspotConfig.GetPreSharedKey().c_str()); in OnGetHotspotConfig()177 reply.WriteInt32(hotspotConfig.GetMaxConn()); in OnGetHotspotConfig()178 if (hotspotConfig.GetIpAddress().empty()) { in OnGetHotspotConfig()181 reply.WriteString(hotspotConfig.GetIpAddress()); in OnGetHotspotConfig()[all …]
124 HotspotConfig hotspotConfig; in StartDhcpServer() local125 WifiSettings::GetInstance().GetHotspotConfig(hotspotConfig, m_id); in StartDhcpServer()132 hotspotConfig.SetIpAddress(ipv4.GetAddressWithString()); in StartDhcpServer()133 WifiSettings::GetInstance().SetHotspotConfig(hotspotConfig, m_id); in StartDhcpServer()
64 ErrCode ApInterface::SetHotspotConfig(const HotspotConfig &hotspotConfig) in SetHotspotConfig() argument66 return m_ApService.SetHotspotConfig(hotspotConfig); in SetHotspotConfig()
35 virtual ErrCode SetHotspotConfig(const HotspotConfig &hotspotConfig) = 0;
74 virtual ErrCode SetHotspotConfig(const HotspotConfig &hotspotConfig) override;
175 HotspotConfig hotspotConfig; in SetConfig() local176 WifiSettings::GetInstance().GetHotspotConfig(hotspotConfig, m_id); in SetConfig()177 if (hotspotConfig.GetBand() == BandType::BAND_2GHZ) { in SetConfig()
35 MOCK_METHOD1(SetHotspotConfig, ErrCode(const HotspotConfig &hotspotConfig));
33 virtual ErrCode SetHotspotConfig(const HotspotConfig &hotspotConfig);
45 ErrCode ApInterface::SetHotspotConfig(const HotspotConfig &hotspotConfig) in SetHotspotConfig() argument
68 ErrCode SetHotspotConfig(const HotspotConfig &hotspotConfig);
1777 std::vector<HotspotConfig> hotspotConfig = xmlParser->GetSoftapConfigs(); in MergeSoftapConfig() local1778 if (hotspotConfig.size() == 0) { in MergeSoftapConfig()1782 mSavedHotspotConfig.SetValue(hotspotConfig); in MergeSoftapConfig()