Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java271 String[] ssids = new String[0]; in emptyScanResults() local
279 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in emptyScanResults()
301 String[] ssids = {"\"test1\"", "\"test2\""}; in verifyMinimumRssiThreshold() local
309 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in verifyMinimumRssiThreshold()
331 String[] ssids = {"\"test1\"", "\"test2\""}; in verifyMinimumTimeGapWhenConnected() local
340 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in verifyMinimumTimeGapWhenConnected()
370 String[] ssids = {"\"test1\"", "\"test2\""}; in verifyNoMinimumTimeGapWhenDisconnected() local
379 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in verifyNoMinimumTimeGapWhenDisconnected()
413 String[] ssids = {"\"test1\""}; in openNetworkIsNotSufficient() local
421 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in openNetworkIsNotSufficient()
[all …]
DSavedNetworkEvaluatorTest.java160 String[] ssids = {"\"test1\"", "\"test2\""}; in ignoreNetworksIfUseExternalScores() local
168 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in ignoreNetworksIfUseExternalScores()
187 String[] ssids = {"\"test1\"", "\"test2\""}; in ignoreEphemeralNetworks() local
195 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in ignoreEphemeralNetworks()
215 String[] ssids = {"\"test1\"", "\"test2\"", "\"test3\""}; in setCandidateScanResultsForAllSavedNetworks() local
224 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in setCandidateScanResultsForAllSavedNetworks()
255 String[] ssids = {"\"test1\"", "\"test2\""}; in chooseStrongerRssi2GNetwork() local
263 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in chooseStrongerRssi2GNetwork()
283 String[] ssids = {"\"test1\"", "\"test2\""}; in chooseStrongerRssi5GNetwork() local
291 WifiNetworkSelectorTestUtil.setupScanDetailsAndConfigStore(ssids, bssids, in chooseStrongerRssi5GNetwork()
[all …]
DScoredNetworkEvaluatorTest.java120 String[] ssids = {"\"test1\""}; in testUpdate_recommendationsDisabled() local
129 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_recommendationsDisabled()
144 String[] ssids = {"\"test1\""}; in testUpdate_emptyScanList() local
153 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_emptyScanList()
162 String[] ssids = {"\"test1\"", "\"test2\""}; in testUpdate_allNetworksUnscored() local
171 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_allNetworksUnscored()
187 String[] ssids = {"\"test1\"", "\"test2\""}; in testUpdate_oneScored_oneUnscored() local
196 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_oneScored_oneUnscored()
231 String[] ssids = {"\"test1\"", "\"test2\""}; in testUpdate_externalScorerNotPermittedToSeeScanResults() local
243 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_externalScorerNotPermittedToSeeScanResults()
[all …]
DWifiLastResortWatchdogTest.java77 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, in createFilteredQnsCandidates() argument
82 for (int index = 0; index < ssids.length; index++) { in createFilteredQnsCandidates()
83 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); in createFilteredQnsCandidates()
100 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, in createFilteredQnsCandidates() argument
106 for (int index = 0; index < ssids.length; index++) { in createFilteredQnsCandidates()
107 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); in createFilteredQnsCandidates()
473 String[] ssids = {"\"test1\"", "\"test2\"", "\"test1\"", "\"test4\""}; in testFailureCounting_countFailuresForAnyBssid() local
478 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(ssids, in testFailureCounting_countFailuresForAnyBssid()
483 for (int i = 0; i < ssids.length; i++) { in testFailureCounting_countFailuresForAnyBssid()
491 ssids[0], WifiLastResortWatchdog.BSSID_ANY, in testFailureCounting_countFailuresForAnyBssid()
[all …]
DCarrierNetworkEvaluatorTest.java211 String[] ssids = {CARRIER1_SSID, CARRIER2_SSID, CARRIER_SAVED_SSID, CARRIER_SAVED_EPH_SSID, in testSelectOneFromMultiple() local
220 List<ScanDetail> scanDetails = WifiNetworkSelectorTestUtil.buildScanDetails(ssids, bssids, in testSelectOneFromMultiple()
275 String[] ssids = {NON_CARRIER_SSID}; in testSelectFromNoneAvailable() local
281 List<ScanDetail> scanDetails = WifiNetworkSelectorTestUtil.buildScanDetails(ssids, bssids, in testSelectFromNoneAvailable()
299 String[] ssids = {CARRIER1_SSID, CARRIER2_SSID, CARRIER_SAVED_SSID, CARRIER_SAVED_EPH_SSID, in testNoCarrierCert() local
310 List<ScanDetail> scanDetails = WifiNetworkSelectorTestUtil.buildScanDetails(ssids, bssids, in testNoCarrierCert()
333 String[] ssids = {CARRIER1_SSID}; in testAvailableButPreviouslyUserDeleted() local
343 List<ScanDetail> scanDetails = WifiNetworkSelectorTestUtil.buildScanDetails(ssids, bssids, in testAvailableButPreviouslyUserDeleted()
361 String[] ssids = {CARRIER1_SSID}; in testAvailableButBlacklisted() local
369 List<ScanDetail> scanDetails = WifiNetworkSelectorTestUtil.buildScanDetails(ssids, bssids, in testAvailableButBlacklisted()
[all …]
DNetworkSuggestionEvaluatorTest.java692 public static ScanDetail[] buildScanDetails(String[] ssids, String[] bssids, int[] freqs, in buildScanDetails() argument
694 if (ssids == null || ssids.length == 0) return new ScanDetail[0]; in buildScanDetails()
696 ScanDetail[] scanDetails = new ScanDetail[ssids.length]; in buildScanDetails()
698 for (int index = 0; index < ssids.length; index++) { in buildScanDetails()
699 scanDetails[index] = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]), in buildScanDetails()
709 public static WifiConfiguration[] buildWifiConfigurations(String[] ssids, int[] securities) { in buildWifiConfigurations() argument
710 if (ssids == null || ssids.length == 0) return new WifiConfiguration[0]; in buildWifiConfigurations()
712 WifiConfiguration[] configs = new WifiConfiguration[ssids.length]; in buildWifiConfigurations()
713 for (int index = 0; index < ssids.length; index++) { in buildWifiConfigurations()
714 configs[index] = generateWifiConfig(-1, 0, ssids[index], false, true, null, in buildWifiConfigurations()
[all …]
DOpenNetworkNotifierTest.java729 private List<ScanDetail> createOpenScanResults(String... ssids) { in createOpenScanResults() argument
731 for (String ssid : ssids) { in createOpenScanResults()
DCarrierNetworkNotifierTest.java735 private List<ScanDetail> createCarrierScanResults(String... ssids) { in createCarrierScanResults() argument
737 for (String ssid : ssids) { in createCarrierScanResults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java2075 Set<ScanResultMatchInfo> ssids = new HashSet<ScanResultMatchInfo>(); in incrementAvailableNetworksHistograms() local
2145 ssids.add(matchInfo); in incrementAvailableNetworksHistograms()
2171 incrementTotalScanSsids(mTotalSsidsInScanHistogram, ssids.size()); in incrementAvailableNetworksHistograms()
/frameworks/base/proto/src/
Dwifi.proto280 // Histogram counting instances of scans with N many ScanResults with unique ssids
286 // Histogram counting instances of scans with N many unique open ssids
292 // Histogram counting instances of scans with N many unique ssids for saved networks