/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 41 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 …]
|
D | ScanResult.java | 41 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);
|
D | WifiInfo.java | 72 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);
|
D | WifiLinkLayerStats.java | 174 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded( in getPrintableSsid()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkKeyTest.java | 9 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/ |
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 | WificondControl.java | 27 import android.net.wifi.WifiSsid; 330 WifiSsid wifiSsid = WifiSsid.createFromByteArray(result.ssid); in getScanResults()
|
D | WifiMonitor.java | 22 import android.net.wifi.WifiSsid; 540 public void broadcastSupplicantStateChangeEvent(String iface, int networkId, WifiSsid wifiSsid, in broadcastSupplicantStateChangeEvent()
|
D | WifiNetworkHistory.java | 25 import android.net.wifi.WifiSsid; 513 WifiSsid wssid = WifiSsid.createFromAsciiEncoded(ssid); in readNetworkHistory()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiSsidTest.java | 36 WifiSsid wifiSsid = WifiSsid.createFromByteArray(TEST_SSID); in testCreateFromByteArray()
|
D | WifiNetworkScoreCacheTest.java | 78 WifiSsid.createFromAsciiEncoded(ssid), in buildScanResult()
|
/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; 46 private static final WifiSsid sWifiSsid = WifiSsid.createFromAsciiEncoded(sSSID); 63 private Message getSupplicantStateChangeMessage(int networkId, WifiSsid wifiSsid, in getSupplicantStateChangeMessage()
|
D | ScanResults.java | 21 import android.net.wifi.WifiSsid; 119 ScanDetail detail = new ScanDetail(nd, WifiSsid.createFromAsciiEncoded(ssid), in generateNativeResults()
|
D | WifiNetworkSelectorTestUtil.java | 33 import android.net.wifi.WifiSsid; 127 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]), in buildScanDetails()
|
D | WifiMonitorTest.java | 31 import android.net.wifi.WifiSsid; 446 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded(SSID); in testBroadcastSupplicantStateChangeEvent()
|
D | WifiLastResortWatchdogTest.java | 25 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()
|
D | ScanTestUtil.java | 26 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/ |
D | ScanResultUtilTest.java | 24 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/ |
D | AccessPointTest.java | 32 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));
|
D | WifiTrackerTest.java | 53 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/ |
D | BaseWifiScannerImplTest.java | 31 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()
|
D | WificondScannerTest.java | 28 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/ |
D | NetworkScoreServiceTest.java | 57 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()
|