Home
last modified time | relevance | path

Searched refs:ssid (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java87 final TextView ssid = mView.findViewById(R.id.ssid); in ssidExceeds32Bytes_shouldShowSsidTooLongWarning() local
88 ssid.setText("☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎☎"); in ssidExceeds32Bytes_shouldShowSsidTooLongWarning()
100 final TextView ssid = mView.findViewById(R.id.ssid); in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning() local
101 ssid.setText("123456789012345678901234567890"); in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning()
107 ssid.setText("123"); in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning()
116 final TextView ssid = mView.findViewById(R.id.ssid); in isSubmittable_noSSID_shouldReturnFalse() local
117 ssid.setText(""); in isSubmittable_noSSID_shouldReturnFalse()
DWifiSummaryUpdaterTest.java122 mWifiTracker.ssid = "Test Ssid"; in getSummary_wifiConnected_shouldReturnSsid()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java64 public static void setConfigSsid(WifiConfiguration config, String ssid) { in setConfigSsid() argument
66 if (!Pattern.matches(REGEX_HEX_BSSID, ssid)) { in setConfigSsid()
67 config.SSID = AccessPoint.convertToQuotedString(ssid); in setConfigSsid()
69 config.SSID = ssid; in setConfigSsid()
154 public static WifiConfiguration getConfiguration(Context context, String ssid, in getConfiguration() argument
156 WifiConfiguration config = getFromConfiguredNetworks(context, ssid, security); in getConfiguration()
161 setConfigSsid(config, ssid); in getConfiguration()
238 private static WifiConfiguration getFromConfiguredNetworks(Context context, String ssid, in getFromConfiguredNetworks() argument
250 if (TextUtils.equals(configuredSsid, ssid)) { in getFromConfiguredNetworks()
DConnectivityListener.java282 String ssid = null; in updateConnectivityStatus() local
284 ssid = wifiInfo.getSSID(); in updateConnectivityStatus()
285 if (ssid != null) { in updateConnectivityStatus()
286 ssid = WifiInfo.removeDoubleQuotes(ssid); in updateConnectivityStatus()
289 if (!TextUtils.equals(mWifiSsid, ssid)) { in updateConnectivityStatus()
291 mWifiSsid = ssid; in updateConnectivityStatus()
DAddWifiNetworkActivity.java70 String ssid = formPage.getDataSummary(); in onPageComplete() local
71 WifiConfigHelper.setConfigSsid(mConfiguration, ssid); in onPageComplete()
DWifiConnectionActivity.java53 final String ssid = configuration.getPrintableSsid(); in createIntent() local
55 .putExtra(EXTRA_WIFI_SSID, ssid) in createIntent()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java29 public static boolean isSSIDTooLong(String ssid) { in isSSIDTooLong() argument
30 if (TextUtils.isEmpty(ssid)) { in isSSIDTooLong()
33 return ssid.length() > SSID_ASCII_MAX_LENGTH; in isSSIDTooLong()
36 public static boolean isSSIDTooShort(String ssid) { in isSSIDTooShort() argument
37 if (TextUtils.isEmpty(ssid)) { in isSSIDTooShort()
40 return ssid.length() < SSID_ASCII_MIN_LENGTH; in isSSIDTooShort()
DWifiSummaryUpdater.java83 return removeDoubleQuotes(mWifiTracker.ssid); in getSummary()
DWifiConfigController.java217 mSsidView = (TextView) mView.findViewById(R.id.ssid); in WifiConfigController()
478 final String ssid = mSsidView.getText().toString(); in showWarningMessagesIfAppropriate() local
479 if (WifiUtils.isSSIDTooLong(ssid)) { in showWarningMessagesIfAppropriate()
DWifiApDialog.java133 mSsid = (TextView) mView.findViewById(R.id.ssid); in onCreate()
DWifiStatusTest.java140 mSSID = (TextView) findViewById(R.id.ssid); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java66 public final String ssid; field in WifiInfo
90 bundle.putString(EXTRA_PROVISIONING_WIFI_SSID, ssid); in toPersistableBundle()
119 ssid = builder.mSsid; in WifiInfo()
137 if (TextUtils.isEmpty(ssid)) { in validateFields()
152 public Builder setSsid(String ssid) { in setSsid() argument
153 mSsid = ssid; in setSsid()
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java130 byte[] ssid = new byte[fieldSize]; in parseCredential()
131 payload.get(ssid); in parseCredential()
132 result.SSID = "\"" + new String(ssid) + "\""; in parseCredential()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java262 String ssid = formPage.getDataSummary(); in onPageComplete() local
264 && !TextUtils.equals(mConfiguration.getPrintableSsid(), ssid)) { in onPageComplete()
267 WifiConfigHelper.setConfigSsid(mConfiguration, ssid); in onPageComplete()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java633 String ssid = "ssid"; in forgetNetwork_ephemeral() local
635 when(mockWifiInfo.getSSID()).thenReturn(ssid); in forgetNetwork_ephemeral()
640 verify(mockWifiManager).disableEphemeralNetwork(ssid); in forgetNetwork_ephemeral()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java192 && mProvisioningParams.wifiInfo.ssid.equals( in isConnectedToSpecifiedWifi()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java46 wifiConf.SSID = wifiInfo.ssid; in generateWifiConfiguration()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/model/
DWifiInfoRoboTest.java61 assertEquals(TEST_SSID, wifiInfo.ssid); in testBuilderWriteAndReadBack()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java55 assertEquals(TEST_SSID, wifiInfo.ssid); in testBuilderWriteAndReadBack()