/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 55 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/ |
D | ScanResultMatchInfo.java | 22 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 …]
|
D | ScoredNetworkNominator.java | 36 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()
|
D | AvailableNetworkNotifier.java | 51 import com.android.server.wifi.util.ScanResultUtil; 477 return ScanResultUtil.createNetworkFromScanResult(recommendedNetwork); in createRecommendedNetworkConfig()
|
D | WifiNetworkSelector.java | 43 import com.android.server.wifi.util.ScanResultUtil; 490 if (!ScanResultUtil.isScanResultForOpenNetwork(scanResult)) { in getFilteredScanDetailsForOpenUnsavedNetworks() 495 if (ScanResultUtil.isScanResultForOweNetwork(scanResult) in getFilteredScanDetailsForOpenUnsavedNetworks()
|
D | WifiConnectivityManager.java | 47 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()
|
D | WifiMetrics.java | 106 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 …]
|
D | WifiHealthMonitor.java | 47 import com.android.server.wifi.util.ScanResultUtil; 1072 mScanDetails.add(ScanResultUtil.toScanDetail(fullScanResult)); in onFullResult()
|
D | WifiShellCommand.java | 54 import com.android.server.wifi.util.ScanResultUtil; 385 ScanResultUtil.dumpScanResults(pw, scanResults, in onCommand()
|
D | WifiNetworkFactory.java | 62 import com.android.server.wifi.util.ScanResultUtil; 1405 ScanResultUtil.createQuotedSSID(ssid))) { in triggerConnectIfUserApprovedMatchFound()
|
D | WifiServiceImpl.java | 119 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()
|
D | ClientModeImpl.java | 133 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/ |
D | WakeupEvaluatorTest.java | 29 import com.android.server.wifi.util.ScanResultUtil; 72 ScanResultUtil.createQuotedSSID(SAVED_SSID_1)))); in getSavedNetworks() 75 ScanResultUtil.createQuotedSSID(SAVED_SSID_2)))); in getSavedNetworks()
|
D | WakeupControllerTest.java | 42 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()
|
D | WifiNetworkSelectorTestUtil.java | 41 import com.android.server.wifi.util.ScanResultUtil; 485 ScanResultUtil.createNetworkFromScanResult(scanDetail.getScanResult()); in setupEphemeralNetwork()
|
D | NetworkListStoreDataTest.java | 34 import com.android.server.wifi.util.ScanResultUtil; 765 ScanResultUtil.createQuotedSSID(testSSID + (1 - i))); in testWifiConfigSaveToStoreOrder()
|
D | WifiNetworkFactoryTest.java | 71 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()
|
D | ClientModeImplTest.java | 135 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()
|
D | WifiConnectivityManagerTest.java | 58 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/ |
D | PasspointNetworkNominateHelperTest.java | 55 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/ |
D | ScanResultUtil.java | 35 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/ |
D | PasspointNetworkNominateHelper.java | 32 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/ |
D | WificondScannerImpl.java | 35 import com.android.server.wifi.util.ScanResultUtil; 481 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump() 488 ScanResultUtil.dumpScanResults(pw, pnoScanResults, nowMs); in dump()
|
D | WifiScanningServiceImpl.java | 69 import com.android.server.wifi.util.ScanResultUtil; 2557 ScanResultUtil.dumpScanResults(pw, scanResults, nowMs); in dump()
|
/frameworks/opt/net/wifi/tests/wifitests/ |
D | Android.bp | 897 "com.android.server.wifi.util.ScanResultUtil", 898 "com.android.server.wifi.util.ScanResultUtil$*", 899 "com.android.server.wifi.util.ScanResultUtil.**",
|