Searched refs:networkDetail (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanDetail.java | 43 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 …]
|
D | ScanDetailCache.java | 216 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in toString() local 217 if (networkDetail != null && networkDetail.isInterworking()) { in toString() 218 sbuf.append(",Ant=").append(networkDetail.getAnt()).append(",Internet=") in toString() 219 .append(networkDetail.isInternet()); in toString()
|
D | WifiNetworkSelector.java | 439 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in filterScanResults() local 440 if (networkDetail != null) { in filterScanResults() 441 if (networkDetail.getMboAssociationDisallowedReasonCode() in filterScanResults() 446 .append(networkDetail.getMboAssociationDisallowedReasonCode()) in filterScanResults() 680 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in isEverMetered() local 681 if (networkDetail != null in isEverMetered() 682 && networkDetail.getAnt() in isEverMetered()
|
D | WifiMetrics.java | 1934 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail() local 1938 if (networkDetail == null || scanResult == null in setConnectionScanDetail() 1941 .equals("\"" + networkDetail.getSSID() + "\"")) { in setConnectionScanDetail() 1944 updateMetricsFromNetworkDetail(currentConnectionEvent, networkDetail); in setConnectionScanDetail() 2123 ConnectionEvent currentConnectionEvent, NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail() argument 2124 int dtimInterval = networkDetail.getDtimInterval(); in updateMetricsFromNetworkDetail() 2130 switch (networkDetail.getWifiMode()) { in updateMetricsFromNetworkDetail() 2159 if (networkDetail.isMboSupported()) { in updateMetricsFromNetworkDetail() 2161 if (networkDetail.isOceSupported()) { in updateMetricsFromNetworkDetail() 2824 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in countScanResults() local [all …]
|
D | WifiNative.java | 1704 NetworkDetail networkDetail; in convertNativeScanResults() local 1706 networkDetail = new NetworkDetail(bssid, ies, null, result.getFrequencyMhz()); in convertNativeScanResults() 1712 ScanDetail scanDetail = new ScanDetail(networkDetail, wifiSsid, bssid, flags, in convertNativeScanResults() 1716 scanResult.setWifiStandard(wifiModeToWifiStandard(networkDetail.getWifiMode())); in convertNativeScanResults()
|
D | ClientModeImpl.java | 2513 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); 2514 if (networkDetail != null 2515 && networkDetail.getAnt() == NetworkDetail.Ant.ChargeablePublic) {
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelperTest.java | 138 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail() local 139 when(networkDetail.isInterworking()).thenReturn(true); in generateScanDetail() 140 when(networkDetail.getHSRelease()).thenReturn(NetworkDetail.HSRelease.R1); in generateScanDetail() 141 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in generateScanDetail() 142 when(networkDetail.isInternet()).thenReturn(true); in generateScanDetail() 151 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in generateScanDetail() 191 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithNoInterworkingAP() local 192 when(networkDetail.isInterworking()).thenReturn(false); in evaluateScansWithNoInterworkingAP() 194 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in evaluateScansWithNoInterworkingAP() 651 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithInterworkingAndNoHs20VsaAP() local [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ScanResultUtil.java | 52 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, in toScanDetail() local 54 return new ScanDetail(scanResult, networkDetail); in toScanDetail()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 1779 NetworkDetail networkDetail = mock(NetworkDetail.class); in setupNetworkAndVerify() local 1780 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in setupNetworkAndVerify() 1781 when(networkDetail.getSSID()).thenReturn(SSID); in setupNetworkAndVerify() 1782 when(networkDetail.getDtimInterval()).thenReturn(NETWORK_DETAIL_DTIM); in setupNetworkAndVerify() 1802 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in setupNetworkAndVerify() 1804 when(networkDetail.isMboSupported()).thenReturn(true); in setupNetworkAndVerify() 1805 when(networkDetail.isOceSupported()).thenReturn(true); in setupNetworkAndVerify() 1882 NetworkDetail networkDetail = mock(NetworkDetail.class); in testNetworkToNominatorNotCleared() local 1883 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in testNetworkToNominatorNotCleared() 1884 when(networkDetail.getSSID()).thenReturn(SSID); in testNetworkToNominatorNotCleared() [all …]
|