Home | History | Annotate | Download | only in connectivity

Lines Matching refs:SSID

64     public static void setConfigSsid(WifiConfiguration config, String ssid) {
66 if (!Pattern.matches(REGEX_HEX_BSSID, ssid)) {
67 config.SSID = AccessPoint.convertToQuotedString(ssid);
69 config.SSID = ssid;
152 * Return the configured network that matches the ssid/security pair, or create one.
154 public static WifiConfiguration getConfiguration(Context context, String ssid,
156 WifiConfiguration config = getFromConfiguredNetworks(context, ssid, security);
159 // No configured network found; populate a new one with the provided ssid / security.
161 setConfigSsid(config, ssid);
212 if (wc != null && wc.SSID != null && TextUtils.equals(wc.SSID, config.SSID)) {
238 private static WifiConfiguration getFromConfiguredNetworks(Context context, String ssid,
244 if (configuredNetwork == null || configuredNetwork.SSID == null) {
248 // If the SSID and the security match, that's our network.
249 String configuredSsid = WifiInfo.removeDoubleQuotes(configuredNetwork.SSID);
250 if (TextUtils.equals(configuredSsid, ssid)) {