HomeSort by relevance Sort by last modified time
    Searched refs:scanDetail (Results 1 - 12 of 12) sorted by null

  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
AnqpCacheTest.java 55 ScanDetail[] mScanDetails;
61 mScanDetails = new ScanDetail[sChannels.length];
69 mScanDetails[i] = new ScanDetail(nd, wifiSsid,
80 private static ScanDetail[] getAttWifiNetworkDescription() {
85 private static ScanDetail[] getTwcWifiNetworkDescription() {
139 ScanDetail[] attScanDetails = getAttWifiNetworkDescription();
140 ScanDetail[] twcScanDetails = getTwcWifiNetworkDescription();
143 for (ScanDetail scanDetail : attScanDetails) {
144 cache.initiate(scanDetail.getNetworkDetail(), queryList)
    [all...]
WifiMetricsTest.java 379 * Test that WifiMetrics is correctly getting data from ScanDetail and WifiConfiguration
397 ScanDetail scanDetail = mock(ScanDetail.class);
398 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail);
399 when(scanDetail.getScanResult()).thenReturn(scanResult);
411 mWifiMetrics.setConnectionScanDetail(scanDetail);
WifiLastResortWatchdogTest.java 62 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids,
65 List<Pair<ScanDetail, WifiConfiguration>> candidates = new ArrayList<>();
69 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid),
80 candidates.add(Pair.create(scanDetail, config));
85 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids,
88 List<Pair<ScanDetail, WifiConfiguration>> candidates =
89 new ArrayList<Pair<ScanDetail, WifiConfiguration>>();
93 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid)
    [all...]
WifiQualifiedNetworkSelectorTest.java 102 private List<ScanDetail> getScanDetails(String[] ssids, String[] bssids, int[] frequencies,
104 List<ScanDetail> scanDetailList = new ArrayList<ScanDetail>();
107 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]),
109 scanDetailList.add(scanDetail);
249 List<ScanDetail> scanDetails) {
252 ScanDetail scanDetail = scanDetails.get(i)
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ScanDetailCache.java 44 private ConcurrentHashMap<String, ScanDetail> mMap;
53 void put(ScanDetail scanDetail) {
54 put(scanDetail, null, null);
57 void put(ScanDetail scanDetail, PasspointMatch match, HomeSP homeSp) {
59 mMap.put(scanDetail.getBSSIDString(), scanDetail);
62 mPasspointMatches.put(scanDetail.getBSSIDString(),
63 new PasspointMatchInfo(match, scanDetail, homeSp))
    [all...]
WifiConfigManager.java 307 private ScanDetail mActiveScanDetail; // ScanDetail associated with active network
311 public void notifyANQPResponse(ScanDetail scanDetail,
313 updateAnqpCache(scanDetail, anqpElements);
317 scanDetail.propagateANQPInfo(anqpElements);
319 Map<HomeSP, PasspointMatch> matches = matchNetwork(scanDetail, false);
320 Log.d(Utils.hs2LogTag(getClass()), scanDetail.getSSID() + " pass 2 matches: "
323 cacheScanResultForPasspointConfigs(scanDetail, matches, null);
595 ScanDetail scanDetail = getScanDetailCache(config).getScanDetail(info.getBSSID())
    [all...]
WifiLastResortWatchdog.java 93 * @param availableNetworks ScanDetail & Config list of potential connection
97 List<Pair<ScanDetail, WifiConfiguration>> availableNetworks) {
101 for (Pair<ScanDetail, WifiConfiguration> pair : availableNetworks) {
102 final ScanDetail scanDetail = pair.first;
104 ScanResult scanResult = scanDetail.getScanResult();
107 String ssid = "\"" + scanDetail.getSSID() + "\"";
108 if (VDBG) Log.v(TAG, " " + bssid + ": " + scanDetail.getSSID());
488 * SSID of the network (from ScanDetail)
WifiNetworkHistory.java 281 for (ScanDetail scanDetail : getScanDetailCache(config,
283 ScanResult result = scanDetail.getScanResult();
518 ScanDetail scanDetail = new ScanDetail(wssid, bssid,
520 getScanDetailCache(config, scanDetailCaches).put(scanDetail);
WifiQualifiedNetworkSelector.java 63 private List<ScanDetail> mScanDetails = null;
66 private volatile List<Pair<ScanDetail, WifiConfiguration>> mFilteredScanDetails = null;
150 public List<Pair<ScanDetail, WifiConfiguration>> getFilteredScanDetails() {
609 boolean isUntrustedConnectionsAllowed, List<ScanDetail> scanDetails,
614 List<Pair<ScanDetail, WifiConfiguration>> filteredScanDetails = new ArrayList<>();
656 for (ScanDetail scanDetail : mScanDetails) {
657 ScanResult scanResult = scanDetail.getScanResult();
709 mWifiConfigManager.updateSavedNetworkWithNewScanDetail(scanDetail,
    [all...]
WifiMetrics.java 383 * Set AP related metrics from ScanDetail
385 public void setConnectionScanDetail(ScanDetail scanDetail) {
387 if (mCurrentConnectionEvent != null && scanDetail != null) {
388 NetworkDetail networkDetail = scanDetail.getNetworkDetail();
389 ScanResult scanResult = scanDetail.getScanResult();
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
SupplicantBridge.java 6 import com.android.server.wifi.ScanDetail;
33 private final Map<Long, ScanDetail> mRequestMap = new HashMap<>();
60 * @param scanDetail
64 ScanDetail scanDetail,
103 public boolean startANQP(ScanDetail scanDetail, List<Constants.ANQPElementType> elements) {
104 String anqpGet = buildWPSQueryRequest(scanDetail.getNetworkDetail(), elements);
109 mRequestMap.put(scanDetail.getNetworkDetail().getBSSID(), scanDetail);
    [all...]
PasspointMatchInfo.java 3 import com.android.server.wifi.ScanDetail;
20 private final ScanDetail mScanDetail;
90 ScanDetail scanDetail, HomeSP homeSP) {
92 mScanDetail = scanDetail;
167 public ScanDetail getScanDetail() {

Completed in 149 milliseconds