Home
last modified time | relevance | path

Searched refs:getUtf8Text (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiSsidTest.java61 assertThat(wifiSsidUtf8.getUtf8Text()).isEqualTo(TEST_SSID_UTF_8); in testFromByteArray()
67 assertThat(wifiSsidNonUtf8.getUtf8Text()).isNull(); in testFromByteArray()
73 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromByteArray()
79 assertThat(wifiSsidNull.getUtf8Text().toString()).isEmpty(); in testFromByteArray()
91 assertThat(wifiSsidUtf8.getUtf8Text()).isEqualTo(TEST_SSID_UTF_8); in testFromUtf8String()
97 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromUtf8String()
103 assertThat(wifiSsidNull.getUtf8Text().toString()).isEmpty(); in testFromUtf8String()
115 assertThat(wifiSsidUtf8.getUtf8Text()).isEqualTo(TEST_SSID_UTF_8); in testFromString()
121 assertThat(wifiSsidUtf8Hex.getUtf8Text()).isEqualTo(TEST_SSID_UTF_8); in testFromString()
127 assertThat(wifiSsidNonUtf8.getUtf8Text()).isNull(); in testFromString()
[all …]
DWifiManagerTest.java241 if (!Objects.equals(wifiConfig.SSID, softApConfig.getWifiSsid().getUtf8Text())) { in compareWifiAndSoftApConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWrongPasswordNotifier.java85 CharSequence utf8Ssid = WifiSsid.fromString(wifiConfiguration.SSID).getUtf8Text(); in showNotification()
DWifiPulledAtomLogger.java206 return WifiSsid.fromString(config.SSID).getUtf8Text() != null; in configHasUtf8Ssid()
DSsidTranslator.java255 if (ssid.getUtf8Text() == null) { in getTranslatedSsidAndRecordBssidCharset()
/packages/modules/Wifi/framework/java/android/net/wifi/
DScanResult.java81 CharSequence utf8Text = wifiSsid.getUtf8Text(); in setWifiSsid()
1632 final CharSequence utf8Ssid = (wifiSsid != null) ? wifiSsid.getUtf8Text() : null; in ScanResult()
1672 final CharSequence utf8Ssid = (wifiSsid != null) ? wifiSsid.getUtf8Text() : null; in ScanResult()
1709 final CharSequence utf8Ssid = (wifiSsid != null) ? wifiSsid.getUtf8Text() : null; in ScanResult()
DWifiSsid.java95 public CharSequence getUtf8Text() { in getUtf8Text() method in WifiSsid
DWifiNetworkSuggestion.java1578 if (wifiSsid.getUtf8Text() == null) { in getSsid()
1581 return wifiSsid.getUtf8Text().toString(); in getSsid()
DSoftApConfiguration.java773 CharSequence utf8Text = mWifiSsid.getUtf8Text(); in getSsid()
1241 CharSequence utf8Text = mWifiSsid != null ? mWifiSsid.getUtf8Text() : null; in toWifiConfiguration()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWrongPasswordNotifierTest.java116 assertEquals(TEST_SSID.getUtf8Text(), in onWrongPasswordError()
DSoftApBackupRestoreTest.java99 assertEquals(backup.SSID, restore.getWifiSsid().getUtf8Text()); in assertWifiConfigurationEqualSoftApConfiguration()
418 CharSequence utf8Ssid = wifiSsid.getUtf8Text(); in retrieveSpecificVersionBackupDataFromSoftApConfiguration()
DWifiApConfigStoreTest.java242 String[] splitSsid = config.getWifiSsid().getUtf8Text().toString().split("_"); in verifyDefaultApConfig()
290 String[] splitSsid = config.getWifiSsid().getUtf8Text().toString().split("_"); in verifyDefaultLocalOnlyApConfig()
DWifiShellCommandTest.java548 assertEquals("ap1", softApConfigurationCaptor.getValue().getWifiSsid().getUtf8Text()); in testStartSoftAp()
DWifiServiceImplTest.java3977 assertThat(callback.mSoftApConfig.getWifiSsid().getUtf8Text()).isEqualTo("customSsid"); in testCustomLohs_Wpa2()
4003 assertThat(callback.mSoftApConfig.getWifiSsid().getUtf8Text()).isEqualTo("customSsid"); in testCustomLohs_Open()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java1269 if (wifiSsid != null && wifiSsid.getUtf8Text() != null) { in addMatchedRcoi()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java2256 final CharSequence utf8Ssid = wifiSsid.getUtf8Text(); in parseFromXml()