Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkKeyTest.java119 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/base/wifi/tests/src/android/net/wifi/
DWifiSsidTest.java55 WifiSsid fromString = WifiSsid.createFromAsciiEncoded(TEST_SSID); in testEquals()
DScanResultTest.java174 result.wifiSsid = WifiSsid.createFromAsciiEncoded(TEST_SSID); in createScanResult()
DWifiNetworkScoreCacheTest.java79 WifiSsid.createFromAsciiEncoded(ssid), in buildScanResult()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java45 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/
DBaseWifiScannerImplTest.java421 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/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java127 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()
DAccessPointTest.java131 mWifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(TEST_SSID)); in setUp()
308 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
324 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
357 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(configuration.SSID));
550 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(TEST_SSID));
1069 info.setSSID(WifiSsid.createFromAsciiEncoded(TEST_SSID)); in testSpeedLabelFallbackScoreIgnoresNullCurves()
/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java65 public static WifiSsid createFromAsciiEncoded(String asciiEncoded) { in createFromAsciiEncoded() method in WifiSsid
DWifiConfiguration.java2061 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded( in getPrintableSsid()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStateTrackerTest.java50 private static final WifiSsid sWifiSsid = WifiSsid.createFromAsciiEncoded(sSSID);
DScanResults.java119 ScanDetail detail = new ScanDetail(nd, WifiSsid.createFromAsciiEncoded(ssid), in generateNativeResults()
DWifiScoreCardTest.java52 static final WifiSsid TEST_SSID_1 = WifiSsid.createFromAsciiEncoded("Joe's Place");
53 static final WifiSsid TEST_SSID_2 = WifiSsid.createFromAsciiEncoded("Poe's Raven");
DWifiConnectivityManagerTest.java233 scanResults[0] = new ScanResult(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID), in mockWifiScanner()
655 new ScanResult(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID), in wifiDisconnected_noConnectionCandidate_openNetworkNotifierScanResultsHandled()
677 mWifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID)); in wifiConnected_openNetworkNotifierHandlesConnection()
768 new ScanResult(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID), in wifiDisconnected_noConnectionCandidate_CarrierNetworkNotifierScanResultsHandled()
797 new ScanResult(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID), in whenNoEncryptionInfoAvailable_CarrierNetworkNotifierDoesNotHandleScanResults()
820 mWifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID)); in wifiConnected_carrierNetworkNotifierHandlesConnection()
DWifiLastResortWatchdogTest.java84 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
108 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
1595 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithNullConfig()
1631 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithHasEverConnectedTrue()
1678 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in testUpdateNetworkWithHasEverConnectedFalse()
DWifiConfigurationTestUtil.java524 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForNetwork()
536 WifiSsid ssid = WifiSsid.createFromAsciiEncoded(configuration.getPrintableSsid()); in createScanDetailForWpa2Wpa3TransitionModeNetwork()
DScanTestUtil.java254 return new ScanResult(WifiSsid.createFromAsciiEncoded("AN SSID"), "00:00:00:00:00:00", 0L, in createScanResult()
DWifiMonitorTest.java465 WifiSsid wifiSsid = WifiSsid.createFromAsciiEncoded(SSID); in testBroadcastSupplicantStateChangeEvent()
DNetworkSuggestionEvaluatorTest.java699 scanDetails[index] = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssids[index]), in buildScanDetails()
DClientModeImplTest.java320 static final WifiSsid sWifiSsid = WifiSsid.createFromAsciiEncoded(sSSID);
1984 new StateChangeResult(0, WifiSsid.createFromAsciiEncoded(""), null, in testSupplicantUpdateDriverInactiveIfaceUpClientModeDoesNotTriggerSelfRecovery()
DWifiServiceImplTest.java1177 wifiInfo.setSSID(WifiSsid.createFromAsciiEncoded(TEST_SSID)); in setupForGetConnectionInfo()
DWifiMetricsTest.java1782 private static final WifiSsid sWifiSsid = WifiSsid.createFromAsciiEncoded(sSSID);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java73 private static final WifiSsid TEST_SSID = WifiSsid.createFromAsciiEncoded("Test SSID");
DPasspointManagerTest.java1189 new HSOsuProvidersElement(WifiSsid.createFromAsciiEncoded("Test SSID"), in getMatchingOsuProvidersWithMatch()
1195 new HSOsuProvidersElement(WifiSsid.createFromAsciiEncoded("Test SSID2"), in getMatchingOsuProvidersWithMatch()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java183 result.wifiSsid = WifiSsid.createFromAsciiEncoded(ssid); in createScanResult()