Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java43 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail() argument
47 mNetworkDetail = networkDetail; in ScanDetail()
48 mScanResult = new ScanResult(wifiSsid, bssid, networkDetail.getHESSID(), in ScanDetail()
49 networkDetail.getAnqpDomainID(), networkDetail.getOsuProviders(), in ScanDetail()
53 mScanResult.channelWidth = networkDetail.getChannelWidth(); in ScanDetail()
54 mScanResult.centerFreq0 = networkDetail.getCenterfreq0(); in ScanDetail()
55 mScanResult.centerFreq1 = networkDetail.getCenterfreq1(); in ScanDetail()
58 if (networkDetail.is80211McResponderSupport()) { in ScanDetail()
61 if (networkDetail.isInterworking() && networkDetail.getHSRelease() != null) { in ScanDetail()
79 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail) { in ScanDetail() argument
[all …]
DScanDetailCache.java201 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in toString() local
202 if (networkDetail != null && networkDetail.isInterworking()) { in toString()
203 sbuf.append(",Ant=").append(networkDetail.getAnt()).append(",Internet=") in toString()
204 .append(networkDetail.isInternet()); in toString()
DWifiNetworkSelector.java416 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in filterScanResults() local
417 if (networkDetail != null) { in filterScanResults()
418 if (networkDetail.getMboAssociationDisallowedReasonCode() in filterScanResults()
423 .append(networkDetail.getMboAssociationDisallowedReasonCode()) in filterScanResults()
690 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in isEverMetered() local
691 if (networkDetail != null in isEverMetered()
692 && networkDetail.getAnt() in isEverMetered()
DWifiMetrics.java1534 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail() local
1538 if (networkDetail != null && scanResult != null in setConnectionScanDetail()
1541 .equals("\"" + networkDetail.getSSID() + "\"")) { in setConnectionScanDetail()
1542 updateMetricsFromNetworkDetail(networkDetail); in setConnectionScanDetail()
1648 private void updateMetricsFromNetworkDetail(NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail() argument
1649 int dtimInterval = networkDetail.getDtimInterval(); in updateMetricsFromNetworkDetail()
1655 switch (networkDetail.getWifiMode()) { in updateMetricsFromNetworkDetail()
1684 if (networkDetail.isMboSupported()) { in updateMetricsFromNetworkDetail()
1686 if (networkDetail.isOceSupported()) { in updateMetricsFromNetworkDetail()
2338 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in countScanResults() local
[all …]
DWifiNative.java1492 NetworkDetail networkDetail; in convertNativeScanResults() local
1494 networkDetail = new NetworkDetail(bssid, ies, null, result.getFrequencyMhz()); in convertNativeScanResults()
1500 ScanDetail scanDetail = new ScanDetail(networkDetail, wifiSsid, bssid, flags, in convertNativeScanResults()
1504 scanResult.setWifiStandard(wifiModeToWifiStandard(networkDetail.getWifiMode())); in convertNativeScanResults()
DClientModeImpl.java2671 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in handleSupplicantStateChange() local
2672 if (networkDetail != null in handleSupplicantStateChange()
2673 && networkDetail.getAnt() == NetworkDetail.Ant.ChargeablePublic) { in handleSupplicantStateChange()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java137 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail() local
138 when(networkDetail.isInterworking()).thenReturn(true); in generateScanDetail()
139 when(networkDetail.getHSRelease()).thenReturn(NetworkDetail.HSRelease.R1); in generateScanDetail()
140 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in generateScanDetail()
141 when(networkDetail.isInternet()).thenReturn(true); in generateScanDetail()
150 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in generateScanDetail()
190 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithNoInterworkingAP() local
191 when(networkDetail.isInterworking()).thenReturn(false); in evaluateScansWithNoInterworkingAP()
193 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in evaluateScansWithNoInterworkingAP()
602 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithInterworkingAndNoHs20VsaAP() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java43 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, in toScanDetail() local
45 return new ScanDetail(scanResult, networkDetail); in toScanDetail()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java1563 NetworkDetail networkDetail = mock(NetworkDetail.class); in testScanDetailAndWifiConfigurationUsage() local
1564 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in testScanDetailAndWifiConfigurationUsage()
1565 when(networkDetail.getSSID()).thenReturn(SSID); in testScanDetailAndWifiConfigurationUsage()
1566 when(networkDetail.getDtimInterval()).thenReturn(NETWORK_DETAIL_DTIM); in testScanDetailAndWifiConfigurationUsage()
1586 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in testScanDetailAndWifiConfigurationUsage()
1588 when(networkDetail.isMboSupported()).thenReturn(true); in testScanDetailAndWifiConfigurationUsage()
1589 when(networkDetail.isOceSupported()).thenReturn(true); in testScanDetailAndWifiConfigurationUsage()
1656 NetworkDetail networkDetail = mock(NetworkDetail.class); in testNetworkToNominatorNotCleared() local
1657 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in testNetworkToNominatorNotCleared()
1658 when(networkDetail.getSSID()).thenReturn(SSID); in testNetworkToNominatorNotCleared()
[all …]