Home
last modified time | relevance | path

Searched refs:ScanResultInfo (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DProvisioningConfiguration.java223 public Builder withScanResultInfo(ScanResultInfo scanResultInfo) { in withScanResultInfo()
259 public static class ScanResultInfo { class in ProvisioningConfiguration
336 public ScanResultInfo(@NonNull String ssid, @NonNull String bssid, in ScanResultInfo() method in ProvisioningConfiguration.ScanResultInfo
386 if (!(o instanceof ScanResultInfo)) return false; in equals()
387 ScanResultInfo other = (ScanResultInfo) o; in equals()
414 public static ScanResultInfo fromStableParcelable(ScanResultInfoParcelable p) { in fromStableParcelable()
419 return new ScanResultInfo(p.ssid, p.bssid, ies); in fromStableParcelable()
449 public ScanResultInfo mScanResultInfo;
524 config.mScanResultInfo = ScanResultInfo.fromStableParcelable(p.scanResultInfo); in fromStableParcelable()
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DProvisioningConfigurationTest.java34 import android.net.shared.ProvisioningConfiguration.ScanResultInfo;
57 private ScanResultInfo makeScanResultInfo(final String ssid) { in makeScanResultInfo()
62 final ScanResultInfo.InformationElement ie = in makeScanResultInfo()
63 new ScanResultInfo.InformationElement(0xdd /* vendor specific IE id */, in makeScanResultInfo()
65 return new ScanResultInfo(ssid, "01:02:03:04:05:06" /* bssid string */, in makeScanResultInfo()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java119 import android.net.shared.ProvisioningConfiguration.ScanResultInfo;
785 final String displayName, final ScanResultInfo scanResultInfo,
869 final ScanResultInfo scanResultInfo, final Layer2Information layer2Info)
2164 private ScanResultInfo makeScanResultInfo(final int id, final String ssid,
2171 final ScanResultInfo.InformationElement ie =
2172 new ScanResultInfo.InformationElement(id /* IE id */, payload);
2173 return new ScanResultInfo(ssid, bssid, Collections.singletonList(ie));
2176 private ScanResultInfo makeScanResultInfo(final int id, final byte[] oui, final byte type) {
2182 private ScanResultInfo makeScanResultInfo(final String ssid, final String bssid) {
2191 final ScanResultInfo info = makeScanResultInfo(id, ssid, TEST_DEFAULT_BSSID, oui, type,
[all …]
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java65 import android.net.shared.ProvisioningConfiguration.ScanResultInfo;
66 import android.net.shared.ProvisioningConfiguration.ScanResultInfo.InformationElement;
876 final ScanResultInfo scanResultInfo = req.mScanResultInfo; in setInitialBssid()
1629 private static List<ByteBuffer> getVendorSpecificIEs(@NonNull ScanResultInfo scanResultInfo) { in getVendorSpecificIEs()
1639 private boolean checkIfOuiAndTypeMatched(@NonNull ScanResultInfo scanResultInfo, in checkIfOuiAndTypeMatched()
1664 final ScanResultInfo scanResultInfo = mConfiguration.mScanResultInfo; in detectUpstreamHotspotFromVendorIe()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java68 import android.net.shared.ProvisioningConfiguration.ScanResultInfo;
6345 ProvisioningConfiguration.ScanResultInfo scanResultInfo = null;
6347 final List<ScanResultInfo.InformationElement> ies =
6348 new ArrayList<ScanResultInfo.InformationElement>();
6350 ScanResultInfo.InformationElement scanResultInfoIe =
6351 new ScanResultInfo.InformationElement(ie.getId(), ie.getBytes());
6354 scanResultInfo = new ProvisioningConfiguration.ScanResultInfo(scanResult.SSID,