/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 24 import android.net.wifi.ScanResult.InformationElement; 84 InformationElement[] results = in parseInformationElements_withEmptyByteArray() 96 InformationElement[] results = in parseInformationElements_withNullBytes() 112 InformationElement[] results = in parseInformationElements_withSingleElement() 115 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id); in parseInformationElements_withSingleElement() 135 InformationElement[] results = in parseInformationElements_withExtraPadding() 138 assertEquals("Parsed result should be a ssid", InformationElement.EID_SSID, results[0].id); in parseInformationElements_withExtraPadding() 158 InformationElement[] results = in parseInformationElements_secondElementInvalidLength() 161 assertEquals("Parsed result should be a ssid.", InformationElement.EID_SSID, results[0].id); in parseInformationElements_secondElementInvalidLength() 178 InformationElement[] results = in parseInformationElements_twoElements() [all …]
|
D | ScanResultUtilTest.java | 22 import android.net.wifi.ScanResult.InformationElement; 47 input.informationElements = new InformationElement[] { in convertScanResult() 48 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) in convertScanResult() 63 input.informationElements = new InformationElement[] { in convertScanResultWithAnqpLines() 64 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) in convertScanResultWithAnqpLines() 78 input.informationElements = new InformationElement[] { in convertScanResultWithoutWifiSsid() 79 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) in convertScanResultWithoutWifiSsid() 118 private static InformationElement createIE(int id, byte[] bytes) { in createIE() 119 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; 230 scanResults[0].informationElements = new InformationElement[1]; in mockWifiScanner() 231 scanResults[0].informationElements[0] = new InformationElement(); in mockWifiScanner() 232 scanResults[0].informationElements[0].id = InformationElement.EID_SSID; in mockWifiScanner() 1929 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; 1930 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; 1931 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; 1932 scanDatas[0].getResults()[3].informationElements = new InformationElement[0];
|
D | WifiStateMachineTest.java | 288 ScanResult.InformationElement ie[] = new ScanResult.InformationElement[1]; in getGoogleGuestScanDetail()
|
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 344 ScanResult.InformationElement htCap = new ScanResult.InformationElement(); in testResponderPreambleSelection() 345 htCap.id = ScanResult.InformationElement.EID_HT_CAPABILITIES; in testResponderPreambleSelection() 347 ScanResult.InformationElement vhtCap = new ScanResult.InformationElement(); in testResponderPreambleSelection() 348 vhtCap.id = ScanResult.InformationElement.EID_VHT_CAPABILITIES; in testResponderPreambleSelection() 350 ScanResult.InformationElement vsa = new ScanResult.InformationElement(); in testResponderPreambleSelection() 351 vsa.id = ScanResult.InformationElement.EID_VSA; in testResponderPreambleSelection() 366 scan.informationElements = new ScanResult.InformationElement[2]; in testResponderPreambleSelection()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ScanResult.java | 399 public static class InformationElement { class in ScanResult 419 public InformationElement() { in InformationElement() method in ScanResult.InformationElement 422 public InformationElement(InformationElement rhs) { in InformationElement() method in ScanResult.InformationElement 431 public InformationElement[] informationElements; 741 sr.informationElements = new InformationElement[n]; 743 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 | 536 ScanResult.InformationElement[] ies = in getScanResults()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 3671 Landroid/net/wifi/ScanResult$InformationElement;->bytes:[B 3672 Landroid/net/wifi/ScanResult$InformationElement;->EID_BSS_LOAD:I 3673 Landroid/net/wifi/ScanResult$InformationElement;->EID_ERP:I 3674 Landroid/net/wifi/ScanResult$InformationElement;->EID_EXTENDED_CAPS:I 3675 Landroid/net/wifi/ScanResult$InformationElement;->EID_EXTENDED_SUPPORTED_RATES:I 3676 Landroid/net/wifi/ScanResult$InformationElement;->EID_HT_OPERATION:I 3677 Landroid/net/wifi/ScanResult$InformationElement;->EID_INTERWORKING:I 3678 Landroid/net/wifi/ScanResult$InformationElement;->EID_ROAMING_CONSORTIUM:I 3679 Landroid/net/wifi/ScanResult$InformationElement;->EID_RSN:I 3680 Landroid/net/wifi/ScanResult$InformationElement;->EID_SSID:I [all …]
|
D | preloaded-classes | 2314 android.net.wifi.ScanResult$InformationElement
|
D | boot-image-profile.txt | 56866 Landroid/net/wifi/ScanResult$InformationElement;
|