Home
last modified time | relevance | path

Searched refs:anqpElements (Results 1 – 11 of 11) 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
164 if (anqpElements != null) { in calculateScore()
166 (HSWanMetricsElement) anqpElements.get(ANQPElementType.HSWANMetrics); in calculateScore()
174 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.java333 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements, in match() argument
335 PasspointMatch providerMatch = matchProviderExceptFor3GPP(anqpElements, roamingConsortium); in match()
339 (ThreeGPPNetworkElement) anqpElements.get(ANQPElementType.ANQP3GPPNetwork), in match()
346 (NAIRealmElement) anqpElements.get(ANQPElementType.ANQPNAIRealm), in match()
580 Map<ANQPElementType, ANQPElement> anqpElements, in matchProviderExceptFor3GPP() argument
584 (DomainNameElement) anqpElements.get(ANQPElementType.ANQPDomName), in matchProviderExceptFor3GPP()
592 (RoamingConsortiumElement) anqpElements.get(ANQPElementType.ANQPRoamingConsortium), in matchProviderExceptFor3GPP()
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()
DPasspointManager.java151 Map<Constants.ANQPElementType, ANQPElement> anqpElements) { in onANQPResponse() argument
154 mAnqpRequestManager.onRequestCompleted(bssid, anqpElements != null); in onANQPResponse()
155 if (anqpElements == null || anqpKey == null) { in onANQPResponse()
162 mAnqpCache.addEntry(anqpKey, anqpElements); in onANQPResponse()
973 Map<Constants.ANQPElementType, ANQPElement> anqpElements = getANQPElements(scanResult); in getMatchingOsuProviders() local
974 if (!anqpElements.containsKey(Constants.ANQPElementType.HSOSUProviders)) { in getMatchingOsuProviders()
978 (HSOsuProvidersElement) anqpElements.get( in getMatchingOsuProviders()
DPasspointEventHandler.java51 Map<Constants.ANQPElementType, ANQPElement> anqpElements); in onANQPResponse() argument
DPasspointProvisioner.java1012 Map<Constants.ANQPElementType, ANQPElement> anqpElements = in getBestMatchingOsuProvider() local
1016 (HSOsuProvidersElement) anqpElements.get( in getBestMatchingOsuProvider()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java492 public AnqpInformationElement[] anqpElements; field in ScanResult
525 this.anqpElements = new AnqpInformationElement[1]; in ScanResult()
526 this.anqpElements[0] = in ScanResult()
616 anqpElements = source.anqpElements; in ScanResult()
736 if (anqpElements != null) { in writeToParcel()
737 dest.writeInt(anqpElements.length); in writeToParcel()
738 for (AnqpInformationElement element : anqpElements) { in writeToParcel()
817 sr.anqpElements = new AnqpInformationElement[n];
824 sr.anqpElements[i] =
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkScoreTest.java52 public final Map<ANQPElementType, ANQPElement> anqpElements; field in PasspointNetworkScoreTest.TestData
63 anqpElements = elements; in TestData()
345 data.isHomeProvider, scanDetail, data.anqpElements, data.isActiveNetwork)); in calculateScore()
367 data.isHomeProvider, scanDetail, data.anqpElements, data.isActiveNetwork)); in calculatorScoreWithUnSupportedNetworkType()