/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | ANQPData.java | 42 public ANQPData(Clock clock, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { argument 45 if (anqpElements != null) { 46 mANQPElements.putAll(anqpElements);
|
H A D | AnqpCache.java | 53 * @param anqpElements The ANQP elements from the AP 56 Map<Constants.ANQPElementType, ANQPElement> anqpElements) { 57 ANQPData data = new ANQPData(mClock, anqpElements); 55 addEntry(ANQPNetworkKey key, Map<Constants.ANQPElementType, ANQPElement> anqpElements) argument
|
H A D | PasspointNetworkScore.java | 148 Map<ANQPElementType, ANQPElement> anqpElements, boolean isActiveNetwork) { 161 if (anqpElements != null) { 163 (HSWanMetricsElement) anqpElements.get(ANQPElementType.HSWANMetrics); 171 anqpElements.get(ANQPElementType.ANQPIPAddrAvailability); 147 calculateScore(boolean isHomeProvider, ScanDetail scanDetail, Map<ANQPElementType, ANQPElement> anqpElements, boolean isActiveNetwork) argument
|
H A D | PasspointEventHandler.java | 46 * Invoked on received of ANQP response. |anqpElements| will be null on failure. 48 * @param anqpElements ANQP elements to be queried 51 Map<Constants.ANQPElementType, ANQPElement> anqpElements); 50 onANQPResponse(long bssid, Map<Constants.ANQPElementType, ANQPElement> anqpElements) argument
|
H A D | PasspointManager.java | 117 Map<Constants.ANQPElementType, ANQPElement> anqpElements) { 120 mAnqpRequestManager.onRequestCompleted(bssid, anqpElements != null); 121 if (anqpElements == null || anqpKey == null) { 128 mAnqpCache.addEntry(anqpKey, anqpElements); 608 Map<Constants.ANQPElementType, ANQPElement> anqpElements = getANQPElements(scanResult); 609 if (!anqpElements.containsKey(Constants.ANQPElementType.HSOSUProviders)) { 614 (HSOsuProvidersElement) anqpElements.get(Constants.ANQPElementType.HSOSUProviders); 116 onANQPResponse(long bssid, Map<Constants.ANQPElementType, ANQPElement> anqpElements) argument
|
H A D | PasspointProvider.java | 256 * @param anqpElements ANQP elements from the AP 260 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements, argument 262 PasspointMatch providerMatch = matchProvider(anqpElements, roamingConsortium); 266 (NAIRealmElement) anqpElements.get(ANQPElementType.ANQPNAIRealm), 459 * @param anqpElements List of ANQP elements 463 private PasspointMatch matchProvider(Map<ANQPElementType, ANQPElement> anqpElements, argument 467 (DomainNameElement) anqpElements.get(ANQPElementType.ANQPDomName), 475 (RoamingConsortiumElement) anqpElements.get(ANQPElementType.ANQPRoamingConsortium), 494 (ThreeGPPNetworkElement) anqpElements.get(ANQPElementType.ANQP3GPPNetwork),
|
H A D | NetworkDetail.java | 323 private NetworkDetail(NetworkDetail base, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { argument 339 mANQPElements = anqpElements; 349 public NetworkDetail complete(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { argument 350 return new NetworkDetail(this, anqpElements);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ScanDetail.java | 87 * @param anqpElements Map<Constants.ANQPElementType, ANQPElement> 89 public void propagateANQPInfo(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { argument 90 if (anqpElements.isEmpty()) { 93 mNetworkDetail = mNetworkDetail.complete(anqpElements); 94 HSFriendlyNameElement fne = (HSFriendlyNameElement) anqpElements.get( 101 (((VenueNameElement) anqpElements.get( 107 RawByteElement osuProviders = (RawByteElement) anqpElements 110 mScanResult.anqpElements = new AnqpInformationElement[1]; 111 mScanResult.anqpElements[0] =
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | PasspointNetworkScoreTest.java | 51 public final Map<ANQPElementType, ANQPElement> anqpElements; field in class:PasspointNetworkScoreTest.TestData 62 anqpElements = elements; 135 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, 145 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, 156 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, 167 NetworkDetail.Ant.Personal /* networkType */, null /* anqpElements */, 179 TEST_ANQP_WITH_WAN_PORT_UP /* anqpElements */, 191 TEST_ANQP_WITH_WAN_PORT_DOWN /* anqpElements */, 204 TEST_ANQP_WITH_WAN_PORT_CAPPED /* anqpElements */, 217 TEST_ANQP_WITH_UNRESTRICTED_IP /* anqpElements */, [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | ScanResult.java | 436 public AnqpInformationElement[] anqpElements; field in class:ScanResult 469 this.anqpElements = new AnqpInformationElement[1]; 470 this.anqpElements[0] = 560 anqpElements = source.anqpElements; 680 if (anqpElements != null) { 681 dest.writeInt(anqpElements.length); 682 for (AnqpInformationElement element : anqpElements) { 760 sr.anqpElements = new AnqpInformationElement[n]; 767 sr.anqpElements[ [all...] |