Searched refs:networkDetail (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanDetail.java | 42 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail() argument 45 mNetworkDetail = networkDetail; in ScanDetail() 46 mScanResult = new ScanResult(wifiSsid, bssid, networkDetail.getHESSID(), in ScanDetail() 47 networkDetail.getAnqpDomainID(), networkDetail.getOsuProviders(), in ScanDetail() 51 mScanResult.channelWidth = networkDetail.getChannelWidth(); in ScanDetail() 52 mScanResult.centerFreq0 = networkDetail.getCenterfreq0(); in ScanDetail() 53 mScanResult.centerFreq1 = networkDetail.getCenterfreq1(); in ScanDetail() 56 if (networkDetail.is80211McResponderSupport()) { in ScanDetail() 59 if (networkDetail.isInterworking()) { in ScanDetail() 76 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail) { in ScanDetail() argument [all …]
|
D | WifiMetrics.java | 1132 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail() local 1136 if (networkDetail != null && scanResult != null in setConnectionScanDetail() 1139 .equals("\"" + networkDetail.getSSID() + "\"")) { in setConnectionScanDetail() 1140 updateMetricsFromNetworkDetail(networkDetail); in setConnectionScanDetail() 1183 private void updateMetricsFromNetworkDetail(NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail() argument 1184 int dtimInterval = networkDetail.getDtimInterval(); in updateMetricsFromNetworkDetail() 1190 switch (networkDetail.getWifiMode()) { in updateMetricsFromNetworkDetail() 1767 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in countScanResults() local 1770 if (networkDetail != null) { in countScanResults() 1771 if (networkDetail.isHiddenBeaconFrame()) { in countScanResults() [all …]
|
D | WificondControl.java | 598 NetworkDetail networkDetail; in getScanResults() local 600 networkDetail = new NetworkDetail(bssid, ies, null, result.frequency); in getScanResults() 606 ScanDetail scanDetail = new ScanDetail(networkDetail, wifiSsid, bssid, flags, in getScanResults()
|
D | ClientModeImpl.java | 2938 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in handleSupplicantStateChange() local 2939 if (networkDetail != null in handleSupplicantStateChange() 2940 && networkDetail.getAnt() == NetworkDetail.Ant.ChargeablePublic) { in handleSupplicantStateChange()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkScore.java | 149 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in calculateScore() local 156 score += (networkDetail.isInternet() ? 1 : -1) * INTERNET_ACCESS_AWARD; in calculateScore() 159 Integer ndScore = NETWORK_TYPE_SCORES.get(networkDetail.getAnt()); in calculateScore()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkScoreTest.java | 322 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail() local 323 when(networkDetail.isInternet()).thenReturn(internetAccess); in generateScanDetail() 324 when(networkDetail.getAnt()).thenReturn(networkType); in generateScanDetail() 329 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in generateScanDetail()
|
D | PasspointNetworkEvaluatorTest.java | 132 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail() local 133 when(networkDetail.isInterworking()).thenReturn(true); in generateScanDetail() 134 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in generateScanDetail() 143 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in generateScanDetail() 188 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaulateScansWithNoInterworkingAP() local 189 when(networkDetail.isInterworking()).thenReturn(false); in evaulateScansWithNoInterworkingAP() 191 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in evaulateScansWithNoInterworkingAP()
|
D | PasspointManagerTest.java | 436 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail() local 445 lenient().when(networkDetail.isInterworking()).thenReturn(true); in generateScanDetail() 448 lenient().when(networkDetail.isInterworking()).thenReturn(false); in generateScanDetail() 452 lenient().when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in generateScanDetail()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ScanResultUtil.java | 44 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, in toScanDetail() local 46 return new ScanDetail(scanResult, networkDetail); in toScanDetail()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 1360 NetworkDetail networkDetail = mock(NetworkDetail.class); in testScanDetailAndWifiConfigurationUsage() local 1361 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in testScanDetailAndWifiConfigurationUsage() 1362 when(networkDetail.getSSID()).thenReturn(SSID); in testScanDetailAndWifiConfigurationUsage() 1363 when(networkDetail.getDtimInterval()).thenReturn(NETWORK_DETAIL_DTIM); in testScanDetailAndWifiConfigurationUsage() 1382 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in testScanDetailAndWifiConfigurationUsage() 1444 NetworkDetail networkDetail = mock(NetworkDetail.class); in testNetworkToNominatorNotCleared() local 1445 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in testNetworkToNominatorNotCleared() 1446 when(networkDetail.getSSID()).thenReturn(SSID); in testNetworkToNominatorNotCleared() 1447 when(networkDetail.getDtimInterval()).thenReturn(NETWORK_DETAIL_DTIM); in testNetworkToNominatorNotCleared() 1459 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in testNetworkToNominatorNotCleared()
|