Home
last modified time | relevance | path

Searched refs:NetworkDetail (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPRequestManagerTest.java145 NetworkDetail.HSRelease.R1); in requestR1ANQPElementsWithoutRC()
160 NetworkDetail.HSRelease.R1); in requestR1ANQPElementsWithRC()
175 NetworkDetail.HSRelease.R2); in requestR1R2ANQPElementsWithoutRC()
190 NetworkDetail.HSRelease.R2); in requestR1R2ANQPElementsWithRC()
207 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSendFailure()
215 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSendFailure()
232 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSucceeded()
243 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSucceeded()
261 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestFailed()
272 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestFailed()
[all …]
DNetworkDetailTest.java53 NetworkDetail networkDetail = new NetworkDetail(TEST_BSSID, ies, in verifyFromScanResultNoMultiLinkIe()
93 NetworkDetail networkDetail = new NetworkDetail(TEST_BSSID, ies, in verifyFromScanResultRnrMultiIeNoLinksIe()
136 NetworkDetail networkDetail = new NetworkDetail(TEST_BSSID, ies, in verifyFromScanResultRnrMultiIeWithLinks()
175 NetworkDetail networkDetail = new NetworkDetail(TEST_BSSID, ies, in verifyFromScanResultRnrNoLinksMultiIeNoLinksIe()
DPasspointNetworkNominateHelperTest.java149 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail()
151 when(networkDetail.getHSRelease()).thenReturn(NetworkDetail.HSRelease.R1); in generateScanDetail()
152 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in generateScanDetail()
215 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithNoInterworkingAP()
758 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaluateScansWithInterworkingAndNoHs20VsaAP()
761 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in evaluateScansWithInterworkingAndNoHs20VsaAP()
781 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in evaluateScansWithAntIsChargeablePublic()
782 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.ChargeablePublic); in evaluateScansWithAntIsChargeablePublic()
DPasspointManagerTest.java1070 vsa.hsRelease = NetworkDetail.HSRelease.R1; in matchProviderWithAnqpCacheMissed()
1081 anyBoolean(), any(NetworkDetail.HSRelease.class)); in matchProviderWithAnqpCacheMissed()
2650 any(ANQPNetworkKey.class), any(boolean.class), any(NetworkDetail.HSRelease.class)); in testAnqpRequestNotAllowed()
3159 any(ANQPNetworkKey.class), any(boolean.class), any(NetworkDetail.HSRelease.class)); in testPasspointEnableDisable()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanDetail.java27 import com.android.server.wifi.hotspot2.NetworkDetail;
42 private volatile NetworkDetail mNetworkDetail;
50 public ScanDetail(@Nullable NetworkDetail networkDetail, @Nullable WifiSsid wifiSsid, in ScanDetail()
127 mNetworkDetail = new NetworkDetail( in ScanDetail()
142 mNetworkDetail = new NetworkDetail(scanDetail.mNetworkDetail); in ScanDetail()
184 public NetworkDetail getNetworkDetail() { in getNetworkDetail()
200 NetworkDetail networkDetail = mNetworkDetail; in toKeyString()
DScanDetailCache.java23 import com.android.server.wifi.hotspot2.NetworkDetail;
216 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in toString()
DWifiCountryCode.java32 import com.android.server.wifi.hotspot2.NetworkDetail;
468 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in findCountryCodeFromScanResults()
DWifiNetworkSelector.java54 import com.android.server.wifi.hotspot2.NetworkDetail;
542 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in filterScanResults()
870 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in isEverMetered()
873 == NetworkDetail.Ant.ChargeablePublic) { in isEverMetered()
DWifiMetrics.java84 import com.android.server.wifi.hotspot2.NetworkDetail;
712 private NetworkDetail.HSRelease mHsRelease = NetworkDetail.HSRelease.Unknown;
2106 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail()
2536 private int convertHsReleasetoProto(NetworkDetail.HSRelease hsRelease) { in convertHsReleasetoProto()
2537 if (hsRelease == NetworkDetail.HSRelease.R1) { in convertHsReleasetoProto()
2539 } else if (hsRelease == NetworkDetail.HSRelease.R2) { in convertHsReleasetoProto()
2541 } else if (hsRelease == NetworkDetail.HSRelease.R3) { in convertHsReleasetoProto()
2832 ConnectionEvent currentConnectionEvent, NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail()
3561 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in countScanResults()
3569 if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R1) { in countScanResults()
[all …]
DWifiNative.java81 import com.android.server.wifi.hotspot2.NetworkDetail;
2096 NetworkDetail networkDetail; in convertNativeScanResults()
2098 networkDetail = new NetworkDetail(bssid, ies, null, result.getFrequencyMhz()); in convertNativeScanResults()
DWifiShellCommand.java111 import com.android.server.wifi.hotspot2.NetworkDetail;
1417 ScanDetail sd = new ScanDetail(new NetworkDetail(bssid, ies, null, frequency), in onCommand()
DClientModeImpl.java147 import com.android.server.wifi.hotspot2.NetworkDetail;
3272 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in handleSupplicantStateChange()
3274 && networkDetail.getAnt() == NetworkDetail.Ant.ChargeablePublic) { in handleSupplicantStateChange()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DANQPRequestManager.java114 AnqpRequest(long bssid, boolean rcOIs, NetworkDetail.HSRelease hsRelease, in AnqpRequest()
123 public final NetworkDetail.HSRelease mHsRelease;
160 NetworkDetail.HSRelease hsReleaseVer) { in requestANQPElements()
279 NetworkDetail.HSRelease hsRelease) { in getRequestElementIDs()
286 if (hsRelease == NetworkDetail.HSRelease.R1) { in getRequestElementIDs()
DNetworkDetail.java24 public class NetworkDetail { class
174 public NetworkDetail(String bssid, ScanResult.InformationElement[] infoElements, in NetworkDetail() method in NetworkDetail
520 public NetworkDetail(NetworkDetail networkDetail) { in NetworkDetail() method in NetworkDetail
531 …private NetworkDetail(NetworkDetail base, Map<Constants.ANQPElementType, ANQPElement> anqpElements… in NetworkDetail() method in NetworkDetail
572 public NetworkDetail complete(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in complete()
573 return new NetworkDetail(this, anqpElements); in complete()
726 NetworkDetail that = (NetworkDetail)thatObject; in equals()
DPasspointNetworkNominateHelper.java312 == NetworkDetail.Ant.ChargeablePublic) { in createWifiConfigForProvider()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanResults.java23 import com.android.server.wifi.hotspot2.NetworkDetail;
134 NetworkDetail nd = new NetworkDetail(bssid, ie, anqpLines, freq); in generateNativeResults()
DWifiNetworkSelectorTestUtil.java44 import com.android.server.wifi.hotspot2.NetworkDetail;
251 NetworkDetail nd = new NetworkDetail(bssids[index], ies, new ArrayList<String>(), in buildScanDetailsWithNetworkDetails()
DWifiMetricsTest.java110 import com.android.server.wifi.hotspot2.NetworkDetail;
601 private ScanDetail buildMockScanDetail(boolean hidden, NetworkDetail.HSRelease hSRelease, in buildMockScanDetail()
604 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetail()
636 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetail()
660 int anqpDomainId, NetworkDetail.HSRelease hsRelease, boolean weakSignal) { in buildMockScanDetailPasspoint()
662 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetailPasspoint()
703 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, in buildMockScanDetailList()
705 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, in buildMockScanDetailList()
708 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R1, in buildMockScanDetailList()
711 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R3, in buildMockScanDetailList()
[all …]
DWifiCountryCodeTest.java50 import com.android.server.wifi.hotspot2.NetworkDetail;
125 @Mock NetworkDetail mNetworkDetail1;
126 @Mock NetworkDetail mNetworkDetail2;
127 @Mock NetworkDetail mNetworkDetail3;
DClientModeImplTest.java181 import com.android.server.wifi.hotspot2.NetworkDetail;
432 NetworkDetail nd = new NetworkDetail(TEST_BSSID_STR, ie, new ArrayList<String>(), sFreq); in getGoogleGuestScanDetail()
448 NetworkDetail nd = new NetworkDetail(TEST_BSSID_STR, ies, new ArrayList<String>(), sFreq); in getHiddenScanDetail()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java35 import com.android.server.wifi.hotspot2.NetworkDetail;
1531 public NetworkDetail.Ant ant = null;
1541 ant = NetworkDetail.Ant.values()[anOptions & 0x0f]; in from()
1631 public NetworkDetail.HSRelease hsRelease = null;
1690 hsRelease = NetworkDetail.HSRelease.R1; in parseVsaHs20()
1693 hsRelease = NetworkDetail.HSRelease.R2; in parseVsaHs20()
1696 hsRelease = NetworkDetail.HSRelease.R3; in parseVsaHs20()
1699 hsRelease = NetworkDetail.HSRelease.Unknown; in parseVsaHs20()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java33 import com.android.server.wifi.hotspot2.NetworkDetail;
1477 assertEquals(NetworkDetail.HSRelease.R2, vsa.hsRelease); in getHS2VendorSpecificIEWithDomainIdOnly()
1507 assertEquals(NetworkDetail.HSRelease.R2, vsa.hsRelease); in getHS2VendorSpecificIEWithDomainIdAndPpsMoId()
1583 assertEquals(NetworkDetail.Ant.Private, interworking.ant); in getInterworkingElementNoVenueIE()
1612 assertEquals(NetworkDetail.Ant.Private, interworking.ant); in getInterworkingElementWithVenueIE()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp890 "com.android.server.wifi.hotspot2.NetworkDetail",
891 "com.android.server.wifi.hotspot2.NetworkDetail$*",
892 "com.android.server.wifi.hotspot2.NetworkDetail.**",