/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 43 public class WifiSsid implements Parcelable { class 53 private WifiSsid() { in WifiSsid() method in WifiSsid 56 public static WifiSsid createFromByteArray(byte ssid[]) { in createFromByteArray() 57 WifiSsid wifiSsid = new WifiSsid(); in createFromByteArray() 65 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded() 66 WifiSsid a = new WifiSsid(); in createFromAsciiEncoded() 71 public static WifiSsid createFromHex(String hexStr) { in createFromHex() 72 WifiSsid a = new WifiSsid(); in createFromHex() 204 if (!(thatObject instanceof WifiSsid)) { in equals() 207 WifiSsid that = (WifiSsid) thatObject; in equals() [all …]
|
D | ScanResult.java | 48 public WifiSsid wifiSsid; 562 public ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, in ScanResult() 565 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult() 592 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() 595 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult() 643 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, in ScanResult() 697 append(wifiSsid == null ? WifiSsid.NONE : wifiSsid). in toString() 811 WifiSsid wifiSsid = null; 813 wifiSsid = WifiSsid.CREATOR.createFromParcel(in);
|
D | WifiInfo.java | 79 private WifiSsid mWifiSsid; 293 public void setSSID(WifiSsid wifiSsid) { in setSSID() 320 return (hex != null) ? hex : WifiSsid.NONE; in getSSID() 323 return WifiSsid.NONE; in getSSID() 328 public WifiSsid getWifiSsid() { in getWifiSsid() 689 sb.append("SSID: ").append(mWifiSsid == null ? WifiSsid.NONE : mWifiSsid) in toString() 769 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/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; 42 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail() 64 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, in ScanDetail()
|
D | WifiMonitor.java | 22 import android.net.wifi.WifiSsid; 521 public void broadcastSupplicantStateChangeEvent(String iface, int networkId, WifiSsid wifiSsid, in broadcastSupplicantStateChangeEvent()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 24 import android.net.wifi.WifiSsid; 45 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResult() 61 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResultWithAnqpLines() 127 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testPskSha256SaeTransitionModeCheck() 146 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testPskSaeTransitionModeCheck() 165 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testPskNotInTransitionModeCheck() 184 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in testSaeNotInTransitionModeCheck()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
D | OsuProvider.java | 24 import android.net.wifi.WifiSsid; 61 private WifiSsid mOsuSsid; 94 public OsuProvider(WifiSsid osuSsid, Map<String, String> friendlyNames, in OsuProvider() 142 public WifiSsid getOsuSsid() { in getOsuSsid() 147 public void setOsuSsid(WifiSsid osuSsid) { in setOsuSsid() 266 WifiSsid osuSsid = in.readParcelable(null);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | HSOsuProvidersElementTest.java | 21 import android.net.wifi.WifiSsid; 42 private static final WifiSsid TEST_OSU_SSID = 43 WifiSsid.createFromByteArray(TEST_OSU_SSID_BYTES);
|
D | ANQPParserTest.java | 21 import android.net.wifi.WifiSsid; 498 WifiSsid.createFromByteArray(osuSsidBytes), in parseHSOUSProvidersElement()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | OsuProviderTest.java | 24 import android.net.wifi.WifiSsid; 42 private static final WifiSsid TEST_SSID = 43 WifiSsid.createFromByteArray("TEST SSID".getBytes(StandardCharsets.UTF_8));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStateTrackerTest.java | 28 import android.net.wifi.WifiSsid; 50 private static final WifiSsid sWifiSsid = WifiSsid.createFromAsciiEncoded(sSSID); 67 private Message getSupplicantStateChangeMessage(int networkId, WifiSsid wifiSsid, in getSupplicantStateChangeMessage()
|
D | WifiScoreCardTest.java | 26 import android.net.wifi.WifiSsid; 52 static final WifiSsid TEST_SSID_1 = WifiSsid.createFromAsciiEncoded("Joe's Place"); 53 static final WifiSsid TEST_SSID_2 = WifiSsid.createFromAsciiEncoded("Poe's Raven");
|
D | ScanResults.java | 21 import android.net.wifi.WifiSsid; 119 ScanDetail detail = new ScanDetail(nd, WifiSsid.createFromAsciiEncoded(ssid), in generateNativeResults()
|
D | WifiConfigurationTestUtil.java | 30 import android.net.wifi.WifiSsid; 525 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForNetwork() 537 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForWpa2Wpa3TransitionModeNetwork()
|
D | WifiNetworkSelectorTestUtil.java | 33 import android.net.wifi.WifiSsid; 141 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromByteArray(ssid), in buildScanDetails()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioningTestUtil.java | 21 import android.net.wifi.WifiSsid; 48 public static final WifiSsid TEST_SSID = 49 WifiSsid.createFromByteArray("TEST SSID".getBytes(StandardCharsets.UTF_8));
|
D | PasspointProvisionerTest.java | 47 import android.net.wifi.WifiSsid; 141 private static final WifiSsid TEST_OSU_SSID = 142 WifiSsid.createFromByteArray(TEST_OSU_SSID_BYTES); 143 private static final WifiSsid TEST_OSU_SSID3 = 144 WifiSsid.createFromByteArray(TEST_OSU_SSID3_BYTES); 224 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any(), any())).thenReturn(true); in setUp() 517 ArgumentCaptor<WifiSsid> wifiSsidArgumentCaptor = ArgumentCaptor.forClass(WifiSsid.class); in verifySelectBestOsuProviderForProvisioning() 573 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any(), any())).thenReturn(false); in verifyConnectAttemptFailure()
|
D | OsuNetworkConnectionTest.java | 44 import android.net.wifi.WifiSsid; 73 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; 421 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 1"), in singleScanWhereSupplicantReturnsSomeOldResults() 424 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 2"), in singleScanWhereSupplicantReturnsSomeOldResults() 427 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 3"), in singleScanWhereSupplicantReturnsSomeOldResults() 430 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 4"), in singleScanWhereSupplicantReturnsSomeOldResults()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 33 import android.net.wifi.WifiSsid; 167 public boolean connect(WifiSsid ssid, String nai, String friendlyName) { in connect()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 31 import android.net.wifi.WifiSsid; 192 if (ssid != null && !WifiSsid.NONE.equals(ssid)) { in getValidSsid()
|
/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() 447 info.setSSID(WifiSsid.createFromAsciiEncoded(SSID_2)); in switchToNetwork2() 675 WifiSsid.createFromAsciiEncoded(ssid), in scoresShouldBeRequestedForNewScanResultOnly() 724 WifiSsid.createFromAsciiEncoded(SSID_1), in trackPasspointApWithPasspointDisabled()
|