Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/wifi_country_code/
H A Dwifi_country_code_policy.cpp211 std::vector<std::pair<std::string, int>> sortCode(codeCount.begin(), codeCount.end()); in FindLargestCountCountryCode() local
212 sort(sortCode.begin(), sortCode.end(), [](const std::pair<std::string, int> &a, in FindLargestCountCountryCode()
216 if (sortCode.size() == 0) { in FindLargestCountCountryCode()
220 if (sortCode.size() == 1) { in FindLargestCountCountryCode()
221 std::pair<std::string, int> oneCode = sortCode[0]; in FindLargestCountCountryCode()
226 std::pair<std::string, int> firstCode = sortCode[0]; in FindLargestCountCountryCode()
227 std::pair<std::string, int> secondCode = sortCode[1]; in FindLargestCountCountryCode()