Home
last modified time | relevance | path

Searched refs:networkCandidates (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/network_select/
H A Dnetwork_selection_manager.cpp40 /* networkCandidates must be declared before networkSelector, in SelectNetwork()
42 std::vector<NetworkSelection::NetworkCandidate> networkCandidates; in SelectNetwork() local
51 /* Get the device config for each scanInfo, then create networkCandidate and put it into networkCandidates */ in SelectNetwork()
52 GetAllDeviceConfigs(networkCandidates, scanInfos); in SelectNetwork()
54 /* Traverse networkCandidates and reserve qualified networkCandidate */ in SelectNetwork()
55 TryNominate(networkCandidates, networkSelector); in SelectNetwork()
57 /* Get best networkCandidate from the reserved networkCandidates */ in SelectNetwork()
71 void NetworkSelectionManager::GetAllDeviceConfigs(std::vector<NetworkSelection::NetworkCandidate> &networkCandidates, in GetAllDeviceConfigs() argument
76 auto& networkCandidate = networkCandidates.emplace_back(scanInfo); in GetAllDeviceConfigs()
80 // save the indexes of saved network candidate in networkCandidates; in GetAllDeviceConfigs()
96 TryNominate(std::vector<NetworkSelection::NetworkCandidate> &networkCandidates, const std::unique_ptr<NetworkSelection::INetworkSelector> &networkSelector) TryNominate() argument
[all...]
H A Dnetwork_selector_impl.cpp36 subNetworkSelector->GetBestCandidates(networkCandidates); in GetCandidatesFromSubNetworkSelector()
67 subNetworkSelector->GetBestCandidates(networkCandidates); in GetCandidatesFromSubNetworkSelector()
151 subNetworkSelector->GetBestCandidates(networkCandidates); in GetCandidatesFromSubNetworkSelector()
152 if (!networkCandidates.empty()) { in GetCandidatesFromSubNetworkSelector()
153 /* abandon networkCandidates from other low-priority networkSelectors */ in GetCandidatesFromSubNetworkSelector()
164 if (!networkCandidates.empty()) { in ~SimpleFilterNetworkSelector()
165 WIFI_LOGI("networkCandidates in %{public}s: %{public}s", in ~SimpleFilterNetworkSelector()
167 NetworkSelectionUtils::GetNetworkCandidatesInfo(networkCandidates).c_str()); in ~SimpleFilterNetworkSelector()
183 if (!networkCandidates.empty()) { in Nominate()
184 networkCandidates in Nominate()
[all...]
H A Dnetwork_selection_utils.cpp56 std::string NetworkSelectionUtils::GetNetworkCandidatesInfo(const std::vector<NetworkCandidate*> &networkCandidates) in GetNetworkCandidatesInfo() argument
60 for (std::size_t i = 0; i < networkCandidates.size(); i++) { in GetNetworkCandidatesInfo()
61 if (networkCandidates.at(i)->wifiDeviceConfig.networkId == INVALID_NETWORK_ID) { in GetNetworkCandidatesInfo()
64 networkCandidatesInfo << "\"" << networkCandidates.at(i)->ToString() << "\""; in GetNetworkCandidatesInfo()
65 if (i < networkCandidates.size() - 1) { in GetNetworkCandidatesInfo()
H A Dnetwork_selection_manager.h49 * @param networkCandidates Candidate network
52 static void GetAllDeviceConfigs(std::vector<NetworkSelection::NetworkCandidate> &networkCandidates,
58 * @param networkCandidates candidate networks
61 static void TryNominate(std::vector<NetworkSelection::NetworkCandidate> &networkCandidates,
H A Dnetwork_selection_utils.h60 * @param networkCandidates candidate network
63 static std::string GetNetworkCandidatesInfo(const std::vector<NetworkCandidate*> &networkCandidates);
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dnetwork_selection.cpp230 comparator->GetBestCandidates(networkCandidates, selectedNetworkCandidates);
233 networkCandidates.begin(),
234 networkCandidates.end());
245 networkCandidates.emplace_back(&networkCandidate);
/foundation/communication/wifi/wifi/test/fuzztest/fuzz_common_func/
H A Dmock_auth_center.cpp116 void NetworkSelectionManager::TryNominate(std::vector<NetworkSelection::NetworkCandidate> &networkCandidates, in TryNominate() argument
H A Dmock_auth_center.h109 static void TryNominate(std::vector<NetworkSelection::NetworkCandidate> &networkCandidates,
/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Dnetwork_selection.h249 * @return true if the candidate network is added to networkCandidates.
253 std::vector<NetworkCandidate *> networkCandidates; member in OHOS::Wifi::NetworkSelection::NetworkSelector

Completed in 4 milliseconds