/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:"; 127 public NetworkDetail(String bssid, ScanResult.InformationElement[] infoElements, 332 private NetworkDetail(NetworkDetail base, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { 360 public NetworkDetail complete(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { 361 return new NetworkDetail(this, anqpElements); 500 NetworkDetail that = (NetworkDetail)thatObject; 533 * Evaluates the ScanResult this NetworkDetail is built fro [all...] |
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 | 26 import com.android.server.wifi.hotspot2.NetworkDetail; 397 NetworkDetail networkDetail = scanDetail.getNetworkDetail(); 399 //Ensure that we have a networkDetail, and that it corresponds to the currently 401 if (networkDetail != null && scanResult != null 404 .equals("\"" + networkDetail.getSSID() + "\"")) { 405 updateMetricsFromNetworkDetail(networkDetail); 440 * Set ConnectionEvent DTIM Interval (if set), and 802.11 Connection mode, from NetworkDetail 442 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; 711 NetworkDetail networkDetail = new NetworkDetail(bssid, 714 if (!xssid.equals(networkDetail.getTrimmedSSID())) { 717 bssid, xssid, networkDetail.getSSID(), infoElementsStr)); 720 if (networkDetail.hasInterworking()) { 721 if (DBG) Log.d(TAG, "HSNwk: '" + networkDetail); 723 ScanDetail scan = new ScanDetail(networkDetail, wifiSsid, bssid, flags, [all...] |
WifiStateMachine.java | 109 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 | 28 import com.android.server.wifi.hotspot2.NetworkDetail; 216 private ScanDetail buildMockScanDetail(boolean hidden, NetworkDetail.HSRelease hSRelease, 219 NetworkDetail mockNetworkDetail = mock(NetworkDetail.class); 236 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, 238 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R2, 240 mockScanDetails.add(buildMockScanDetail(false, NetworkDetail.HSRelease.R1, 547 NetworkDetail networkDetail = mock(NetworkDetail.class) [all...] |
WifiStateMachineTest.java | 73 import com.android.server.wifi.hotspot2.NetworkDetail; 292 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...] |