/external/selinux/checkpolicy/ |
checkpolicy.c | 382 sepol_security_id_t ssid, tsid, *sids, oldsid, newsid, tasksid; local 694 ssid = atoi(ans); 730 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); 766 ssid = atoi(ans); 767 ret = sepol_sid_to_context(ssid, 789 ret = sepol_context_to_sid(ans, scontext_len, &ssid); 792 printf("\nsid %d\n", ssid); 811 ssid = atoi(ans); 841 sepol_transition_sid(ssid, tsid, tclass, 842 &ssid); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
ScanResult.java | 33 public String SSID; 36 * Ascii encoded SSID. This will replace SSID when we deprecate it. @hide 333 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 351 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 366 public ScanResult(String Ssid, String BSSID, String caps, int level, int frequency, 369 this.SSID = Ssid; 388 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, String caps, int level, 391 this(Ssid, BSSID, caps,level, frequency, tsf, distCm, distSdCm, channelWidth, centerFreq0 [all...] |
WifiSsid.java | 32 * Stores SSID octets and handles conversion. 47 public static final String NONE = "<unknown ssid>"; 226 WifiSsid ssid = new WifiSsid(); 230 ssid.octets.write(b, 0, length); 231 return ssid;
|
WifiConfiguration.java | 44 public static final String ssidVarName = "ssid"; 227 * The network's SSID. Can either be an ASCII string, 233 public String SSID; 288 * This is a network that does not broadcast its SSID, so an 289 * SSID-specific probe request must be used for scans. 885 * configKey is : "SSID"-WEP-WPA_PSK-WPA_EAP 899 * The linked configuration may or may not have same SSID, and may or may not have same 907 SSID = null; 989 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectivityListener.java | 310 if (TextUtils.isEmpty(result.SSID)) { 315 result.SSID, WifiSecurity.getSecurity(result)); 391 // Find the SSID of network. 392 String ssid = null; local 394 ssid = wifiInfo.getSSID(); 395 if (ssid != null) { 396 ssid = WifiInfo.removeDoubleQuotes(ssid); 399 if (!TextUtils.equals(mConnectivityStatus.mWifiSsid, ssid)) { 401 mConnectivityStatus.mWifiSsid = ssid; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface.c | 101 struct wpa_ssid_value *ssid = NULL, *ns; local 107 * SSID_SPEC ::= ssid <SSID_HEX> 120 os_free(ssid); 129 os_free(ssid); 136 } else if (os_strncmp(pos, "ssid ", 5) == 0) { 147 ns = os_realloc_array(ssid, ssid_count + 1, 150 os_free(ssid); 154 ssid = ns; 158 hexstr2bin(pos, ssid[ssid_count].ssid, 518 struct wpa_ssid *ssid = wpa_s->current_ssid; local 1694 struct wpa_ssid *ssid; local 1745 struct wpa_ssid *ssid = wpa_s->current_ssid; local 2018 struct wpa_ssid *ssid = wpa_s->current_ssid; local 2038 struct wpa_ssid *ssid; local 2210 struct wpa_ssid *ssid; local 2638 struct wpa_ssid *ssid; local 2725 struct wpa_ssid *ssid; local 2769 struct wpa_ssid *ssid; local 2806 struct wpa_ssid *ssid; local 2838 struct wpa_ssid *ssid; local 2863 struct wpa_ssid *ssid; local 2989 struct wpa_ssid *ssid; local 3040 struct wpa_ssid *ssid; local 3189 struct wpa_ssid *ssid; local 4822 struct wpa_ssid *ssid; local 4945 struct wpa_ssid *ssid = wpa_s->current_ssid; local 5419 struct wpa_ssid *ssid; local 5510 struct wpa_ssid *ssid; local 5567 struct wpa_ssid *ssid; local 6992 struct wpa_ssid_value *ssid = NULL, *ns; local 7795 struct wpa_ssid ssid; local [all...] |
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...] |
bgscan_learn.c | 32 const struct wpa_ssid *ssid; member in struct:bgscan_learn_data 281 params.ssids[0].ssid = data->ssid->ssid; 282 params.ssids[0].ssid_len = data->ssid->ssid_len; 283 if (data->ssid->scan_freq) 284 params.freqs = data->ssid->scan_freq; 385 const struct wpa_ssid *ssid) 394 data->ssid = ssid; [all...] |
ap.h | 14 struct wpa_ssid *ssid); 80 struct wpa_ssid *ssid,
|
bgscan.c | 34 int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, 68 wpa_s->bgscan_priv = ops->init(wpa_s, params, ssid);
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 197 private boolean existSSID(String ssid) { 199 if (w.SSID.equals(ssid)) 205 private int findConfiguredNetworks(String SSID, List<WifiConfiguration> networks) { 207 if (w.SSID.equals(SSID)) 215 if ((!w.SSID.equals(wifiConfiguration.SSID)) && w.status != Status.CURRENT) { 343 wifiConfiguration.SSID = SSID1; 365 wifiConfiguration.SSID = SSID2 [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
NetworkDetail.java | 140 String ssid = null; local 179 // Don't overwrite SSID (eid 0) with trailing zero garbage 318 throw new IllegalArgumentException("Malformed IE string (no SSID)", e); 328 * Strict use of the "UTF-8 SSID" bit by APs appears to be spotty at best even if the 329 * encoding truly is in UTF-8. An unconditional attempt to decode the SSID as UTF-8 is 332 * decode the SSID will be used as an indication that the whole frame is malformed and 338 ssid = decoded.toString(); 341 ssid = null; 344 if (ssid == null) { 346 throw new IllegalArgumentException("Failed to decode SSID in dubious IE string") [all...] |
/external/wpa_supplicant_8/src/ap/ |
hostapd.c | 72 struct hostapd_ssid *ssid; local 78 ssid = &hapd->conf->ssid; 79 if (!ssid->wpa_psk_set && ssid->wpa_psk && !ssid->wpa_psk->next && 80 ssid->wpa_passphrase_set && ssid->wpa_passphrase) { 82 * Force PSK to be derived again since SSID or passphrase may 85 hostapd_config_clear_wpa_psk(&hapd->conf->ssid.wpa_psk) 243 struct hostapd_ssid *ssid = &hapd->conf->ssid; local 865 u8 ssid[SSID_MAX_LEN + 1]; local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiClientTest.java | 117 config.SSID = "\"TestSSID1\""; 128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { 154 config.SSID = "\"TestSSID2\""; 204 config.SSID = "\"TestSSID3\""; 223 if (c.SSID.equals("TestSSID3")) { 289 if (c.SSID.contains(connectedSSID)) {
|
WifiSoftAPTest.java | 60 // Test case 1: Test the soft AP SSID with letters 64 config.SSID = "abcdefghijklmnopqrstuvwxyz";
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpas-dbus-new-signals.py | 51 # Convert the byte-array for SSID and BSSID to printable strings 58 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'SSID', 60 ssid = byte_array_to_string(val) 83 print " %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, signal, maxrate, freq)
|
wpas-dbus-new.py | 44 # Convert the byte-array for SSID and BSSID to printable strings 51 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'SSID', 53 ssid = byte_array_to_string(val) 76 print " %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, signal, maxrate, freq)
|
/frameworks/base/core/tests/ConnectivityManagerTest/ |
AndroidManifest.xml | 31 "adb shell am instrument -e ssid <SSID> -w 33 the access point <SSID> should be an open AP. 60 "adb shell am instrument -e ssid <ssid> -e password <password>
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
ScanDetail.java | 60 public void updateResults(NetworkDetail networkDetail, int level, WifiSsid wssid, String ssid, 65 mScanResult.SSID = ssid; 108 return mNetworkDetail == null ? mScanResult.SSID : mNetworkDetail.getSSID(); 151 mScanResult.SSID, Utils.parseMac(mScanResult.BSSID));
|
WifiApConfigStore.java | 117 if (config.SSID != null) { 121 Log.e(TAG, "Try to setup AP config without SSID: " + message); 171 config.SSID = in.readUTF(); 207 out.writeUTF(config.SSID); 232 config.SSID = mContext.getString(R.string.wifi_tether_configure_ssid_default);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers.c | 171 * @ssid: wpa_ssid structure for a configured network 180 struct wpa_ssid *ssid, 255 if (wpa_config_set(ssid, entry.key, value, 0) < 0) 260 wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid); 262 if (wpa_s->current_ssid == ssid || 272 value[0] == '"' && ssid->ssid_len) || 273 (os_strcmp(entry.key, "ssid") == 0 && ssid->passphrase)) 274 wpa_config_update_psk(ssid); 999 u8 *ssid; local 1498 struct wpa_ssid *ssid = NULL; local 1642 struct wpa_ssid *ssid; local 1756 struct wpa_ssid *ssid; local 1810 struct wpa_ssid *ssid; local 3245 struct wpa_ssid *ssid; local 3982 struct wpa_ssid *ssid; local 4077 struct wpa_ssid *ssid = net->ssid; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_android.c | 92 /* Check that there is enough space needed for 1 more SSID, the 98 params->ssids[i].ssid, 102 os_memcpy(&buf[bp], params->ssids[i].ssid,
|
driver_openbsd.c | 29 wpa_driver_openbsd_get_ssid(void *priv, u8 *ssid) 42 os_memcpy(ssid, nwid.i_nwid, nwid.i_len);
|
/frameworks/base/wifi/java/android/net/wifi/passpoint/ |
WifiPasspointPolicy.java | 67 public WifiPasspointPolicy(String name, String ssid, 76 mSsid = ssid; 152 Log.d(TAG, "create ssid:" + mSsid); 153 wfg.SSID = mSsid; 299 //if priority still the same, compare name(ssid) 307 *it can associate to one AP(same ssid). so we should compare by credential 327 //if priority still the same, compare name(ssid) 355 " ssid=" + mSsid + " restriction=" + mRestriction +
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_agps.h | 280 inline virtual void setWifiInfo(char* ssid, char* password) 281 { ssid[0] = 0; password[0] = 0; } 365 char * ssid, char * password, loc_if_req_sender_id_e_type sender_id) : 367 mSSID(NULL == ssid ? NULL : new char[SSID_BUF_SIZE]), 372 strlcpy(mSSID, ssid, SSID_BUF_SIZE); 385 inline virtual void setWifiInfo(char* ssid, char* password) 388 strlcpy(ssid, mSSID, SSID_BUF_SIZE); 390 ssid[0] = '\0';
|