Searched refs:InformationElement (Results 1 - 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DInformationElementUtilTest.java22 import android.net.wifi.ScanResult.InformationElement;
75 * Expect parseInformationElement to return an empty InformationElement array.
80 InformationElement[] results =
87 * Expect parseInfomrationElement to return an empty InformationElement array.
92 InformationElement[] results =
108 InformationElement[] results =
111 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id);
131 InformationElement[] results =
134 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id);
154 InformationElement[] result
[all...]
H A DScanDetailUtilTest.java24 import android.net.wifi.ScanResult.InformationElement;
48 input.informationElements = new InformationElement[] {
49 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8))
64 input.informationElements = new InformationElement[] {
65 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8))
79 input.informationElements = new InformationElement[] {
80 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8))
88 private static InformationElement createIE(int id, byte[] bytes) {
89 InformationElement ie = new InformationElement();
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DInformationElementUtil.java20 import android.net.wifi.ScanResult.InformationElement;
36 public static InformationElement[] parseInformationElements(byte[] bytes) {
38 return new InformationElement[0];
42 ArrayList<InformationElement> infoElements = new ArrayList<>();
48 if (elementLength > data.remaining() || (eid == InformationElement.EID_SSID
55 if (eid == InformationElement.EID_SSID) {
59 InformationElement ie = new InformationElement();
65 return infoElements.toArray(new InformationElement[infoElements.size()]);
74 public void from(InformationElement i
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DNetworkDetail.java127 public NetworkDetail(String bssid, ScanResult.InformationElement[] infoElements,
168 for (ScanResult.InformationElement ie : infoElements) {
171 case ScanResult.InformationElement.EID_SSID:
174 case ScanResult.InformationElement.EID_BSS_LOAD:
177 case ScanResult.InformationElement.EID_HT_OPERATION:
180 case ScanResult.InformationElement.EID_VHT_OPERATION:
183 case ScanResult.InformationElement.EID_INTERWORKING:
186 case ScanResult.InformationElement.EID_ROAMING_CONSORTIUM:
189 case ScanResult.InformationElement.EID_VSA:
192 case ScanResult.InformationElement
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DScanResults.java83 public static ScanResult.InformationElement generateSsidIe(String ssid) {
84 ScanResult.InformationElement ie = new ScanResult.InformationElement();
85 ie.id = ScanResult.InformationElement.EID_SSID;
110 ScanResult.InformationElement[] ie;
112 ie = new ScanResult.InformationElement[1];
115 ie = new ScanResult.InformationElement[0];
H A DAnqpCacheTest.java64 ScanResult.InformationElement[] ie = new ScanResult.InformationElement[1];
H A DWifiConnectivityManagerTest.java28 import android.net.wifi.ScanResult.InformationElement;
172 scanResults[0].informationElements = new InformationElement[1];
173 scanResults[0].informationElements[0] = new InformationElement();
174 scanResults[0].informationElements[0].id = InformationElement.EID_SSID;
H A DWifiStateMachineTest.java290 ScanResult.InformationElement ie[] = new ScanResult.InformationElement[1];
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java315 public static class InformationElement { class in class:ScanResult
333 public InformationElement() { method in class:ScanResult.InformationElement
336 public InformationElement(InformationElement rhs) { method in class:ScanResult.InformationElement
345 public InformationElement[] informationElements;
609 sr.informationElements = new InformationElement[n];
611 sr.informationElements[i] = new InformationElement();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetail.java47 ScanResult.InformationElement[] informationElements, List<String> anqpLines) {
H A DWifiNative.java707 ScanResult.InformationElement[] infoElements =
1850 ScanResult.InformationElement elements[] =
1852 for (ScanResult.InformationElement ie : elements) {
1853 if(ie.id == ScanResult.InformationElement.EID_HT_OPERATION) {
1855 } else if(ie.id == ScanResult.InformationElement.EID_VHT_OPERATION) {
1857 } else if (ie.id == ScanResult.InformationElement.EID_EXTENDED_CAPS) {
/frameworks/base/
H A Dcompiled-classes-phone2834 android.net.wifi.ScanResult$InformationElement

Completed in 1128 milliseconds