/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkScoreTest.java | 51 public final NetworkDetail.Ant networkType; 56 NetworkDetail.Ant type, Map<ANQPElementType, ANQPElement> elements, in TestData() 136 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add() 146 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add() 157 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add() 168 NetworkDetail.Ant.Personal /* networkType */, null /* anqpElements */, in TEST_DATA_LIST.add() 179 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add() 191 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add() 204 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add() 217 NetworkDetail.Ant.FreePublic /* networkType */, in TEST_DATA_LIST.add() [all …]
|
D | PasspointNetworkEvaluatorTest.java | 132 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail() 134 when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic); in generateScanDetail() 188 NetworkDetail networkDetail = mock(NetworkDetail.class); in evaulateScansWithNoInterworkingAP()
|
D | PasspointManagerTest.java | 436 NetworkDetail networkDetail = mock(NetworkDetail.class); in generateScanDetail()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkScore.java | 82 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()
|
D | NetworkDetail.java | 24 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()
|
D | PasspointManager.java | 505 vsa.hsRelease == NetworkDetail.HSRelease.R2); in findEapMethodFromNAIRealmMatchedWithCarrier() 806 vsa.hsRelease == NetworkDetail.HSRelease.R2); in getAllMatchedProviders()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanDetail.java | 28 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()
|
D | WificondControl.java | 43 import com.android.server.wifi.hotspot2.NetworkDetail; 598 NetworkDetail networkDetail; in getScanResults() 600 networkDetail = new NetworkDetail(bssid, ies, null, result.frequency); in getScanResults()
|
D | WifiMetrics.java | 53 import com.android.server.wifi.hotspot2.NetworkDetail; 1132 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in setConnectionScanDetail() 1183 private void updateMetricsFromNetworkDetail(NetworkDetail networkDetail) { in updateMetricsFromNetworkDetail() 1767 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in countScanResults() 1775 if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R1) { in countScanResults() 1777 } else if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R2) { in countScanResults() 2197 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in incrementAvailableNetworksHistograms() 2213 if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R1) { in incrementAvailableNetworksHistograms() 2215 } else if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R2) { in incrementAvailableNetworksHistograms() 2231 if (networkDetail.getHSRelease() == NetworkDetail.HSRelease.R1) { in incrementAvailableNetworksHistograms() [all …]
|
D | ClientModeImpl.java | 115 import com.android.server.wifi.hotspot2.NetworkDetail; 2938 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); in handleSupplicantStateChange() 2940 && networkDetail.getAnt() == NetworkDetail.Ant.ChargeablePublic) { in handleSupplicantStateChange()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ScanResultUtil.java | 25 import com.android.server.wifi.hotspot2.NetworkDetail; 44 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, in toScanDetail()
|
D | InformationElementUtil.java | 23 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/ |
D | ScanResults.java | 23 import com.android.server.wifi.hotspot2.NetworkDetail; 118 NetworkDetail nd = new NetworkDetail(bssid, ie, anqpLines, freq); in generateNativeResults()
|
D | WifiMetricsTest.java | 81 import com.android.server.wifi.hotspot2.NetworkDetail; 435 private ScanDetail buildMockScanDetail(boolean hidden, NetworkDetail.HSRelease hSRelease, in buildMockScanDetail() 438 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetail() 451 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetail() 473 int anqpDomainId, NetworkDetail.HSRelease hsRelease, boolean weakSignal) { in buildMockScanDetailPasspoint() 475 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); in buildMockScanDetailPasspoint() 501 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, in buildMockScanDetailList() 503 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, in buildMockScanDetailList() 505 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R1, in buildMockScanDetailList() 1360 NetworkDetail networkDetail = mock(NetworkDetail.class); in testScanDetailAndWifiConfigurationUsage() [all …]
|
D | ClientModeImplTest.java | 104 import com.android.server.wifi.hotspot2.NetworkDetail; 299 NetworkDetail nd = new NetworkDetail(sBSSID, ie, new ArrayList<String>(), sFreq); in getGoogleGuestScanDetail()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 28 import com.android.server.wifi.hotspot2.NetworkDetail; 931 assertEquals(NetworkDetail.HSRelease.R2, vsa.hsRelease); in getHS2VendorSpecificIE() 960 assertEquals(NetworkDetail.Ant.Private, interworking.ant); in getInterworkingElementNoVenueIE() 989 assertEquals(NetworkDetail.Ant.Private, interworking.ant); in getInterworkingElementWithVenueIE()
|