/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
ScanDetailUtil.java | 22 import com.android.server.wifi.hotspot2.NetworkDetail; 36 NetworkDetail networkDetail = new NetworkDetail(scanResult.BSSID, 38 return new ScanDetail(scanResult, networkDetail, null);
|
InformationElementUtil.java | 25 import com.android.server.wifi.hotspot2.NetworkDetail; 161 public NetworkDetail.Ant ant = null; 173 ant = NetworkDetail.Ant.values()[anOptions & 0x0f]; 242 public NetworkDetail.HSRelease hsRelease = null; 251 hsRelease = NetworkDetail.HSRelease.R1; 254 hsRelease = NetworkDetail.HSRelease.R2; 257 hsRelease = NetworkDetail.HSRelease.Unknown;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
PasspointMatchInfo.java | 35 private static final Map<NetworkDetail.Ant, Integer> sAntScores = new HashMap<>(); 40 sAntScores.put(NetworkDetail.Ant.FreePublic, 4); 41 sAntScores.put(NetworkDetail.Ant.ChargeablePublic, 4); 42 sAntScores.put(NetworkDetail.Ant.PrivateWithGuest, 4); 43 sAntScores.put(NetworkDetail.Ant.Private, 4); 44 sAntScores.put(NetworkDetail.Ant.Personal, 2); 45 sAntScores.put(NetworkDetail.Ant.EmergencyOnly, 2); 46 sAntScores.put(NetworkDetail.Ant.Wildcard, 1); 47 sAntScores.put(NetworkDetail.Ant.TestOrExperimental, 0); 107 score += getNetworkDetail().getHSRelease() != NetworkDetail.HSRelease.Unknown ? 50 : 0 [all...] |
ANQPData.java | 36 private final NetworkDetail mNetwork; 43 public ANQPData(Clock clock, NetworkDetail network, 62 public ANQPData(Clock clock, NetworkDetail network, ANQPData existing) { 98 public NetworkDetail getNetwork() { 120 protected boolean isValid(NetworkDetail nwk) {
|
AnqpCache.java | 58 private static CacheKey buildKey(NetworkDetail network, boolean standardESS) { 111 return "HESSID:" + NetworkDetail.toMACString(mHESSID); 114 return NetworkDetail.toMACString(mBSSID) + 123 public List<Constants.ANQPElementType> initiate(NetworkDetail network, 143 public void update(NetworkDetail network, 162 public ANQPData getEntry(NetworkDetail network) {
|
NetworkDetail.java | 25 public class NetworkDetail { 31 private static final String TAG = "NetworkDetail:"; 125 public NetworkDetail(String bssid, ScanResult.InformationElement[] infoElements, 319 private NetworkDetail(NetworkDetail base, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { 346 public NetworkDetail complete(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { 347 return new NetworkDetail(this, anqpElements); 486 NetworkDetail that = (NetworkDetail)thatObject;
|
SupplicantBridge.java | 206 private static String escapeSSID(NetworkDetail networkDetail) { 207 return escapeString(networkDetail.getSSID(), networkDetail.isSSID_UTF8()); 236 * @param networkDetail The network to query. 240 private static String buildWPSQueryRequest(NetworkDetail networkDetail, 251 sb.append(networkDetail.getBSSIDString()).append(' '); 278 private static List<String> getWPSNetCommands(String netID, NetworkDetail networkDetail, [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
ScanDetail.java | 28 import com.android.server.wifi.hotspot2.NetworkDetail; 41 private volatile NetworkDetail mNetworkDetail; 45 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, 48 mNetworkDetail = networkDetail; 49 mScanResult = new ScanResult(wifiSsid, bssid, networkDetail.getHESSID(), 50 networkDetail.getAnqpDomainID(), networkDetail.getOsuProviders(), 54 mScanResult.channelWidth = networkDetail.getChannelWidth(); 55 mScanResult.centerFreq0 = networkDetail.getCenterfreq0() [all...] |
WifiMetrics.java | 25 import com.android.server.wifi.hotspot2.NetworkDetail; 388 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); 390 //Ensure that we have a networkDetail, and that it corresponds to the currently 392 if (networkDetail != null && scanResult != null 395 .equals("\"" + networkDetail.getSSID() + "\"")) { 396 updateMetricsFromNetworkDetail(networkDetail); 431 * Set ConnectionEvent DTIM Interval (if set), and 802.11 Connection mode, from NetworkDetail 433 private void updateMetricsFromNetworkDetail(NetworkDetail networkDetail) { [all...] |
WifiConfigManager.java | 68 import com.android.server.wifi.hotspot2.NetworkDetail; [all...] |
WifiNative.java | 51 import com.android.server.wifi.hotspot2.NetworkDetail; 710 NetworkDetail networkDetail = new NetworkDetail(bssid, 713 if (!xssid.equals(networkDetail.getTrimmedSSID())) { 716 bssid, xssid, networkDetail.getSSID(), infoElementsStr)); 719 if (networkDetail.hasInterworking()) { 720 if (DBG) Log.d(TAG, "HSNwk: '" + networkDetail); 722 ScanDetail scan = new ScanDetail(networkDetail, wifiSsid, bssid, flags, [all...] |
WifiStateMachine.java | 108 import com.android.server.wifi.hotspot2.NetworkDetail; [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
AnqpCacheTest.java | 34 import com.android.server.wifi.hotspot2.NetworkDetail; 67 NetworkDetail nd = new NetworkDetail(bssid, ie, 168 NetworkDetail nd = data.getNetwork(); 199 NetworkDetail nd = data.getNetwork();
|
ScanResults.java | 23 import com.android.server.wifi.hotspot2.NetworkDetail; 118 NetworkDetail nd = new NetworkDetail(bssid, ie, anqpLines, freq);
|
WifiMetricsTest.java | 27 import com.android.server.wifi.hotspot2.NetworkDetail; 384 NetworkDetail networkDetail = mock(NetworkDetail.class); 385 when(networkDetail.getWifiMode()).thenReturn(NETWORK_DETAIL_WIFIMODE); 386 when(networkDetail.getSSID()).thenReturn(SSID); 387 when(networkDetail.getDtimInterval()).thenReturn(NETWORK_DETAIL_DTIM); 398 when(scanDetail.getNetworkDetail()).thenReturn(networkDetail);
|
WifiStateMachineTest.java | 69 import com.android.server.wifi.hotspot2.NetworkDetail; 282 NetworkDetail nd = new NetworkDetail(sBSSID, ie, new ArrayList<String>(), sFreq); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
ANQPFactory.java | 3 import com.android.server.wifi.hotspot2.NetworkDetail; 57 public static List<Constants.ANQPElementType> buildQueryList(NetworkDetail networkDetail, 62 querySet.addAll(getBaseANQPSet(networkDetail.getAnqpOICount() > 0)); 65 if (networkDetail.getHSRelease() != null) { 66 boolean includeOSU = osu && networkDetail.getHSRelease() == NetworkDetail.HSRelease.R2;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
HomeSP.java | 14 import com.android.server.wifi.hotspot2.NetworkDetail; 142 public PasspointMatch match(NetworkDetail networkDetail, 148 PasspointMatch spMatch = matchSP(networkDetail, anqpElementMap, imsis); 167 Log.d(Utils.hs2LogTag(getClass()), networkDetail.toKeyString() + " match on " + mFQDN + 184 public PasspointMatch matchSP(NetworkDetail networkDetail, 188 if (mSSIDs.containsKey(networkDetail.getSSID())) { 189 Long hessid = mSSIDs.get(networkDetail.getSSID()); 190 if (hessid == null || networkDetail.getHESSID() == hessid) [all...] |