Home
last modified time | relevance | path

Searched refs:WifiSsid (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java41 public class WifiSsid implements Parcelable { class
49 private WifiSsid() { in WifiSsid() method in WifiSsid
52 public static WifiSsid createFromByteArray(byte ssid[]) { in createFromByteArray()
53 WifiSsid wifiSsid = new WifiSsid(); in createFromByteArray()
60 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded()
61 WifiSsid a = new WifiSsid(); in createFromAsciiEncoded()
66 public static WifiSsid createFromHex(String hexStr) { in createFromHex()
67 WifiSsid a = new WifiSsid(); in createFromHex()
231 public static final Creator<WifiSsid> CREATOR =
232 new Creator<WifiSsid>() {
[all …]
DScanResult.java41 public WifiSsid wifiSsid;
435 public ScanResult(WifiSsid wifiSsid, String BSSID, long hessid, int anqpDomainId, in ScanResult()
438 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult()
461 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult()
464 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; in ScanResult()
504 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, in ScanResult()
556 append(wifiSsid == null ? WifiSsid.NONE : wifiSsid). in toString()
655 WifiSsid wifiSsid = null;
657 wifiSsid = WifiSsid.CREATOR.createFromParcel(in);
DWifiInfo.java72 private WifiSsid mWifiSsid;
331 public void setSSID(WifiSsid wifiSsid) { in setSSID()
349 return (hex != null) ? hex : WifiSsid.NONE; in getSSID()
352 return WifiSsid.NONE; in getSSID()
356 public WifiSsid getWifiSsid() { in getWifiSsid()
579 sb.append("SSID: ").append(mWifiSsid == null ? WifiSsid.NONE : mWifiSsid). in toString()
645 info.mWifiSsid = WifiSsid.CREATOR.createFromParcel(in);
DWifiLinkLayerStats.java174 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded( in getPrintableSsid()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java9 import android.net.wifi.WifiSsid;
51 when(mWifiInfo.getSSID()).thenReturn(WifiSsid.NONE); in createFromWifi_noneSsid()
102 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(""); in createFromScanResult_emptyWifiSsid()
111 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(WifiSsid.NONE); in createFromScanResult_noneWifiSsid()
120 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_nullBssid()
128 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_emptyBssid()
137 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_invalidBssid()
146 scanResult.wifiSsid = WifiSsid.createFromAsciiEncoded(VALID_UNQUOTED_SSID); in createFromScanResult_validWifiSsid()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DStateChangeResult.java20 import android.net.wifi.WifiSsid;
29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, in StateChangeResult()
38 WifiSsid wifiSsid;
DScanDetail.java21 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()
DWificondControl.java27 import android.net.wifi.WifiSsid;
330 WifiSsid wifiSsid = WifiSsid.createFromByteArray(result.ssid); in getScanResults()
DWifiMonitor.java22 import android.net.wifi.WifiSsid;
540 public void broadcastSupplicantStateChangeEvent(String iface, int networkId, WifiSsid wifiSsid, in broadcastSupplicantStateChangeEvent()
DWifiNetworkHistory.java25 import android.net.wifi.WifiSsid;
513 WifiSsid wssid = WifiSsid.createFromAsciiEncoded(ssid); in readNetworkHistory()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiSsidTest.java36 WifiSsid wifiSsid = WifiSsid.createFromByteArray(TEST_SSID); in testCreateFromByteArray()
DWifiNetworkScoreCacheTest.java78 WifiSsid.createFromAsciiEncoded(ssid), in buildScanResult()
/frameworks/base/core/java/android/net/
DNetworkKey.java23 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/
DSupplicantStateTrackerTest.java28 import android.net.wifi.WifiSsid;
46 private static final WifiSsid sWifiSsid = WifiSsid.createFromAsciiEncoded(sSSID);
63 private Message getSupplicantStateChangeMessage(int networkId, WifiSsid wifiSsid, in getSupplicantStateChangeMessage()
DScanResults.java21 import android.net.wifi.WifiSsid;
119 ScanDetail detail = new ScanDetail(nd, WifiSsid.createFromAsciiEncoded(ssid), in generateNativeResults()
DWifiNetworkSelectorTestUtil.java33 import android.net.wifi.WifiSsid;
127 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]), in buildScanDetails()
DWifiMonitorTest.java31 import android.net.wifi.WifiSsid;
446 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded(SSID); in testBroadcastSupplicantStateChangeEvent()
DWifiLastResortWatchdogTest.java25 import android.net.wifi.WifiSsid;
68 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
92 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
1545 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithNullConfig()
1581 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithHasEverConnectedTrue()
1628 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithHasEverConnectedFalse()
DScanTestUtil.java26 import android.net.wifi.WifiSsid;
215 return new ScanResult(WifiSsid.createFromAsciiEncoded("AN SSID"), "00:00:00:00:00:00", 0L, in createScanResult()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java24 import android.net.wifi.WifiSsid;
44 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResult()
60 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResultWithAnqpLines()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java32 import android.net.wifi.WifiSsid;
90 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID)); in testCopyAccessPoint_dataShouldMatch()
251 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
267 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
285 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
316 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
DWifiTrackerTest.java53 import android.net.wifi.WifiSsid;
112 CONNECTED_AP_1_INFO.setSSID(WifiSsid.createFromAsciiEncoded(SSID_1)); in WifiSsid.createFromAsciiEncoded()
225 WifiSsid.createFromAsciiEncoded(SSID_1), in buildScanResult1()
238 WifiSsid.createFromAsciiEncoded(SSID_2), in buildScanResult2()
582 WifiSsid.createFromAsciiEncoded(ssid), in scoresShouldBeRequestedForNewScanResultOnly()
630 WifiSsid.createFromAsciiEncoded(SSID_1), in trackPasspointApWithPasspointDisabled()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java31 import android.net.wifi.WifiSsid;
409 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 1"), in singleScanWhereSupplicantReturnsSomeOldResults()
412 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 2"), in singleScanWhereSupplicantReturnsSomeOldResults()
415 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 3"), in singleScanWhereSupplicantReturnsSomeOldResults()
418 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 4"), in singleScanWhereSupplicantReturnsSomeOldResults()
DWificondScannerTest.java28 import android.net.wifi.WifiSsid;
90 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 1"), in backgroundScanMaxApExceeded()
92 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 2"), in backgroundScanMaxApExceeded()
94 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 3"), in backgroundScanMaxApExceeded()
96 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 4"), in backgroundScanMaxApExceeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java57 import android.net.wifi.WifiSsid;
178 result.wifiSsid = WifiSsid.createFromAsciiEncoded(ssid); in createScanResult()
649 when(mWifiInfo.getSSID()).thenReturn(WifiSsid.NONE); in testCurrentNetworkScoreCacheFilter_invalidWifiInfo_noneSsid()
723 createScanResult(WifiSsid.NONE, SCORED_NETWORK.networkKey.wifiKey.bssid), in testScanResultsScoreCacheFilter_invalidScanResults()

12