Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkScoreTest.java50 public final NetworkDetail.Ant networkType;
55 NetworkDetail.Ant type, Map<ANQPElementType, ANQPElement> elements, in TestData()
135 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add()
145 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add()
156 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add()
167 NetworkDetail.Ant.Personal /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add()
178 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add()
190 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add()
203 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add()
216 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add()
[all …]
DPasspointNetworkEvaluatorTest.java113 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail()
115 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in generateScanDetail()
164 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaulateScansWithNoInterworkingAP()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkScore.java82 private static final Map<NetworkDetail.Ant, Integer> NETWORK_TYPE_SCORES = new HashMap<>();
95 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.FreePublic, PUBLIC_OR_PRIVATE_NETWORK_AWARDS); in NETWORK_TYPE_SCORES.put()
96 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.ChargeablePublic, in NETWORK_TYPE_SCORES.put()
98 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.PrivateWithGuest, in NETWORK_TYPE_SCORES.put()
100 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.Private, in NETWORK_TYPE_SCORES.put()
102 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.Personal, PERSONAL_OR_EMERGENCY_NETWORK_AWARDS); in NETWORK_TYPE_SCORES.put()
103 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.EmergencyOnly, in NETWORK_TYPE_SCORES.put()
105 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.Wildcard, 0); in NETWORK_TYPE_SCORES.put()
106 NETWORK_TYPE_SCORES.put(NetworkDetail.Ant.TestOrExperimental, 0); in NETWORK_TYPE_SCORES.put()
149 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in calculateScore()
DNetworkDetail.java24 public class NetworkDetail { class
121 public NetworkDetail(String bssid, ScanResult.InformationElement[] infoElements, in NetworkDetail() method in NetworkDetail
323 …private NetworkDetail(NetworkDetail base, Map<Constants.ANQPElementType, ANQPElement> anqpElements… in NetworkDetail() method in NetworkDetail
349 public NetworkDetail complete(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in complete()
350 return new NetworkDetail(this, anqpElements); in complete()
479 NetworkDetail that = (NetworkDetail)thatObject; in equals()
DPasspointManager.java407 vsa.hsRelease == NetworkDetail.HSRelease.R2); in getAllMatchedProviders()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java28 import com.android.server.wifi.hotspot2.NetworkDetail;
39 private volatile NetworkDetail mNetworkDetail;
42 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail()
76 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail) { in ScanDetail()
121 public NetworkDetail getNetworkDetail() { in getNetworkDetail()
137 NetworkDetail networkDetail = mNetworkDetail; in toKeyString()
DWifiMetrics.java37 import com.android.server.wifi.hotspot2.NetworkDetail;
677 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail()
725 private void updateMetricsFromNetworkDetail(NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail()
1205 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in countScanResults()
1213 if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R1) { in countScanResults()
1215 } else if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R2) { in countScanResults()
1611 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in incrementAvailableNetworksHistograms()
1627 if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R1) { in incrementAvailableNetworksHistograms()
1629 } else if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R2) { in incrementAvailableNetworksHistograms()
1645 if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R1) { in incrementAvailableNetworksHistograms()
[all …]
DWificondControl.java37 import com.android.server.wifi.hotspot2.NetworkDetail;
542 NetworkDetail networkDetail; in getScanResults()
544 networkDetail = new NetworkDetail(bssid, ies, null, result.frequency); in getScanResults()
DWifiStateMachine.java98 import com.android.server.wifi.hotspot2.NetworkDetail;
2731 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in handleSupplicantStateChange()
2733 && networkDetail.getAnt() == NetworkDetail.Ant.ChargeablePublic) { in handleSupplicantStateChange()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java38 import com.android.server.wifi.hotspot2.NetworkDetail;
320 private ScanDetail buildMockScanDetail(boolean hidden, NetworkDetail.HSRelease hSRelease, in buildMockScanDetail()
323 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetail()
336 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetail()
358 int anqpDomainId, NetworkDetail.HSRelease hsRelease, boolean weakSignal) { in buildMockScanDetailPasspoint()
360 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetailPasspoint()
382 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, in buildMockScanDetailList()
384 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, in buildMockScanDetailList()
386 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R1, in buildMockScanDetailList()
1050 NetworkDetail networkDetail = mock(NetworkDetail.class); in testScanDetailAndWifiConfigurationUsage()
[all …]
DScanResults.java23 import com.android.server.wifi.hotspot2.NetworkDetail;
118 NetworkDetail nd = new NetworkDetail(bssid, ie, anqpLines, freq); in generateNativeResults()
DWifiStateMachineTest.java95 import com.android.server.wifi.hotspot2.NetworkDetail;
290 NetworkDetail nd = new NetworkDetail(sBSSID, ie, new ArrayList<String>(), sFreq); in getGoogleGuestScanDetail()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java25 import com.android.server.wifi.hotspot2.NetworkDetail;
44 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, in toScanDetail()
DInformationElementUtil.java23 import com.android.server.wifi.hotspot2.NetworkDetail;
225 public NetworkDetail.Ant ant = null;
235 ant = NetworkDetail.Ant.values()[anOptions & 0x0f]; in from()
310 public NetworkDetail.HSRelease hsRelease = null;
319 hsRelease = NetworkDetail.HSRelease.R1; in from()
322 hsRelease = NetworkDetail.HSRelease.R2; in from()
325 hsRelease = NetworkDetail.HSRelease.Unknown; in from()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java27 import com.android.server.wifi.hotspot2.NetworkDetail;
724 assertEquals(NetworkDetail.HSRelease.R2, vsa.hsRelease); in getHS2VendorSpecificIE()
753 assertEquals(NetworkDetail.Ant.Private, interworking.ant); in getInterworkingElementNoVenueIE()
782 assertEquals(NetworkDetail.Ant.Private, interworking.ant); in getInterworkingElementWithVenueIE()
/frameworks/base/services/
Dart-profile3813 Lcom/android/server/wifi/hotspot2/NetworkDetail$Ant;
3814 Lcom/android/server/wifi/hotspot2/NetworkDetail;