Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DNetworkDetailTest.java53 NetworkDetail networkDetail = new NetworkDetail(TEST_BSSID, ies, in verifyFromScanResultNoMultiLinkIe() local
56 assertTrue(networkDetail.toKeyString() + " not expected!", in verifyFromScanResultNoMultiLinkIe()
57 TextUtils.equals("'null':02:03:04:05:06:07", networkDetail.toKeyString())); in verifyFromScanResultNoMultiLinkIe()
58 assertNull(networkDetail.getMldMacAddress()); in verifyFromScanResultNoMultiLinkIe()
59 assertEquals(MloLink.INVALID_MLO_LINK_ID, networkDetail.getMloLinkId()); in verifyFromScanResultNoMultiLinkIe()
60 assertTrue(networkDetail.getAffiliatedMloLinks().isEmpty()); in verifyFromScanResultNoMultiLinkIe()
93 NetworkDetail networkDetail = new NetworkDetail(TEST_BSSID, ies, in verifyFromScanResultRnrMultiIeNoLinksIe() local
96 assertNotNull(networkDetail.getMldMacAddress()); in verifyFromScanResultRnrMultiIeNoLinksIe()
97 assertEquals(TEST_AP_MLD_MAC_ADDRESS, networkDetail.getMldMacAddress().toString()); in verifyFromScanResultRnrMultiIeNoLinksIe()
98 assertEquals(1, networkDetail.getMloLinkId()); in verifyFromScanResultRnrMultiIeNoLinksIe()
[all …]
DPasspointNetworkNominateHelperTest.java149 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail() local
150 when(networkDetail.isInterworking()).thenReturn(true); in generateScanDetail()
151 when(networkDetail.getHSRelease()).thenReturn(NetworkDetail.HSRelease.R1); in generateScanDetail()
152 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in generateScanDetail()
153 when(networkDetail.isInternet()).thenReturn(true); in generateScanDetail()
162 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in generateScanDetail()
215 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithNoInterworkingAP() local
216 when(networkDetail.isInterworking()).thenReturn(false); in evaluateScansWithNoInterworkingAP()
218 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in evaluateScansWithNoInterworkingAP()
758 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithInterworkingAndNoHs20VsaAP() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanDetail.java50 public ScanDetail(@Nullable NetworkDetail networkDetail, @Nullable WifiSsid wifiSsid, in ScanDetail() argument
54 mNetworkDetail = networkDetail; in ScanDetail()
65 if (networkDetail != null) { in ScanDetail()
66 hessid = networkDetail.getHESSID(); in ScanDetail()
67 anqpDomainId = networkDetail.getAnqpDomainID(); in ScanDetail()
68 osuProviders = networkDetail.getOsuProviders(); in ScanDetail()
69 channelWidth = networkDetail.getChannelWidth(); in ScanDetail()
70 centerFreq0 = networkDetail.getCenterfreq0(); in ScanDetail()
71 centerFreq1 = networkDetail.getCenterfreq1(); in ScanDetail()
75 && networkDetail.isInterworking() in ScanDetail()
[all …]
DScanDetailCache.java216 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()
DWifiMetrics.java2106 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail() local
2110 if (networkDetail == null || scanResult == null in setConnectionScanDetail()
2113 .equals("\"" + networkDetail.getSSID() + "\"")) { in setConnectionScanDetail()
2116 updateMetricsFromNetworkDetail(currentConnectionEvent, networkDetail); in setConnectionScanDetail()
2832 ConnectionEvent currentConnectionEvent, NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail() argument
2833 int dtimInterval = networkDetail.getDtimInterval(); in updateMetricsFromNetworkDetail()
2840 && !networkDetail.isHiddenBeaconFrame()) { in updateMetricsFromNetworkDetail()
2845 switch (networkDetail.getWifiMode()) { in updateMetricsFromNetworkDetail()
2874 currentConnectionEvent.mRouterFingerPrint.mWifiStandard = networkDetail.getWifiMode(); in updateMetricsFromNetworkDetail()
2876 if (networkDetail.isMboSupported()) { in updateMetricsFromNetworkDetail()
[all …]
DWifiNetworkSelector.java542 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in filterScanResults() local
543 if (networkDetail != null) { in filterScanResults()
544 if (networkDetail.getMboAssociationDisallowedReasonCode() in filterScanResults()
549 .append(networkDetail.getMboAssociationDisallowedReasonCode()) in filterScanResults()
870 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in isEverMetered() local
871 if (networkDetail != null in isEverMetered()
872 && networkDetail.getAnt() in isEverMetered()
DWifiCountryCode.java468 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in findCountryCodeFromScanResults() local
469 String countryCode = networkDetail.getCountryCode(); in findCountryCodeFromScanResults()
DWifiNative.java2096 NetworkDetail networkDetail; in convertNativeScanResults() local
2098 networkDetail = new NetworkDetail(bssid, ies, null, result.getFrequencyMhz()); in convertNativeScanResults()
2106 ScanDetail scanDetail = new ScanDetail(networkDetail, translatedSsid, bssid, flags, in convertNativeScanResults()
2110 scanResult.setWifiStandard(wifiModeToWifiStandard(networkDetail.getWifiMode())); in convertNativeScanResults()
2125 scanResult.setApMldMacAddress(networkDetail.getMldMacAddress()); in convertNativeScanResults()
2126 scanResult.setApMloLinkId(networkDetail.getMloLinkId()); in convertNativeScanResults()
2127 scanResult.setAffiliatedMloLinks(networkDetail.getAffiliatedMloLinks()); in convertNativeScanResults()
DClientModeImpl.java3272 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in handleSupplicantStateChange() local
3273 if (networkDetail != null in handleSupplicantStateChange()
3274 && networkDetail.getAnt() == NetworkDetail.Ant.ChargeablePublic) { in handleSupplicantStateChange()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java1830 NetworkDetail networkDetail = mock(NetworkDetail.class); in setupNetworkAndVerify() local
1831 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in setupNetworkAndVerify()
1832 when(networkDetail.getSSID()).thenReturn(SSID); in setupNetworkAndVerify()
1833 when(networkDetail.getDtimInterval()).thenReturn(NETWORK_DETAIL_DTIM); in setupNetworkAndVerify()
1853 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail); in setupNetworkAndVerify()
1855 when(networkDetail.isMboSupported()).thenReturn(true); in setupNetworkAndVerify()
1856 when(networkDetail.isOceSupported()).thenReturn(true); in setupNetworkAndVerify()
1940 NetworkDetail networkDetail = mock(NetworkDetail.class); in testNetworkToNominatorNotCleared() local
1941 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); in testNetworkToNominatorNotCleared()
1942 when(networkDetail.getSSID()).thenReturn(SSID); in testNetworkToNominatorNotCleared()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DNetworkDetail.java520 public NetworkDetail(NetworkDetail networkDetail) { in NetworkDetail() argument
521 this(networkDetail, networkDetail.mANQPElements); in NetworkDetail()