/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 | 45 public WifiSsid wifiSsid; 517 public ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, in ScanResult() 520 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult() 547 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() 550 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult() 598 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, in ScanResult() 652 append(wifiSsid == null ? WifiSsid.NONE : wifiSsid). in toString() 767 WifiSsid wifiSsid = null; 769 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() 677 sb.append("SSID: ").append(mWifiSsid == null ? WifiSsid.NONE : mWifiSsid) in toString() 757 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/base/core/tests/coretests/src/android/net/ |
D | NetworkKeyTest.java | 25 import android.net.wifi.WifiSsid; 68 when(mWifiInfo.getSSID()).thenReturn(WifiSsid.NONE); in createFromWifi_noneSsid() 119 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(""); in createFromScanResult_emptyWifiSsid() 128 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(WifiSsid.NONE); in createFromScanResult_noneWifiSsid() 137 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_nullBssid() 145 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_emptyBssid() 154 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_invalidBssid() 163 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_validWifiSsid()
|
/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/base/wifi/java/android/net/wifi/hotspot2/ |
D | OsuProvider.java | 23 import android.net.wifi.WifiSsid; 60 private WifiSsid mOsuSsid; 93 public OsuProvider(WifiSsid osuSsid, Map<String, String> friendlyNames, in OsuProvider() 141 public WifiSsid getOsuSsid() { in getOsuSsid() 146 public void setOsuSsid(WifiSsid osuSsid) { in setOsuSsid() 264 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);
|
/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/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; 142 private static final WifiSsid TEST_OSU_SSID = 143 WifiSsid.createFromByteArray(TEST_OSU_SSID_BYTES); 144 private static final WifiSsid TEST_OSU_SSID3 = 145 WifiSsid.createFromByteArray(TEST_OSU_SSID3_BYTES); 225 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any(), any())).thenReturn(true); in setUp() 518 ArgumentCaptor<WifiSsid> wifiSsidArgumentCaptor = ArgumentCaptor.forClass(WifiSsid.class); in verifySelectBestOsuProviderForProvisioning() 574 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/base/core/java/android/net/ |
D | NetworkKey.java | 23 import android.net.wifi.WifiSsid; 74 if (!TextUtils.isEmpty(ssid) && !ssid.equals(WifiSsid.NONE) in createFromScanResult() 102 if (!TextUtils.isEmpty(ssid) && !ssid.equals(WifiSsid.NONE) in createFromWifiInfo()
|
/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 | 29 import android.net.wifi.WifiSsid; 524 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForNetwork() 536 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForWpa2Wpa3TransitionModeNetwork()
|
/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()
|
/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; 185 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()
|