Lines Matching refs:SSID
69 /** @return a ssid that can be shown to the user. */
71 if (config.SSID == null) return "";
72 final int length = config.SSID.length();
73 if (length > 2 && (config.SSID.charAt(0) == '"') && config.SSID.charAt(length - 1) == '"') {
74 return config.SSID.substring(1, length - 1);
76 return config.SSID;
79 /** Removes " from the ssid in a wifi configuration (to match against a ScanResult). */
81 if (config.SSID == null) return null;
82 final int length = config.SSID.length();
83 if ((length > 1) && (config.SSID.charAt(0) == '"')
84 && (config.SSID.charAt(length - 1) == '"')) {
85 return config.SSID.substring(1, length - 1);
87 return config.SSID;