/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 45 public final class WifiSsid implements Parcelable { class 56 private WifiSsid() { in WifiSsid() method in WifiSsid 64 public static WifiSsid createFromByteArray(@Nullable byte[] ssid) { in createFromByteArray() 65 WifiSsid wifiSsid = new WifiSsid(); in createFromByteArray() 73 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded() 74 WifiSsid a = new WifiSsid(); in createFromAsciiEncoded() 79 public static WifiSsid createFromHex(String hexStr) { in createFromHex() 80 WifiSsid a = new WifiSsid(); in createFromHex() 216 if (!(thatObject instanceof WifiSsid)) { in equals() 219 WifiSsid that = (WifiSsid) thatObject; in equals() [all …]
|
D | ScanResult.java | 51 public WifiSsid wifiSsid; 831 public ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, in ScanResult() 859 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() 906 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, in ScanResult() 1065 WifiSsid wifiSsid = null; 1067 wifiSsid = WifiSsid.CREATOR.createFromParcel(in);
|
D | WifiInfo.java | 81 private WifiSsid mWifiSsid; 392 mWifiInfo.setSSID(WifiSsid.createFromByteArray(ssid)); in setSsid() 436 public void setSSID(WifiSsid wifiSsid) { in setSSID() 470 public WifiSsid getWifiSsid() { in getWifiSsid() 999 info.mWifiSsid = WifiSsid.CREATOR.createFromParcel(in);
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiSsidTest.java | 42 WifiSsid wifiSsid = WifiSsid.createFromByteArray(TEST_SSID_BYTES); in testCreateFromByteArray() 54 WifiSsid fromBytes = WifiSsid.createFromByteArray(TEST_SSID_BYTES); in testEquals() 55 WifiSsid fromString = WifiSsid.createFromAsciiEncoded(TEST_SSID); in testEquals()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | HSOsuProvidersElement.java | 19 import android.net.wifi.WifiSsid; 50 private final WifiSsid mOsuSsid; 54 public HSOsuProvidersElement(WifiSsid osuSsid, List<OsuProviderInfo> providers) { in HSOsuProvidersElement() 84 return new HSOsuProvidersElement(WifiSsid.createFromByteArray(ssidBytes), providers); in parse() 87 public WifiSsid getOsuSsid() { in getOsuSsid()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | OsuProviderTest.java | 23 import android.net.wifi.WifiSsid; 41 private static final WifiSsid TEST_SSID = 42 WifiSsid.createFromByteArray("TEST SSID".getBytes(StandardCharsets.UTF_8)); 83 verifyParcel(new OsuProvider((WifiSsid) null, null, null, null, null, null)); in verifyParcelWithEmptyProviderInfo() 103 OsuProvider expected = new OsuProvider((WifiSsid) null, null, null, null, null, null); in verifyCopyConstructorWithNullSource()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
D | OsuProvider.java | 23 import android.net.wifi.WifiSsid; 61 private WifiSsid mOsuSsid; 91 this(WifiSsid.createFromByteArray(osuSsid.getBytes(StandardCharsets.UTF_8)), in OsuProvider() 96 public OsuProvider(WifiSsid osuSsid, Map<String, String> friendlyNames, in OsuProvider() 140 public WifiSsid getOsuSsid() { in getOsuSsid() 145 public void setOsuSsid(WifiSsid osuSsid) { in setOsuSsid() 252 WifiSsid osuSsid = in.readParcelable(null);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 24 import android.net.wifi.WifiSsid; 48 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResult() 64 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResultWithAnqpLines() 140 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testPskSha256SaeTransitionModeCheck() 159 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testPskSaeTransitionModeCheck() 178 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testPskNotInTransitionModeCheck() 197 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testSaeNotInTransitionModeCheck() 217 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testFilsSha256AkmSupportedNetwork() 237 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testFilsSha384AkmSupportedNetwork()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | StateChangeResult.java | 20 import android.net.wifi.WifiSsid; 29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, in StateChangeResult() 38 WifiSsid wifiSsid;
|
D | ScanDetail.java | 21 import android.net.wifi.WifiSsid; 43 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail() 67 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, in ScanDetail()
|
D | SupplicantStaIfaceCallbackV1_2Impl.java | 25 import android.net.wifi.WifiSsid; 161 WifiSsid wifiSsid = in onDppSuccessConfigReceived() 162 WifiSsid.createFromByteArray(NativeUtil.byteArrayFromArrayList(ssid)); in onDppSuccessConfigReceived()
|
D | SupplicantStaIfaceCallbackV1_3Impl.java | 26 import android.net.wifi.WifiSsid; 371 WifiSsid wifiSsid = in onStateChanged_1_3() 372 WifiSsid.createFromByteArray(NativeUtil.byteArrayFromArrayList(ssid)); in onStateChanged_1_3()
|
D | SupplicantStaIfaceCallbackImpl.java | 34 import android.net.wifi.WifiSsid; 166 WifiSsid wifiSsid = in onStateChanged() 167 WifiSsid.createFromByteArray(NativeUtil.byteArrayFromArrayList(ssid)); in onStateChanged()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | HSOsuProvidersElementTest.java | 21 import android.net.wifi.WifiSsid; 44 private static final WifiSsid TEST_OSU_SSID = 45 WifiSsid.createFromByteArray(TEST_OSU_SSID_BYTES);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStateTrackerTest.java | 28 import android.net.wifi.WifiSsid; 49 private static final WifiSsid sWifiSsid = WifiSsid.createFromAsciiEncoded(sSSID); 59 private Message getSupplicantStateChangeMessage(int networkId, WifiSsid wifiSsid, in getSupplicantStateChangeMessage()
|
D | WifiNetworkScoreCacheTest.java | 30 import android.net.wifi.WifiSsid; 85 WifiSsid.createFromAsciiEncoded(ssid), in buildScanResult()
|
D | ScanResults.java | 21 import android.net.wifi.WifiSsid; 135 ScanDetail detail = new ScanDetail(nd, WifiSsid.createFromAsciiEncoded(ssid), in generateNativeResults()
|
D | WifiHealthMonitorTest.java | 40 import android.net.wifi.WifiSsid; 76 static final WifiSsid TEST_SSID_1 = WifiSsid.createFromAsciiEncoded("Joe's Place"); 77 static final WifiSsid TEST_SSID_2 = WifiSsid.createFromAsciiEncoded("Poe's Place");
|
D | WifiConfigurationTestUtil.java | 29 import android.net.wifi.WifiSsid; 580 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForNetwork() 592 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForWpa2Wpa3TransitionModeNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioningTestUtil.java | 20 import android.net.wifi.WifiSsid; 47 public static final WifiSsid TEST_SSID = 48 WifiSsid.createFromByteArray("TEST SSID".getBytes(StandardCharsets.UTF_8));
|
D | PasspointProvisionerTest.java | 47 import android.net.wifi.WifiSsid; 140 private static final WifiSsid TEST_OSU_SSID = 141 WifiSsid.createFromByteArray(TEST_OSU_SSID_BYTES); 142 private static final WifiSsid TEST_OSU_SSID3 = 143 WifiSsid.createFromByteArray(TEST_OSU_SSID3_BYTES); 222 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any(), any())).thenReturn(true); in setUp() 508 mOsuProvider = new OsuProvider((WifiSsid) null, info.getFriendlyNames(), in verifySelectBestOsuProviderForProvisioning() 514 ArgumentCaptor<WifiSsid> wifiSsidArgumentCaptor = ArgumentCaptor.forClass(WifiSsid.class); in verifySelectBestOsuProviderForProvisioning() 570 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any(), any())).thenReturn(false); in verifyConnectAttemptFailure()
|
D | OsuNetworkConnectionTest.java | 45 import android.net.wifi.WifiSsid; 75 private static final WifiSsid TEST_SSID = WifiSsid.createFromAsciiEncoded("Test SSID");
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BaseWifiScannerImplTest.java | 31 import android.net.wifi.WifiSsid; 422 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 1"), in singleScanWhereSupplicantReturnsSomeOldResults() 425 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 2"), in singleScanWhereSupplicantReturnsSomeOldResults() 428 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 3"), in singleScanWhereSupplicantReturnsSomeOldResults() 431 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 4"), in singleScanWhereSupplicantReturnsSomeOldResults()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 34 import android.net.wifi.WifiSsid; 168 public boolean connect(WifiSsid ssid, String nai, String friendlyName) { in connect()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 51 import android.net.wifi.WifiSsid; 127 CONNECTED_AP_1_INFO.setSSID(WifiSsid.createFromAsciiEncoded(SSID_1)); in WifiSsid.createFromAsciiEncoded() 249 WifiSsid.createFromAsciiEncoded(SSID_1), in buildScanResult1() 262 WifiSsid.createFromAsciiEncoded(SSID_2), in buildScanResult2() 275 WifiSsid.createFromAsciiEncoded(SSID_3), in buildScanResultWithTimestamp() 339 return new OsuProvider((WifiSsid) null, friendlyNames, null, null, null, null); in buildOsuProvider() 447 info.setSSID(WifiSsid.createFromAsciiEncoded(SSID_2)); in switchToNetwork2() 674 WifiSsid.createFromAsciiEncoded(ssid), in scoresShouldBeRequestedForNewScanResultOnly() 723 WifiSsid.createFromAsciiEncoded(SSID_1), in trackPasspointApWithPasspointDisabled()
|