/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiLastResortWatchdogTest.java | 68 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); local 69 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), 92 String ssid = ssids[index].replaceAll("^\"+", "").replaceAll("\"+$", ""); local 93 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), 362 * Case 7: Test failure counting, incrementing a specific BSSID but with the wrong SSID given 364 * the wrong ssid. 452 * Test has 4 buffered networks, two of which share the same SSID (different mBssids) 453 * Each failure type is incremented for the shared SSID, but with BSSID "any" 500 * Case 10: Test Failure Counting, using the "Any" BSSID for nonexistent SSID 501 * Test has 4 buffered networks, two of which share the same SSID (different mBssids 1545 String ssid = mSsids[0].replaceAll("^\\"+", "").replaceAll("\\"+$", ""); local 1581 String ssid = mSsids[0].replaceAll("^\\"+", "").replaceAll("\\"+$", ""); local 1628 String ssid = mSsids[0].replaceAll("^\\"+", "").replaceAll("\\"+$", ""); local [all...] |
/system/connectivity/apmanager/ |
config.cc | 53 const char Config::kHostapdConfigKeySsid[] = "ssid"; 128 base::StringPrintf("SSID must contain between %d and %d characters", 203 // SSID. 204 string ssid = GetSsid(); local 205 if (ssid.empty()) { 208 "SSID not specified", 213 config_str, "%s=%s\n", kHostapdConfigKeySsid, ssid.c_str()); 286 void Config::SetSsid(const string& ssid) { 287 adaptor_->SetSsid(ssid);
|
/system/connectivity/shill/wifi/ |
wifi_provider.cc | 66 const char WiFiProvider::kManagerErrorSSIDRequired[] = "must specify SSID"; 67 const char WiFiProvider::kManagerErrorSSIDTooLong[] = "SSID is too long"; 68 const char WiFiProvider::kManagerErrorSSIDTooShort[] = "SSID is too short"; 179 vector<uint8_t> ssid; local 185 args, &ssid, &mode, &security, &hidden_ssid, error)) { 189 WiFiServiceRefPtr service(FindService(ssid, mode, security)); 199 vector<uint8_t> ssid; local 205 args, &ssid, &mode, &security, &hidden_ssid, error)) { 214 ssid, 222 vector<uint8_t> ssid; local 568 vector<uint8_t> ssid; local [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractRestrictBackgroundNetworkTestCase.java | 501 final String ssid = mWfm.getConnectionInfo().getSSID(); local 502 return setWifiMeteredStatus(ssid, metered); 505 private String setWifiMeteredStatus(String ssid, boolean metered) throws Exception { 506 assertNotNull("null SSID", ssid); 507 final String netId = ssid.trim().replaceAll("\"", ""); // remove quotes, if any. 508 assertFalse("empty SSID", ssid.isEmpty()); [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 585 result.put("SSID", scanResult.SSID); 645 String ssid = data.getSSID(); local 646 if (ssid.charAt(0) == '"' 647 && ssid.charAt(ssid.length() - 1) == '"') { 648 result.put("SSID", ssid.substring(1, ssid.length() - 1)); 650 result.put("SSID", ssid) [all...] |
/external/wpa_supplicant_8/src/ap/ |
hostapd.c | 74 struct hostapd_ssid *ssid; local 80 ssid = &hapd->conf->ssid; 81 if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && 82 ssid->wpa_passphrase_set && ssid->wpa_passphrase) { 84 * Force PSK to be derived again since SSID or passphrase may 87 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk) 245 struct hostapd_ssid *ssid = &hapd->conf->ssid; local 887 u8 ssid[SSID_MAX_LEN + 1]; local [all...] |
ieee802_11.c | 156 privacy = hapd->conf->ssid.wep.keys_set; 343 if (hapd->conf->ssid.wpa_passphrase == NULL) { 350 (u8 *) hapd->conf->ssid.wpa_passphrase, 351 os_strlen(hapd->conf->ssid.wpa_passphrase), 2673 struct hostapd_ssid *ssid = &hapd->conf->ssid; local [all...] |
wpa_auth.h | 161 u8 ssid[SSID_MAX_LEN]; member in struct:wpa_auth_config
|
wpa_auth_ft.c | 374 const u8 *ssid = sm->wpa_auth->conf.ssid; local 383 wpa_derive_pmk_r0(sm->xxkey, sm->xxkey_len, ssid, ssid_len, mdid, [all...] |
wps_hostapd.c | 101 struct hostapd_ssid *ssid = &hapd->conf->ssid; local 134 p->next = ssid->wpa_psk; 135 ssid->wpa_psk = p; 137 if (ssid->wpa_psk_file) { 141 f = fopen(ssid->wpa_psk_file, "a"); 144 "'%s'", ssid->wpa_psk_file); 328 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_module_tests.c | 1069 char *ssid; member in struct:passphrase_test [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_hostap.h | 195 u8 ssid[SSID_MAX_LEN]; member in struct:prism2_hostapd_param::__anon27050::__anon27058
|
driver_nl80211.h | 115 u8 ssid[SSID_MAX_LEN]; member in struct:wpa_driver_nl80211_data
|
driver_nl80211_event.c | 275 const u8 *ssid; local 340 ssid = get_ie(event.assoc_info.req_ies, 343 if (ssid && ssid[1] > 0 && ssid[1] <= 32) { 344 drv->ssid_len = ssid[1]; 345 os_memcpy(drv->ssid, ssid + 2, ssid[1]); 1045 s->ssid = nla_data(nl) [all...] |
driver_wext.c | 121 * wpa_driver_wext_get_ssid - Get SSID, SIOCGIWESSID 123 * @ssid: Buffer for the SSID; must be at least 32 bytes long 124 * Returns: SSID length on success, -1 on failure 126 int wpa_driver_wext_get_ssid(void *priv, u8 *ssid) 134 iwr.u.essid.pointer = (caddr_t) ssid; 145 /* Some drivers include nul termination in the SSID, so let's 149 if (ret > 0 && ssid[ret - 1] == '\0' && 159 * wpa_driver_wext_set_ssid - Set SSID, SIOCSIWESSID 161 * @ssid: SSI 1097 const u8 *ssid = params->ssids[0].ssid; local 1202 u8 ssid[SSID_MAX_LEN]; member in struct:wext_scan_data 1955 u8 ssid[SSID_MAX_LEN]; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
config_ssid.h | 52 * the network list, struct wpa_config::ssid. Each network block in the 60 * this list is stored in the ssid field of struct wpa_config. 103 * ssid - Service set identifier (network name) 105 * This is the SSID for the network. For wireless interfaces, this is 107 * ssid_len=0), any SSID can be used. For wired interfaces, this must 108 * be set to %NULL. Note: SSID may contain any characters, even nul 111 * and the ssid field is not guaranteed to be nul terminated. 113 u8 *ssid; member in struct:wpa_ssid 116 * ssid_len - Length of the SSID 166 * If this is set, psk will be generated using the SSID and passphras [all...] |
eapol_test.c | 458 struct wpa_ssid *ssid = wpa_s->current_ssid; local 464 if (ssid == NULL) 475 buflen = 100 + os_strlen(txt) + ssid->ssid_len; 480 WPA_CTRL_REQ "%s-%d:%s needed for SSID ", 481 field_name, ssid->id, txt); 486 if (ssid->ssid && buflen > len + ssid->ssid_len) { 487 os_memcpy(buf + len, ssid->ssid, ssid->ssid_len) [all...] |
scan.c | 30 struct wpa_ssid *ssid; local 33 ssid = wpa_supplicant_get_ssid(wpa_s); 34 if (ssid == NULL) 38 wpa_s->current_ssid = ssid; 54 struct wpa_ssid *ssid; local 57 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) 97 struct wpa_ssid *ssid = wpa_s->conf->ssid; local 304 struct wpa_ssid *ssid; local 511 struct wpa_ssid *ssid; local 577 struct wpa_ssid *ssid; local 652 struct wpa_ssid *ssid; local 1197 struct wpa_ssid *ssid = NULL; local 2339 struct wpa_ssid *ssid; local [all...] |
wps_supplicant.c | 118 struct wpa_ssid *ssid = NULL; local 139 bss = wpa_supplicant_pick_network(wpa_s, &ssid); 183 struct wpa_ssid *ssid, 203 if (ssid->ssid == NULL) 205 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len); 226 if (ie == NULL && (ssid->proto & WPA_PROTO_WPA) && 227 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) 266 struct wpa_ssid *ssid, *next; local 363 struct wpa_ssid *ssid = wpa_s->current_ssid; local 652 struct wpa_ssid *ssid; local 920 struct wpa_ssid *ssid, *remove_ssid = NULL, *prev_current; local 987 struct wpa_ssid *ssid; local 1058 struct wpa_ssid *ssid; local 1130 struct wpa_ssid *ssid; local 1178 struct wpa_ssid *ssid; local 1324 struct wpa_ssid *ssid; local 1857 struct wpa_ssid *ssid; local 2005 struct wpa_ssid *ssid; local 2232 struct wpa_ssid *ssid; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new.c | 448 * (EAP password, etc.) is required to complete the association to this SSID 457 struct wpa_ssid *ssid, 485 wpa_s->dbus_new_path, ssid->id); 503 * @ssid: configured network which Enabled property has changed 509 struct wpa_ssid *ssid) 518 wpa_s->dbus_new_path, ssid->id); 771 !wpa_dbus_dict_append_byte_array(&dict_iter, "SSID", 772 (const char *) cred->ssid, 2485 struct wpa_ssid *ssid; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
peers.cpp | 589 QString ssid, bssid, flags, wps_name, pri_dev_type; 605 else if ((*it).startsWith("ssid=")) 606 ssid = (*it).mid(pos); 615 name = ssid + "\n" + bssid; 640 if (!ssid.isEmpty()) 641 item->setData(ssid, peer_role_ssid); 674 void Peers::add_persistent(int id, const char *ssid, const char *bssid) 687 QString name = ssid; 701 item->setData(ssid, peer_role_ssid); 715 char buf[2048], *start, *end, *id, *ssid, *bssid, *flags local 754 add_persistent(atoi(id), ssid, bssid); local [all...] |
wpagui.cpp | 555 } else if (strcmp(start, "ssid") == 0) { 642 char buf[4096], *start, *end, *id, *ssid, *bssid, *flags; local 682 ssid = strchr(id, '\t'); 683 if (ssid == NULL) 685 *ssid++ = '\0'; 686 bssid = strchr(ssid, '\t'); 704 network.append(ssid); [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 532 * Associate the device to given SSID 538 config.SSID = knownSSID; 549 // The SSID in the configuration is a pure string, need to convert it to a quoted string. 550 String ssid = config.SSID; local 551 config.SSID = convertToQuotedString(ssid); 571 if (sr.SSID.equals(ssid)) { 572 Log.v(LOG_TAG, "Found " + ssid + " in the scan result list.") [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
AccessPoint.java | 80 * for that SSID. 112 private String ssid; field in class:AccessPoint 137 ssid = savedState.getString(KEY_SSID); 194 // Sort by ssid. 195 return ssid.compareToIgnoreCase(other.ssid); 210 result += 29 * ssid.hashCode(); 217 .append(ssid); 237 return ssid.equals(result.SSID) && security == getSecurity(result) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiNetworkHistory.java | 62 private static final String SSID_KEY = "SSID"; 145 //loge("onWriteCalled write SSID: " + config.SSID); 179 if (config.SSID == null) { 181 logv("writeKnownNetworkHistory trying to write config with null SSID"); 190 if (config.SSID != null) { 191 out.writeUTF(SSID_KEY + SEPARATOR + config.SSID + NL); 306 for (String ssid : deletedEphemeralSSIDs) { 308 out.writeUTF(ssid); 335 String ssid = null local [all...] |