Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java55 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResult()
72 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithAnqpLines()
86 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithoutWifiSsid()
99 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
100 assertEquals(config.SSID, ScanResultUtil.createQuotedSSID(ssid)); in testNetworkCreationFromScanResult()
104 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
105 assertEquals(config.SSID, ScanResultUtil.createQuotedSSID(ssid)); in testNetworkCreationFromScanResult()
111 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
112 assertEquals(config.SSID, ScanResultUtil.createQuotedSSID(ssid)); in testNetworkCreationFromScanResult()
116 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanResultMatchInfo.java22 import com.android.server.wifi.util.ScanResultUtil;
91 if (ScanResultUtil.isScanResultForSaeNetwork(scanResult)) { in getNetworkType()
93 } else if (ScanResultUtil.isScanResultForWapiPskNetwork(scanResult)) { in getNetworkType()
95 } else if (ScanResultUtil.isScanResultForWapiCertNetwork(scanResult)) { in getNetworkType()
97 } else if (ScanResultUtil.isScanResultForPskNetwork(scanResult)) { in getNetworkType()
99 } else if (ScanResultUtil.isScanResultForEapSuiteBNetwork(scanResult)) { in getNetworkType()
101 } else if (ScanResultUtil.isScanResultForEapNetwork(scanResult)) { in getNetworkType()
103 } else if (ScanResultUtil.isScanResultForWepNetwork(scanResult)) { in getNetworkType()
105 } else if (ScanResultUtil.isScanResultForOweNetwork(scanResult)) { in getNetworkType()
107 } else if (ScanResultUtil.isScanResultForOpenNetwork(scanResult)) { in getNetworkType()
[all …]
DScoredNetworkNominator.java36 import com.android.server.wifi.util.ScanResultUtil;
158 ScanResultUtil.createQuotedSSID(scanResult.SSID))) { in nominateNetworks()
172 if (ScanResultUtil.isScanResultForOpenNetwork(scanResult)) { in nominateNetworks()
315 ScanResultUtil.createNetworkFromScanResult(mScanResultCandidate); in getCandidateConfiguration()
DAvailableNetworkNotifier.java51 import com.android.server.wifi.util.ScanResultUtil;
477 return ScanResultUtil.createNetworkFromScanResult(recommendedNetwork); in createRecommendedNetworkConfig()
DWifiNetworkSelector.java43 import com.android.server.wifi.util.ScanResultUtil;
490 if (!ScanResultUtil.isScanResultForOpenNetwork(scanResult)) { in getFilteredScanDetailsForOpenUnsavedNetworks()
495 if (ScanResultUtil.isScanResultForOweNetwork(scanResult) in getFilteredScanDetailsForOpenUnsavedNetworks()
DWifiConnectivityManager.java47 import com.android.server.wifi.util.ScanResultUtil;
406 results.add(ScanResultUtil.createQuotedSSID(scanDetail.getScanResult().SSID)); in updateUserDisabledList()
571 mScanDetails.add(ScanResultUtil.toScanDetail(fullScanResult)); in onFullResult()
691 mScanDetails.add(ScanResultUtil.toScanDetail(result)); in onPnoNetworkFound()
DWifiMetrics.java106 import com.android.server.wifi.util.ScanResultUtil;
1701 if (ScanResultUtil.isScanResultForWepNetwork(scanResult)) { in updateMetricsFromScanResult()
1704 } else if (ScanResultUtil.isScanResultForPskNetwork(scanResult) in updateMetricsFromScanResult()
1705 || ScanResultUtil.isScanResultForSaeNetwork(scanResult)) { in updateMetricsFromScanResult()
1708 } else if (ScanResultUtil.isScanResultForEapNetwork(scanResult) in updateMetricsFromScanResult()
1709 || ScanResultUtil.isScanResultForEapSuiteBNetwork(scanResult)) { in updateMetricsFromScanResult()
2368 if (ScanResultUtil.isScanResultForFilsSha256Network(scanResult) in countScanResults()
2369 || ScanResultUtil.isScanResultForFilsSha384Network(scanResult)) { in countScanResults()
2375 if (ScanResultUtil.isScanResultForEapSuiteBNetwork(scanResult)) { in countScanResults()
2377 } else if (ScanResultUtil.isScanResultForWapiPskNetwork(scanResult)) { in countScanResults()
[all …]
DWifiHealthMonitor.java47 import com.android.server.wifi.util.ScanResultUtil;
1072 mScanDetails.add(ScanResultUtil.toScanDetail(fullScanResult)); in onFullResult()
DWifiShellCommand.java54 import com.android.server.wifi.util.ScanResultUtil;
385 ScanResultUtil.dumpScanResults(pw, scanResults, in onCommand()
DWifiNetworkFactory.java62 import com.android.server.wifi.util.ScanResultUtil;
1405 ScanResultUtil.createQuotedSSID(ssid))) { in triggerConnectIfUserApprovedMatchFound()
DWifiServiceImpl.java119 import com.android.server.wifi.util.ScanResultUtil;
2231 if (!ScanResultUtil.validateScanResultList(scanResults)) { in getAllMatchingPasspointProfilesForScanResults()
2256 if (!ScanResultUtil.validateScanResultList(scanResults)) { in getMatchingOsuProviders()
2336 if (!ScanResultUtil.validateScanResultList(scanResults)) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
2758 if (!ScanResultUtil.validateScanResultList(scanResults)) { in getMatchingScanResults()
DClientModeImpl.java133 import com.android.server.wifi.util.ScanResultUtil;
6328 && ScanResultUtil.isScanResultForFilsSha256Network(scanResult)) { in updateAllowedKeyManagementSchemesFromScanResult()
6332 && ScanResultUtil.isScanResultForFilsSha384Network(scanResult)) { in updateAllowedKeyManagementSchemesFromScanResult()
6401 if (!config.SSID.equals(ScanResultUtil.createQuotedSSID(scanResult.SSID))) { in updateWifiConfigOnStartConnection()
6405 if (ScanResultUtil.isScanResultForPskNetwork(scanResult) in updateWifiConfigOnStartConnection()
6406 && !ScanResultUtil.isScanResultForSaeNetwork(scanResult)) { in updateWifiConfigOnStartConnection()
6415 if (ScanResultUtil.isScanResultForSaeNetwork(scanResult) in updateWifiConfigOnStartConnection()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupEvaluatorTest.java29 import com.android.server.wifi.util.ScanResultUtil;
72 ScanResultUtil.createQuotedSSID(SAVED_SSID_1)))); in getSavedNetworks()
75 ScanResultUtil.createQuotedSSID(SAVED_SSID_2)))); in getSavedNetworks()
DWakeupControllerTest.java42 import com.android.server.wifi.util.ScanResultUtil;
349 String quotedSsid = ScanResultUtil.createQuotedSSID(ssid1); in startInitializesWakeupLockWithSavedScanResults()
384 String quotedSsid = ScanResultUtil.createQuotedSSID(ssid1); in startInitializesWakeupLockWithNetworkSuggestions()
423 String quotedSsid1 = ScanResultUtil.createQuotedSSID(ssid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
424 String quotedSsid2 = ScanResultUtil.createQuotedSSID(ssid2); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
469 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssidDfs)); in startFiltersOutDfsScanResults()
472 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssid24)); in startFiltersOutDfsScanResults()
502 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForSavedNetworks()
530 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForNetworkSuggestions()
DWifiNetworkSelectorTestUtil.java41 import com.android.server.wifi.util.ScanResultUtil;
485 ScanResultUtil.createNetworkFromScanResult(scanDetail.getScanResult()); in setupEphemeralNetwork()
DNetworkListStoreDataTest.java34 import com.android.server.wifi.util.ScanResultUtil;
765 ScanResultUtil.createQuotedSSID(testSSID + (1 - i))); in testWifiConfigSaveToStoreOrder()
DWifiNetworkFactoryTest.java71 import com.android.server.wifi.util.ScanResultUtil;
1266 mSelectedNetwork = ScanResultUtil.createNetworkFromScanResult(matchingScanResult); in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch()
1317 mSelectedNetwork = ScanResultUtil.createNetworkFromScanResult(matchingScanResult); in testNetworkSpecifierHandleUserSelectionConnectToNetworkMultipleBssidMatches()
2140 ScanResultUtil.createQuotedSSID(mTestScanDatas[0].getResults()[0].SSID))) in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedNForgot()
DClientModeImplTest.java135 import com.android.server.wifi.util.ScanResultUtil;
4606 config.SSID = ScanResultUtil.createQuotedSSID(ssidSae); in testWpa3UpgradeWithSaeCandidateAndPskApInRange()
4678 config.SSID = ScanResultUtil.createQuotedSSID(ssidSae); in testWpa3UpgradeWithNoCandidate()
4789 config.SSID = ScanResultUtil.createQuotedSSID(sFilsSsid); in setupFilsTest()
DWifiConnectivityManagerTest.java58 import com.android.server.wifi.util.ScanResultUtil;
2188 updateNetworks.add(ScanResultUtil.createQuotedSSID(scanResult.SSID)); in verifyUserDisabledListUpdated()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java55 import com.android.server.wifi.util.ScanResultUtil;
233 assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID1), addedConfig.getValue().SSID); in evaluateScansWithNetworkMatchingHomeProvider()
274 assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID1), addedConfig.getValue().SSID); in evaluateScansWithNetworkMatchingRoamingProvider()
370 currentNetwork.SSID = ScanResultUtil.createQuotedSSID(TEST_SSID1); in evaluateScansMatchingActiveNetworkWithDifferentBSS()
514 assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID2), candidates.get(0).second.SSID); in evaluateScansWithNetworkMatchingBothHomeAndRoamingForSameProvider()
549 && c.second.SSID.equals(ScanResultUtil.createQuotedSSID(TEST_SSID1)))); in evaluateScansWithNetworkMatchingBothHomeAndRoamingForDifferentProvider()
551 && c.second.SSID.equals(ScanResultUtil.createQuotedSSID(TEST_SSID2)))); in evaluateScansWithNetworkMatchingBothHomeAndRoamingForDifferentProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java35 public class ScanResultUtil { class
36 private ScanResultUtil() { /* not constructable */ } in ScanResultUtil() method in ScanResultUtil
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java32 import com.android.server.wifi.util.ScanResultUtil;
182 config.SSID = ScanResultUtil.createQuotedSSID(candidate.mScanDetail.getSSID()); in createWifiConfigForProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java35 import com.android.server.wifi.util.ScanResultUtil;
481 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
488 ScanResultUtil.dumpScanResults(pw, pnoScanResults, nowMs); in dump()
DWifiScanningServiceImpl.java69 import com.android.server.wifi.util.ScanResultUtil;
2557 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
/frameworks/opt/net/wifi/tests/wifitests/
DAndroid.bp897 "com.android.server.wifi.util.ScanResultUtil",
898 "com.android.server.wifi.util.ScanResultUtil$*",
899 "com.android.server.wifi.util.ScanResultUtil.**",