Home
last modified time | relevance | path

Searched refs:InformationElement (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java24 import android.net.wifi.ScanResult.InformationElement;
85 InformationElement[] results = in parseInformationElements_withEmptyByteArray()
97 InformationElement[] results = in parseInformationElements_withNullBytes()
113 InformationElement[] results = in parseInformationElements_withSingleElement()
116 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id); in parseInformationElements_withSingleElement()
136 InformationElement[] results = in parseInformationElements_withExtraPadding()
139 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id); in parseInformationElements_withExtraPadding()
159 InformationElement[] results = in parseInformationElements_secondElementInvalidLength()
162 assertEquals("Parsed result should be a ssid.", InformationElement.EID_SSID, results[0].id); in parseInformationElements_secondElementInvalidLength()
179 InformationElement[] results = in parseInformationElements_twoElements()
[all …]
DScanResultUtilTest.java22 import android.net.wifi.ScanResult.InformationElement;
48 input.informationElements = new InformationElement[] { in convertScanResult()
49 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) in convertScanResult()
64 input.informationElements = new InformationElement[] { in convertScanResultWithAnqpLines()
65 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) in convertScanResultWithAnqpLines()
79 input.informationElements = new InformationElement[] { in convertScanResultWithoutWifiSsid()
80 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) in convertScanResultWithoutWifiSsid()
131 input.informationElements = new InformationElement[] { in testPskSha256SaeTransitionModeCheck()
132 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) in testPskSha256SaeTransitionModeCheck()
150 input.informationElements = new InformationElement[] { in testPskSaeTransitionModeCheck()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java19 import android.net.wifi.ScanResult.InformationElement;
35 public static InformationElement[] parseInformationElements(byte[] bytes) { in parseInformationElements()
37 return new InformationElement[0]; in parseInformationElements()
41 ArrayList<InformationElement> infoElements = new ArrayList<>(); in parseInformationElements()
47 if (elementLength > data.remaining() || (eid == InformationElement.EID_SSID in parseInformationElements()
54 if (eid == InformationElement.EID_SSID) { in parseInformationElements()
58 InformationElement ie = new InformationElement(); in parseInformationElements()
64 return infoElements.toArray(new InformationElement[infoElements.size()]); in parseInformationElements()
73 public static RoamingConsortium getRoamingConsortiumIE(InformationElement[] ies) { in getRoamingConsortiumIE()
76 for (InformationElement ie : ies) { in getRoamingConsortiumIE()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DNetworkDetail.java121 public NetworkDetail(String bssid, ScanResult.InformationElement[] infoElements, in NetworkDetail()
162 for (ScanResult.InformationElement ie : infoElements) { in NetworkDetail()
165 case ScanResult.InformationElement.EID_SSID: in NetworkDetail()
168 case ScanResult.InformationElement.EID_BSS_LOAD: in NetworkDetail()
171 case ScanResult.InformationElement.EID_HT_OPERATION: in NetworkDetail()
174 case ScanResult.InformationElement.EID_VHT_OPERATION: in NetworkDetail()
177 case ScanResult.InformationElement.EID_INTERWORKING: in NetworkDetail()
180 case ScanResult.InformationElement.EID_ROAMING_CONSORTIUM: in NetworkDetail()
183 case ScanResult.InformationElement.EID_VSA: in NetworkDetail()
186 case ScanResult.InformationElement.EID_EXTENDED_CAPS: in NetworkDetail()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java83 public static ScanResult.InformationElement generateSsidIe(String ssid) { in generateSsidIe()
84 ScanResult.InformationElement ie = new ScanResult.InformationElement(); in generateSsidIe()
85 ie.id = ScanResult.InformationElement.EID_SSID; in generateSsidIe()
110 ScanResult.InformationElement[] ie; in generateNativeResults()
112 ie = new ScanResult.InformationElement[1]; in generateNativeResults()
115 ie = new ScanResult.InformationElement[0]; in generateNativeResults()
DWifiConnectivityManagerTest.java35 import android.net.wifi.ScanResult.InformationElement;
241 scanResults[0].informationElements = new InformationElement[1]; in mockWifiScanner()
242 scanResults[0].informationElements[0] = new InformationElement(); in mockWifiScanner()
243 scanResults[0].informationElements[0].id = InformationElement.EID_SSID; in mockWifiScanner()
1993 scanDatas[0].getResults()[0].informationElements = new InformationElement[0];
1994 scanDatas[0].getResults()[1].informationElements = new InformationElement[0];
1995 scanDatas[0].getResults()[2].informationElements = new InformationElement[0];
1996 scanDatas[0].getResults()[3].informationElements = new InformationElement[0];
DClientModeImplTest.java297 ScanResult.InformationElement[] ie = new ScanResult.InformationElement[1]; in getGoogleGuestScanDetail()
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java347 ScanResult.InformationElement htCap = new ScanResult.InformationElement(); in testResponderPreambleSelection()
348 htCap.id = ScanResult.InformationElement.EID_HT_CAPABILITIES; in testResponderPreambleSelection()
350 ScanResult.InformationElement vhtCap = new ScanResult.InformationElement(); in testResponderPreambleSelection()
351 vhtCap.id = ScanResult.InformationElement.EID_VHT_CAPABILITIES; in testResponderPreambleSelection()
353 ScanResult.InformationElement vsa = new ScanResult.InformationElement(); in testResponderPreambleSelection()
354 vsa.id = ScanResult.InformationElement.EID_VSA; in testResponderPreambleSelection()
369 scan.informationElements = new ScanResult.InformationElement[2]; in testResponderPreambleSelection()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java442 public static class InformationElement { class in ScanResult
495 public InformationElement() { in InformationElement() method in ScanResult.InformationElement
498 public InformationElement(@NonNull InformationElement rhs) { in InformationElement() method in ScanResult.InformationElement
525 public InformationElement[] informationElements;
530 public List<InformationElement> getInformationElements() { in getInformationElements()
842 sr.informationElements = new InformationElement[n];
844 sr.informationElements[i] = new InformationElement();
/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderConfig.java19 import static android.net.wifi.ScanResult.InformationElement.EID_HT_CAPABILITIES;
20 import static android.net.wifi.ScanResult.InformationElement.EID_VHT_CAPABILITIES;
310 for (ScanResult.InformationElement ie : scanResult.informationElements) { in fromScanResult()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetail.java44 ScanResult.InformationElement[] informationElements, List<String> anqpLines) { in ScanDetail()
DWificondControl.java592 ScanResult.InformationElement[] ies = in getScanResults()
DClientModeImpl.java5437 final List<ScanResultInfo.InformationElement> ies = in enter()
5438 new ArrayList<ScanResultInfo.InformationElement>(); in enter()
5439 for (ScanResult.InformationElement ie : scanResult.getInformationElements()) { in enter()
5440 ScanResultInfo.InformationElement scanResultInfoIe = in enter()
5441 new ScanResultInfo.InformationElement(ie.getId(), ie.getBytes()); in enter()
/frameworks/base/config/
Dpreloaded-classes2620 android.net.wifi.ScanResult$InformationElement
Dhiddenapi-greylist-max-o.txt46963 Landroid/net/wifi/ScanResult$InformationElement;-><init>()V
46964 Landroid/net/wifi/ScanResult$InformationElement;-><init>(Landroid/net/wifi/ScanResult$InformationEl…
46965 Landroid/net/wifi/ScanResult$InformationElement;->EID_HT_CAPABILITIES:I
46966 Landroid/net/wifi/ScanResult$InformationElement;->EID_VHT_CAPABILITIES:I
Dboot-image-profile.txt35008 Landroid/net/wifi/ScanResult$InformationElement;
/frameworks/base/non-updatable-api/
Dcurrent.txt29842 …method @NonNull public java.util.List<android.net.wifi.ScanResult.InformationElement> getInformati…
29865 public static class ScanResult.InformationElement {
29866 …ctor public ScanResult.InformationElement(@NonNull android.net.wifi.ScanResult.InformationElement);
/frameworks/base/api/
Dcurrent.txt29986 …method @NonNull public java.util.List<android.net.wifi.ScanResult.InformationElement> getInformati…
30009 public static class ScanResult.InformationElement {
30010 …ctor public ScanResult.InformationElement(@NonNull android.net.wifi.ScanResult.InformationElement);