Home
last modified time | relevance | path

Searched refs:anqpElements (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java89 public void propagateANQPInfo(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in propagateANQPInfo() argument
90 if (anqpElements.isEmpty()) { in propagateANQPInfo()
93 mNetworkDetail = mNetworkDetail.complete(anqpElements); in propagateANQPInfo()
94 HSFriendlyNameElement fne = (HSFriendlyNameElement) anqpElements.get( in propagateANQPInfo()
101 (((VenueNameElement) anqpElements.get( in propagateANQPInfo()
107 RawByteElement osuProviders = (RawByteElement) anqpElements in propagateANQPInfo()
110 mScanResult.anqpElements = new AnqpInformationElement[1]; in propagateANQPInfo()
111 mScanResult.anqpElements[0] = in propagateANQPInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPData.java42 public ANQPData(Clock clock, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in ANQPData() argument
45 if (anqpElements != null) { in ANQPData()
46 mANQPElements.putAll(anqpElements); in ANQPData()
DPasspointNetworkScore.java148 Map<ANQPElementType, ANQPElement> anqpElements, boolean isActiveNetwork) { in calculateScore() argument
161 if (anqpElements != null) { in calculateScore()
163 (HSWanMetricsElement) anqpElements.get(ANQPElementType.HSWANMetrics); in calculateScore()
171 anqpElements.get(ANQPElementType.ANQPIPAddrAvailability); in calculateScore()
DAnqpCache.java56 Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in addEntry() argument
57 ANQPData data = new ANQPData(mClock, anqpElements); in addEntry()
DPasspointProvider.java260 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements, in match() argument
262 PasspointMatch providerMatch = matchProvider(anqpElements, roamingConsortium); in match()
266 (NAIRealmElement) anqpElements.get(ANQPElementType.ANQPNAIRealm), in match()
463 private PasspointMatch matchProvider(Map<ANQPElementType, ANQPElement> anqpElements, in matchProvider() argument
467 (DomainNameElement) anqpElements.get(ANQPElementType.ANQPDomName), in matchProvider()
475 (RoamingConsortiumElement) anqpElements.get(ANQPElementType.ANQPRoamingConsortium), in matchProvider()
494 (ThreeGPPNetworkElement) anqpElements.get(ANQPElementType.ANQP3GPPNetwork), in matchProvider()
DPasspointManager.java117 Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in onANQPResponse() argument
120 mAnqpRequestManager.onRequestCompleted(bssid, anqpElements != null); in onANQPResponse()
121 if (anqpElements == null || anqpKey == null) { in onANQPResponse()
128 mAnqpCache.addEntry(anqpKey, anqpElements); in onANQPResponse()
608 Map<Constants.ANQPElementType, ANQPElement> anqpElements = getANQPElements(scanResult); in getMatchingOsuProviders() local
609 if (!anqpElements.containsKey(Constants.ANQPElementType.HSOSUProviders)) { in getMatchingOsuProviders()
614 (HSOsuProvidersElement) anqpElements.get(Constants.ANQPElementType.HSOSUProviders); in getMatchingOsuProviders()
DNetworkDetail.java323 …ivate NetworkDetail(NetworkDetail base, Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in NetworkDetail() argument
339 mANQPElements = anqpElements; in NetworkDetail()
349 public NetworkDetail complete(Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in complete() argument
350 return new NetworkDetail(this, anqpElements); in complete()
DPasspointEventHandler.java51 Map<Constants.ANQPElementType, ANQPElement> anqpElements); in onANQPResponse() argument
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java436 public AnqpInformationElement[] anqpElements; field in ScanResult
469 this.anqpElements = new AnqpInformationElement[1]; in ScanResult()
470 this.anqpElements[0] = in ScanResult()
560 anqpElements = source.anqpElements; in ScanResult()
680 if (anqpElements != null) { in writeToParcel()
681 dest.writeInt(anqpElements.length); in writeToParcel()
682 for (AnqpInformationElement element : anqpElements) { in writeToParcel()
760 sr.anqpElements = new AnqpInformationElement[n];
767 sr.anqpElements[i] =
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkScoreTest.java51 public final Map<ANQPElementType, ANQPElement> anqpElements; field in PasspointNetworkScoreTest.TestData
62 anqpElements = elements; in TestData()
344 data.isHomeProvider, scanDetail, data.anqpElements, data.isActiveNetwork)); in calculateScore()