/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 87 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()
|
D | WifiSummaryUpdaterTest.java | 122 mWifiTracker.ssid = "Test Ssid"; in getSummary_wifiConnected_shouldReturnSsid()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 64 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()
|
D | ConnectivityListener.java | 282 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()
|
D | AddWifiNetworkActivity.java | 70 String ssid = formPage.getDataSummary(); in onPageComplete() local 71 WifiConfigHelper.setConfigSsid(mConfiguration, ssid); in onPageComplete()
|
D | WifiConnectionActivity.java | 53 final String ssid = configuration.getPrintableSsid(); in createIntent() local 55 .putExtra(EXTRA_WIFI_SSID, ssid) in createIntent()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 29 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()
|
D | WifiSummaryUpdater.java | 83 return removeDoubleQuotes(mWifiTracker.ssid); in getSummary()
|
D | WifiConfigController.java | 217 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()
|
D | WifiApDialog.java | 133 mSsid = (TextView) mView.findViewById(R.id.ssid); in onCreate()
|
D | WifiStatusTest.java | 140 mSSID = (TextView) findViewById(R.id.ssid); in onCreate()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 66 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/ |
D | NfcWifiProtectedSetup.java | 130 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/ |
D | WifiSetupActivity.java | 262 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/ |
D | WifiDetailPreferenceControllerTest.java | 633 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/ |
D | AddWifiNetworkTask.java | 192 && mProvisioningParams.wifiInfo.ssid.equals( in isConnectedToSpecifiedWifi()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 46 wifiConf.SSID = wifiInfo.ssid; in generateWifiConfiguration()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/model/ |
D | WifiInfoRoboTest.java | 61 assertEquals(TEST_SSID, wifiInfo.ssid); in testBuilderWriteAndReadBack()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | WifiInfoTest.java | 55 assertEquals(TEST_SSID, wifiInfo.ssid); in testBuilderWriteAndReadBack()
|