Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanResultMatchInfo.java21 import com.android.server.wifi.util.ScanResultUtil;
82 if (ScanResultUtil.isScanResultForSaeNetwork(scanResult)) { in getNetworkType()
84 } else if (ScanResultUtil.isScanResultForPskNetwork(scanResult)) { in getNetworkType()
86 } else if (ScanResultUtil.isScanResultForEapSuiteBNetwork(scanResult)) { in getNetworkType()
88 } else if (ScanResultUtil.isScanResultForEapNetwork(scanResult)) { in getNetworkType()
90 } else if (ScanResultUtil.isScanResultForWepNetwork(scanResult)) { in getNetworkType()
92 } else if (ScanResultUtil.isScanResultForOweNetwork(scanResult)) { in getNetworkType()
94 } else if (ScanResultUtil.isScanResultForOpenNetwork(scanResult)) { in getNetworkType()
110 info.networkSsid = ScanResultUtil.createQuotedSSID(scanResult.SSID); in fromScanResult()
117 ScanResultUtil.isScanResultForPskSaeTransitionNetwork(scanResult); in fromScanResult()
[all …]
DCarrierNetworkEvaluator.java27 import com.android.server.wifi.util.ScanResultUtil;
101 if (!ScanResultUtil.isScanResultForEapNetwork(scanResult) in evaluateNetworks()
112 ScanResultUtil.createQuotedSSID(scanResult.SSID))) { in evaluateNetworks()
118 WifiConfiguration config = ScanResultUtil.createNetworkFromScanResult(scanResult); in evaluateNetworks()
DScoredNetworkEvaluator.java38 import com.android.server.wifi.util.ScanResultUtil;
142 ScanResultUtil.createQuotedSSID(scanResult.SSID))) { in evaluateNetworks()
156 if (ScanResultUtil.isScanResultForOpenNetwork(scanResult)) { in evaluateNetworks()
296 ScanResultUtil.createNetworkFromScanResult(mScanResultCandidate); in getCandidateConfiguration()
DNetworkSuggestionEvaluator.java26 import com.android.server.wifi.util.ScanResultUtil;
88 ScanResultUtil.createQuotedSSID(scanResult.SSID))) { in evaluateNetworks()
DWifiNetworkSelector.java41 import com.android.server.wifi.util.ScanResultUtil;
464 if (!ScanResultUtil.isScanResultForOpenNetwork(scanResult)) { in getFilteredScanDetailsForOpenUnsavedNetworks()
469 if (ScanResultUtil.isScanResultForOweNetwork(scanResult) in getFilteredScanDetailsForOpenUnsavedNetworks()
499 if (!ScanResultUtil.isScanResultForEapNetwork(scanResult) in getFilteredScanDetailsForCarrierUnsavedNetworks()
DAvailableNetworkNotifier.java51 import com.android.server.wifi.util.ScanResultUtil;
483 return ScanResultUtil.createNetworkFromScanResult(recommendedNetwork); in createRecommendedNetworkConfig()
DWifiConnectivityManager.java45 import com.android.server.wifi.util.ScanResultUtil;
397 mScanDetails.add(ScanResultUtil.toScanDetail(fullScanResult)); in onFullResult()
517 mScanDetails.add(ScanResultUtil.toScanDetail(result)); in onPnoNetworkFound()
DWifiMetrics.java91 import com.android.server.wifi.util.ScanResultUtil;
1174 if (ScanResultUtil.isScanResultForWepNetwork(scanResult)) { in updateMetricsFromScanResult()
1177 } else if (ScanResultUtil.isScanResultForPskNetwork(scanResult) in updateMetricsFromScanResult()
1178 || ScanResultUtil.isScanResultForSaeNetwork(scanResult)) { in updateMetricsFromScanResult()
1181 } else if (ScanResultUtil.isScanResultForEapNetwork(scanResult) in updateMetricsFromScanResult()
1182 || ScanResultUtil.isScanResultForEapSuiteBNetwork(scanResult)) { in updateMetricsFromScanResult()
1678 if (ScanResultUtil.isScanResultForEapSuiteBNetwork(scanResult)) { in countScanResults()
1680 } else if (ScanResultUtil.isScanResultForEapNetwork(scanResult)) { in countScanResults()
1682 } else if (ScanResultUtil.isScanResultForSaeNetwork(scanResult)) { in countScanResults()
1684 } else if (ScanResultUtil.isScanResultForPskNetwork(scanResult) in countScanResults()
[all …]
DWifiNetworkFactory.java61 import com.android.server.wifi.util.ScanResultUtil;
246 ScanResultUtil.createQuotedSSID(approvedScanResult.SSID))) { in onResults()
250 ScanResultUtil.createNetworkFromScanResult(approvedScanResult)); in onResults()
DWificondControl.java46 import com.android.server.wifi.util.ScanResultUtil;
614 if (ScanResultUtil.isScanResultForEapNetwork(scanDetail.getScanResult()) in getScanResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java52 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResult()
69 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithAnqpLines()
83 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithoutWifiSsid()
96 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
97 assertEquals(config.SSID, ScanResultUtil.createQuotedSSID(ssid)); in testNetworkCreationFromScanResult()
101 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
102 assertEquals(config.SSID, ScanResultUtil.createQuotedSSID(ssid)); in testNetworkCreationFromScanResult()
108 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
109 assertEquals(config.SSID, ScanResultUtil.createQuotedSSID(ssid)); in testNetworkCreationFromScanResult()
113 config = ScanResultUtil.createNetworkFromScanResult(scanResult); in testNetworkCreationFromScanResult()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java38 import com.android.server.wifi.util.ScanResultUtil;
117 ScanResultUtil.createQuotedSSID(s.getScanResult().SSID))) { in evaluateNetworks()
160 ScanResultUtil.createQuotedSSID(bestNetwork.mScanDetail.getSSID()))) { in evaluateNetworks()
224 config.SSID = ScanResultUtil.createQuotedSSID(networkInfo.mScanDetail.getSSID()); in createWifiConfigForProvider()
279 ScanResultUtil.createQuotedSSID(scanDetail.getSSID())); in findBestNetwork()
/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.java40 import com.android.server.wifi.util.ScanResultUtil;
326 String quotedSsid = ScanResultUtil.createQuotedSSID(ssid1); in startInitializesWakeupLockWithSavedScanResults()
361 String quotedSsid = ScanResultUtil.createQuotedSSID(ssid1); in startInitializesWakeupLockWithNetworkSuggestions()
400 String quotedSsid1 = ScanResultUtil.createQuotedSSID(ssid1); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
401 String quotedSsid2 = ScanResultUtil.createQuotedSSID(ssid2); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
446 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssidDfs)); in startFiltersOutDfsScanResults()
449 .createOpenNetwork(ScanResultUtil.createQuotedSSID(ssid24)); in startFiltersOutDfsScanResults()
479 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForSavedNetworks()
507 .createOpenNetwork(ScanResultUtil.createQuotedSSID(SAVED_SSID)); in onResultsUpdatesWakeupLockForNetworkSuggestions()
DWifiNetworkSelectorTestUtil.java37 import com.android.server.wifi.util.ScanResultUtil;
385 ScanResultUtil.createNetworkFromScanResult(scanDetail.getScanResult()); in setupEphemeralNetwork()
DCarrierNetworkEvaluatorTest.java40 import com.android.server.wifi.util.ScanResultUtil;
134 WifiConfiguration newConfig = ScanResultUtil.createNetworkFromScanResult( in configureNewSsid()
DWifiNetworkFactoryTest.java68 import com.android.server.wifi.util.ScanResultUtil;
1162 mSelectedNetwork = ScanResultUtil.createNetworkFromScanResult(matchingScanResult); in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch()
1221 mSelectedNetwork = ScanResultUtil.createNetworkFromScanResult(matchingScanResult); in testNetworkSpecifierHandleUserSelectionConnectToNetworkMultipleBssidMatches()
2062 ScanResultUtil.createQuotedSSID(mTestScanDatas[0].getResults()[0].SSID))) in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchPreviouslyApprovedNForgot()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java36 public class ScanResultUtil { class
37 private ScanResultUtil() { /* not constructable */ } in ScanResultUtil() method in ScanResultUtil
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java54 import com.android.server.wifi.util.ScanResultUtil;
232 assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID1), addedConfig.getValue().SSID); in evaluateScansWithNetworkMatchingHomeProvider()
275 assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID1), addedConfig.getValue().SSID); in evaluateScansWithNetworkMatchingRoamingProvider()
320 assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID1), addedConfig.getValue().SSID); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork()
351 currentNetwork.SSID = ScanResultUtil.createQuotedSSID(TEST_SSID2); in evaluateScansWithActiveNetworkMatchingHomeProvider()
368 assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID2), config.SSID); in evaluateScansWithActiveNetworkMatchingHomeProvider()
606 currentNetwork.SSID = ScanResultUtil.createQuotedSSID(TEST_SSID1); in evaluateScansMatchingActiveNetworkWithDifferentBSS()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java34 import com.android.server.wifi.util.ScanResultUtil;
492 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
499 ScanResultUtil.dumpScanResults(pw, pnoScanResults, nowMs); in dump()
DWifiScanningServiceImpl.java61 import com.android.server.wifi.util.ScanResultUtil;
2182 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()