Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetailCache.java44 private ConcurrentHashMap<String, ScanDetail> mMap;
53 void put(ScanDetail scanDetail) { in put()
57 void put(ScanDetail scanDetail, PasspointMatch match, HomeSP homeSp) { in put()
68 ScanDetail scanDetail = getScanDetail(bssid); in get()
72 ScanDetail getScanDetail(String bssid) { in getScanDetail()
88 ScanDetail getFirst() { in getFirst()
89 Iterator<ScanDetail> it = mMap.values().iterator(); in getFirst()
97 Collection<ScanDetail> values() { in values()
111 ArrayList<ScanDetail> list = new ArrayList<ScanDetail>(mMap.values()); in trim()
116 ScanDetail a = (ScanDetail) o1; in trim()
[all …]
DScanDetail.java39 public class ScanDetail { class
45 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail() method in ScanDetail
65 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, in ScanDetail() method in ScanDetail
78 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail, in ScanDetail() method in ScanDetail
DWifiConnectivityManager.java218 private boolean handleScanResults(List<ScanDetail> scanDetails, String listenerName) { in handleScanResults()
240 private List<ScanDetail> mScanDetails = new ArrayList<ScanDetail>();
300 private List<ScanDetail> mScanDetails = new ArrayList<ScanDetail>();
383 private List<ScanDetail> mScanDetails = new ArrayList<ScanDetail>();
DWifiConfigManager.java307 private ScanDetail mActiveScanDetail; // ScanDetail associated with active network
311 public void notifyANQPResponse(ScanDetail scanDetail, in notifyANQPResponse()
595 ScanDetail scanDetail = getScanDetailCache(config).getScanDetail(info.getBSSID()); in updateConfiguration()
718 ScanDetail result = getScanDetailCache(config).getFirst(); in selectNetwork()
964 ScanDetail scanDetail = null; in matchProviderWithCurrentNetwork()
2421 for (ScanDetail scanDetail : getScanDetailCache(config).values()) { in makeChannelList()
2449 for (ScanDetail scanDetail : getScanDetailCache(linked).values()) { in makeChannelList()
2469 private Map<HomeSP, PasspointMatch> matchPasspointNetworks(ScanDetail scanDetail) {
2498 private Map<HomeSP, PasspointMatch> matchNetwork(ScanDetail scanDetail, boolean query) {
2565 private void updateAnqpCache(ScanDetail scanDetail,
[all …]
DWifiQualifiedNetworkSelector.java63 private List<ScanDetail> mScanDetails = null;
66 private volatile List<Pair<ScanDetail, WifiConfiguration>> mFilteredScanDetails = null;
151 public List<Pair<ScanDetail, WifiConfiguration>> getFilteredScanDetails() { in getFilteredScanDetails()
610 boolean isUntrustedConnectionsAllowed, List<ScanDetail> scanDetails, in selectQualifiedNetwork()
615 List<Pair<ScanDetail, WifiConfiguration>> filteredScanDetails = new ArrayList<>(); in selectQualifiedNetwork()
657 for (ScanDetail scanDetail : mScanDetails) { in selectQualifiedNetwork()
DWifiLastResortWatchdog.java95 List<Pair<ScanDetail, WifiConfiguration>> availableNetworks) { in updateAvailableNetworks() argument
99 for (Pair<ScanDetail, WifiConfiguration> pair : availableNetworks) { in updateAvailableNetworks()
100 final ScanDetail scanDetail = pair.first; in updateAvailableNetworks()
DWifiNetworkHistory.java280 for (ScanDetail scanDetail : getScanDetailCache(config, in writeKnownNetworkHistory()
517 ScanDetail scanDetail = new ScanDetail(wssid, bssid, in readNetworkHistory()
DWifiNative.java623 public ArrayList<ScanDetail> getScanResults() { in getScanResults()
625 ArrayList<ScanDetail> results = new ArrayList<>(); in getScanResults()
721 ScanDetail scan = new ScanDetail(networkDetail, wifiSsid, bssid, flags, in getScanResults()
DWifiMetrics.java383 public void setConnectionScanDetail(ScanDetail scanDetail) { in setConnectionScanDetail()
DWifiStateMachine.java205 private List<ScanDetail> mScanResults = new ArrayList<>();
1877 for (ScanDetail result : mScanResults) { in syncGetScanResultsList()
3038 ArrayList<ScanDetail> scanResults = mWifiNative.getScanResults(); in setScanResults()
3058 ScanDetail activeScanDetail = null; in setScanResults()
3061 for (ScanDetail resultDetail : mScanResults) { in setScanResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DAnqpCacheTest.java55 ScanDetail[] mScanDetails;
61 mScanDetails = new ScanDetail[sChannels.length]; in NetworkDescription()
69 mScanDetails[i] = new ScanDetail(nd, wifiSsid, in NetworkDescription()
80 private static ScanDetail[] getAttWifiNetworkDescription() { in getAttWifiNetworkDescription()
85 private static ScanDetail[] getTwcWifiNetworkDescription() { in getTwcWifiNetworkDescription()
139 ScanDetail[] attScanDetails = getAttWifiNetworkDescription(); in basicAddQueryAndExpiry()
140 ScanDetail[] twcScanDetails = getTwcWifiNetworkDescription(); in basicAddQueryAndExpiry()
143 for (ScanDetail scanDetail : attScanDetails) { in basicAddQueryAndExpiry()
148 for (ScanDetail scanDetail : attScanDetails) { in basicAddQueryAndExpiry()
158 for (ScanDetail scanDetail : attScanDetails) { in basicAddQueryAndExpiry()
[all …]
DScanResults.java38 private final ArrayList<ScanDetail> mScanDetails = new ArrayList<>();
43 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, in ScanResults()
55 ArrayList<ScanDetail> scanDetails = new ArrayList<>(); in merge()
100 private static ScanDetail[] generateNativeResults(boolean needIE, int seed, int... freqs) { in generateNativeResults()
101 ScanDetail[] results = new ScanDetail[freqs.length]; in generateNativeResults()
119 ScanDetail detail = new ScanDetail(nd, WifiSsid.createFromAsciiEncoded(ssid), in generateNativeResults()
132 public static ScanDetail[] generateNativeResults(int seed, int... freqs) { in generateNativeResults()
154 public static ScanResults create(int id, ScanDetail... nativeResults) { in create()
164 ScanDetail... nativeResults) { in createOverflowing()
168 private ScanResults(int id, int maxResults, ScanDetail... nativeResults) { in ScanResults()
[all …]
DWifiLastResortWatchdogTest.java58 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, in createFilteredQnsCandidates()
61 List<Pair<ScanDetail, WifiConfiguration>> candidates = new ArrayList<>(); in createFilteredQnsCandidates()
65 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
81 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, in createFilteredQnsCandidates()
84 List<Pair<ScanDetail, WifiConfiguration>> candidates = in createFilteredQnsCandidates()
85 new ArrayList<Pair<ScanDetail, WifiConfiguration>>(); in createFilteredQnsCandidates()
89 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
126 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(mSsids, in testAvailableNetworkBuffering_ageCullingWorks()
166 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(mSsids, in testAvailableNetworkBuffering_emptyBufferWithEmptyScanResults()
195 List<Pair<ScanDetail, WifiConfiguration>> candidates; in testAvailableNetworkBuffering_addNewNetworksOverTime()
[all …]
DWifiQualifiedNetworkSelectorTest.java102 private List<ScanDetail> getScanDetails(String[] ssids, String[] bssids, int[] frequencies, in getScanDetails()
104 List<ScanDetail> scanDetailList = new ArrayList<ScanDetail>(); in getScanDetails()
107 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]), in getScanDetails()
249 List<ScanDetail> scanDetails) { in scanResultLinkConfiguration()
252 ScanDetail scanDetail = scanDetails.get(i); in scanResultLinkConfiguration()
260 ScanDetail scanDetail = scanDetails.get(i); in scanResultLinkConfiguration()
275 private void configureScoreCache(List<ScanDetail> scanDetails, Integer[] scores, in configureScoreCache()
278 ScanDetail scanDetail = scanDetails.get(i); in configureScoreCache()
332 List<ScanDetail> scanDetails = getScanDetails(ssids, bssids, frequencies, caps, levels); in chooseNetworkDisconnected2GHighestRssi()
370 List<ScanDetail> scanDetails = getScanDetails(ssids, bssids, frequencies, caps, levels); in chooseNetworkDisconnected5GHighestRssi()
[all …]
DWifiStateMachineTest.java279 private static ScanDetail getGoogleGuestScanDetail(int rssi) { in getGoogleGuestScanDetail()
283 ScanDetail detail = new ScanDetail(nd, sWifiSsid, sBSSID, "", rssi, sFreq, in getGoogleGuestScanDetail()
290 private ArrayList<ScanDetail> getMockScanResults() { in getMockScanResults()
292 ArrayList<ScanDetail> list = sr.getScanDetailArrayList(); in getMockScanResults()
DWifiMetricsTest.java386 ScanDetail scanDetail = mock(ScanDetail.class); in testScanDetailAndWifiConfigurationUsage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanDetailUtil.java21 import com.android.server.wifi.ScanDetail;
35 public static ScanDetail toScanDetail(ScanResult scanResult) { in toScanDetail()
38 return new ScanDetail(scanResult, networkDetail, null); in toScanDetail()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanDetailUtilTest.java28 import com.android.server.wifi.ScanDetail;
52 ScanDetail output = ScanDetailUtil.toScanDetail(input); in convertScanResult()
69 ScanDetail output = ScanDetailUtil.toScanDetail(input); in convertScanResultWithAnqpLines()
83 ScanDetail output = ScanDetailUtil.toScanDetail(input); in convertScanResultWithoutWifiSsid()
95 private static void validateScanDetail(ScanResult input, ScanDetail output) { in validateScanDetail()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java38 import com.android.server.wifi.ScanDetail;
393 ArrayList<ScanDetail> rawResults = new ArrayList<>(Arrays.asList( in singleScanWhereSupplicantReturnsSomeOldResults()
394 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 1"), in singleScanWhereSupplicantReturnsSomeOldResults()
397 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 2"), in singleScanWhereSupplicantReturnsSomeOldResults()
400 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 3"), in singleScanWhereSupplicantReturnsSomeOldResults()
403 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 4"), in singleScanWhereSupplicantReturnsSomeOldResults()
408 for (ScanDetail detail : rawResults) { in singleScanWhereSupplicantReturnsSomeOldResults()
DSupplicantWifiScannerTest.java31 import com.android.server.wifi.ScanDetail;
91 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 1"), in backgroundScanMaxApExceeded()
93 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 2"), in backgroundScanMaxApExceeded()
95 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 3"), in backgroundScanMaxApExceeded()
97 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 4"), in backgroundScanMaxApExceeded()
595 ArrayList<ScanDetail> nativeResults = null; in expectSuccessfulBackgroundScan()
622 Set<Integer> networkIds, ArrayList<ScanDetail> nativeResults, in expectSuccessfulBackgroundScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointMatchInfo.java3 import com.android.server.wifi.ScanDetail;
20 private final ScanDetail mScanDetail;
90 ScanDetail scanDetail, HomeSP homeSP) { in PasspointMatchInfo()
167 public ScanDetail getScanDetail() { in getScanDetail()
DSupplicantBridge.java6 import com.android.server.wifi.ScanDetail;
33 private final Map<Long, ScanDetail> mRequestMap = new HashMap<>();
64 ScanDetail scanDetail, in notifyANQPResponse()
103 public boolean startANQP(ScanDetail scanDetail, List<Constants.ANQPElementType> elements) { in startANQP()
176 ScanDetail scanDetail; in notifyANQPDone()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DSupplicantWifiScannerImpl.java31 import com.android.server.wifi.ScanDetail;
538 ArrayList<ScanDetail> nativeResults = mWifiNative.getScanResults(); in pollLatestScanData()