Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java45 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail() argument
48 mNetworkDetail = networkDetail; in ScanDetail()
49 mScanResult = new ScanResult(wifiSsid, bssid, networkDetail.getHESSID(), in ScanDetail()
50 networkDetail.getAnqpDomainID(), networkDetail.getOsuProviders(), in ScanDetail()
54 mScanResult.channelWidth = networkDetail.getChannelWidth(); in ScanDetail()
55 mScanResult.centerFreq0 = networkDetail.getCenterfreq0(); in ScanDetail()
56 mScanResult.centerFreq1 = networkDetail.getCenterfreq1(); in ScanDetail()
59 if (networkDetail.is80211McResponderSupport()) { in ScanDetail()
78 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail, in ScanDetail() argument
81 mNetworkDetail = networkDetail; in ScanDetail()
[all …]
DWifiMetrics.java386 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail() local
390 if (networkDetail != null && scanResult != null in setConnectionScanDetail()
393 .equals("\"" + networkDetail.getSSID() + "\"")) { in setConnectionScanDetail()
394 updateMetricsFromNetworkDetail(networkDetail); in setConnectionScanDetail()
431 private void updateMetricsFromNetworkDetail(NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail() argument
432 int dtimInterval = networkDetail.getDtimInterval(); in updateMetricsFromNetworkDetail()
438 switch (networkDetail.getWifiMode()) { in updateMetricsFromNetworkDetail()
DWifiConfigManager.java2472 NetworkDetail networkDetail = scanDetail.getNetworkDetail();
2474 ANQPFactory.buildQueryList(networkDetail, false, true);
2476 if (networkDetail.queriable(querySet)) {
2477 querySet = mAnqpCache.initiate(networkDetail, querySet);
2481 updateAnqpCache(scanDetail, networkDetail.getANQPElements());
2486 NetworkDetail networkDetail = scanDetail.getNetworkDetail();
2487 if (!networkDetail.hasInterworking()) {
2490 updateAnqpCache(scanDetail, networkDetail.getANQPElements());
2499 NetworkDetail networkDetail = scanDetail.getNetworkDetail();
2501 ANQPData anqpData = mAnqpCache.getEntry(networkDetail);
[all …]
DWifiNative.java709 NetworkDetail networkDetail = new NetworkDetail(bssid, in getScanResults() local
712 if (!xssid.equals(networkDetail.getTrimmedSSID())) { in getScanResults()
715 bssid, xssid, networkDetail.getSSID(), infoElementsStr)); in getScanResults()
718 if (networkDetail.hasInterworking()) { in getScanResults()
719 if (DBG) Log.d(TAG, "HSNwk: '" + networkDetail); in getScanResults()
721 ScanDetail scan = new ScanDetail(networkDetail, wifiSsid, bssid, flags, in getScanResults()
DWifiStateMachine.java3074 NetworkDetail networkDetail = resultDetail.getNetworkDetail(); in setScanResults() local
3075 if (networkDetail != null && networkDetail.getDtimInterval() > 0) { in setScanResults()
3081 associatedConf.dtimInterval = networkDetail.getDtimInterval(); in setScanResults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DHomeSP.java142 public PasspointMatch match(NetworkDetail networkDetail, in match() argument
148 PasspointMatch spMatch = matchSP(networkDetail, anqpElementMap, imsis); in match()
167 Log.d(Utils.hs2LogTag(getClass()), networkDetail.toKeyString() + " match on " + mFQDN + in match()
184 public PasspointMatch matchSP(NetworkDetail networkDetail, in matchSP() argument
188 if (mSSIDs.containsKey(networkDetail.getSSID())) { in matchSP()
189 Long hessid = mSSIDs.get(networkDetail.getSSID()); in matchSP()
190 if (hessid == null || networkDetail.getHESSID() == hessid) { in matchSP()
198 if (networkDetail.getRoamingConsortiums() != null) { in matchSP()
199 for (long oi : networkDetail.getRoamingConsortiums()) { in matchSP()
232 if (validANQP || networkDetail.getAnqpOICount() == 0) { in matchSP()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanDetailUtil.java36 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, in toScanDetail() local
38 return new ScanDetail(scanResult, networkDetail, null); in toScanDetail()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DSupplicantBridge.java206 private static String escapeSSID(NetworkDetail networkDetail) { in escapeSSID() argument
207 return escapeString(networkDetail.getSSID(), networkDetail.isSSID_UTF8()); in escapeSSID()
240 private static String buildWPSQueryRequest(NetworkDetail networkDetail, in buildWPSQueryRequest() argument
251 sb.append(networkDetail.getBSSIDString()).append(' '); in buildWPSQueryRequest()
278 private static List<String> getWPSNetCommands(String netID, NetworkDetail networkDetail, in getWPSNetCommands() argument
285 commands.add(String.format("SET_NETWORK %s ssid %s", netID, escapeSSID(networkDetail))); in getWPSNetCommands()
287 netID, networkDetail.getBSSIDString())); in getWPSNetCommands()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java373 NetworkDetail networkDetail = mock(NetworkDetail.class); in testScanDetailAndWifiConfigurationUsage() local
374 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in testScanDetailAndWifiConfigurationUsage()
375 when(networkDetail.getSSID()).thenReturn(SSID); in testScanDetailAndWifiConfigurationUsage()
376 when(networkDetail.getDtimInterval()).thenReturn(NETWORK_DETAIL_DTIM); in testScanDetailAndWifiConfigurationUsage()
387 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in testScanDetailAndWifiConfigurationUsage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DANQPFactory.java57 public static List<Constants.ANQPElementType> buildQueryList(NetworkDetail networkDetail, in buildQueryList() argument
62 querySet.addAll(getBaseANQPSet(networkDetail.getAnqpOICount() > 0)); in buildQueryList()
65 if (networkDetail.getHSRelease() != null) { in buildQueryList()
66 boolean includeOSU = osu && networkDetail.getHSRelease() == NetworkDetail.HSRelease.R2; in buildQueryList()