Searched refs:InformationElement (Results 1 – 12 of 12) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 22 import android.net.wifi.ScanResult.InformationElement; 80 InformationElement[] results = in parseInformationElements_withEmptyByteArray() 92 InformationElement[] results = in parseInformationElements_withNullBytes() 108 InformationElement[] results = in parseInformationElements_withSingleElement() 111 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id); in parseInformationElements_withSingleElement() 131 InformationElement[] results = in parseInformationElements_withExtraPadding() 134 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id); in parseInformationElements_withExtraPadding() 154 InformationElement[] results = in parseInformationElements_secondElementInvalidLength() 157 assertEquals("Parsed result should be a ssid.", InformationElement.EID_SSID, results[0].id); in parseInformationElements_secondElementInvalidLength() 174 InformationElement[] results = in parseInformationElements_twoElements() [all …]
|
D | ScanDetailUtilTest.java | 24 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() 88 private static InformationElement createIE(int id, byte[] bytes) { in createIE() 89 InformationElement ie = new InformationElement(); in createIE()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | InformationElementUtil.java | 20 import android.net.wifi.ScanResult.InformationElement; 36 public static InformationElement[] parseInformationElements(byte[] bytes) { in parseInformationElements() 38 return new InformationElement[0]; in parseInformationElements() 42 ArrayList<InformationElement> infoElements = new ArrayList<>(); in parseInformationElements() 48 if (elementLength > data.remaining() || (eid == InformationElement.EID_SSID in parseInformationElements() 55 if (eid == InformationElement.EID_SSID) { in parseInformationElements() 59 InformationElement ie = new InformationElement(); in parseInformationElements() 65 return infoElements.toArray(new InformationElement[infoElements.size()]); in parseInformationElements() 74 public void from(InformationElement ie) { in from() 75 if (ie.id != InformationElement.EID_BSS_LOAD) { in from() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | NetworkDetail.java | 125 public NetworkDetail(String bssid, ScanResult.InformationElement[] infoElements, in NetworkDetail() 165 for (ScanResult.InformationElement ie : infoElements) { in NetworkDetail() 168 case ScanResult.InformationElement.EID_SSID: in NetworkDetail() 171 case ScanResult.InformationElement.EID_BSS_LOAD: in NetworkDetail() 174 case ScanResult.InformationElement.EID_HT_OPERATION: in NetworkDetail() 177 case ScanResult.InformationElement.EID_VHT_OPERATION: in NetworkDetail() 180 case ScanResult.InformationElement.EID_INTERWORKING: in NetworkDetail() 183 case ScanResult.InformationElement.EID_ROAMING_CONSORTIUM: in NetworkDetail() 186 case ScanResult.InformationElement.EID_VSA: in NetworkDetail() 189 case ScanResult.InformationElement.EID_EXTENDED_CAPS: in NetworkDetail() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResults.java | 83 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()
|
D | AnqpCacheTest.java | 64 ScanResult.InformationElement[] ie = new ScanResult.InformationElement[1]; in NetworkDescription()
|
D | WifiConnectivityManagerTest.java | 27 import android.net.wifi.ScanResult.InformationElement; 155 scanResults[0].informationElements = new InformationElement[1]; in mockWifiScanner() 156 scanResults[0].informationElements[0] = new InformationElement(); in mockWifiScanner() 157 scanResults[0].informationElements[0].id = InformationElement.EID_SSID; in mockWifiScanner()
|
D | WifiStateMachineTest.java | 280 ScanResult.InformationElement ie[] = new ScanResult.InformationElement[1]; in getGoogleGuestScanDetail()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ScanResult.java | 315 public static class InformationElement { class in ScanResult 333 public InformationElement() { in InformationElement() method in ScanResult.InformationElement 336 public InformationElement(InformationElement rhs) { in InformationElement() method in 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/ |
D | ScanDetail.java | 47 ScanResult.InformationElement[] informationElements, List<String> anqpLines) { in ScanDetail()
|
D | WifiNative.java | 705 ScanResult.InformationElement[] infoElements = in getScanResults() 1835 ScanResult.InformationElement elements[] = in populateScanResult() 1837 for (ScanResult.InformationElement ie : elements) { in populateScanResult() 1838 if(ie.id == ScanResult.InformationElement.EID_HT_OPERATION) { in populateScanResult() 1840 } else if(ie.id == ScanResult.InformationElement.EID_VHT_OPERATION) { in populateScanResult() 1842 } else if (ie.id == ScanResult.InformationElement.EID_EXTENDED_CAPS) { in populateScanResult()
|
/frameworks/base/ |
D | compiled-classes-phone | 2834 android.net.wifi.ScanResult$InformationElement
|