/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 24 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 …]
|
D | ScanResultUtilTest.java | 22 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() 119 private static InformationElement createIE(int id, byte[] bytes) { in createIE() 120 InformationElement ie = new InformationElement(); in createIE()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | InformationElementUtil.java | 19 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/ |
D | NetworkDetail.java | 121 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/ |
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 | WifiConnectivityManagerTest.java | 35 import android.net.wifi.ScanResult.InformationElement; 236 scanResults[0].informationElements = new InformationElement[1]; in mockWifiScanner() 237 scanResults[0].informationElements[0] = new InformationElement(); in mockWifiScanner() 238 scanResults[0].informationElements[0].id = InformationElement.EID_SSID; in mockWifiScanner() 1988 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; 1989 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; 1990 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; 1991 scanDatas[0].getResults()[3].informationElements = new InformationElement[0];
|
D | ClientModeImplTest.java | 291 ScanResult.InformationElement[] ie = new ScanResult.InformationElement[1]; in getGoogleGuestScanDetail()
|
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 347 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/ |
D | ScanResult.java | 439 public static class InformationElement { class in ScanResult 474 public InformationElement() { in InformationElement() method in ScanResult.InformationElement 477 public InformationElement(InformationElement rhs) { in InformationElement() method in ScanResult.InformationElement 487 public InformationElement[] informationElements; 798 sr.informationElements = new InformationElement[n]; 800 sr.informationElements[i] = new InformationElement();
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | ResponderConfig.java | 19 import static android.net.wifi.ScanResult.InformationElement.EID_HT_CAPABILITIES; 20 import static android.net.wifi.ScanResult.InformationElement.EID_VHT_CAPABILITIES; 309 for (ScanResult.InformationElement ie : scanResult.informationElements) { in fromScanResult()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanDetail.java | 44 ScanResult.InformationElement[] informationElements, List<String> anqpLines) { in ScanDetail()
|
D | WificondControl.java | 595 ScanResult.InformationElement[] ies = in getScanResults()
|
/frameworks/base/config/ |
D | preloaded-classes | 2620 android.net.wifi.ScanResult$InformationElement
|