/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
WifiTest.java | 43 // Unique SSID to use for this test (max SSID length is 32) 64 * <li>Network with SSID {@link WifiTest#NETWORK_SSID} is created.</li> 78 * Remove any network through the WifiManager API with a certain SSID. Verifies that the network 83 * <li>If a network with SSID {@link WifiTest#NETWORK_SSID} exists, it will be deleted.</li> 100 * Verify that no network exists with a certain SSID. 102 * <p>The SSID that will be checked for is {@link WifiTest#NETWORK_SSID}. 109 * Block until a network configuration with a certain SSID either exists or ceases to. 113 private boolean awaitNetworkState(String ssid, boolean exists) { 118 if ((getNetworkForSsid(ssid) != null) == exists) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
WifiSignalController.java | 80 String wifiDesc = wifiVisible ? mCurrentState.ssid : null; 81 boolean ssidPresent = wifiVisible && mCurrentState.ssid != null; 104 // If Connected grab the signal strength and ssid. 111 mCurrentState.ssid = getSsid(info); 113 mCurrentState.ssid = null; 116 mCurrentState.ssid = null; 129 String ssid = info.getSSID(); local 130 if (ssid != null) { 131 return ssid; 138 return networks.get(i).SSID; 179 String ssid; field in class:WifiSignalController.WifiState [all...] |
/external/wpa_supplicant_8/src/drivers/ |
android_drv.h | 27 /* SSID header size is SSID section type above + SSID length */ 49 /* PNO Max command size is total of header, version, ssid and other sections +
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
ieee8021x.conf | 6 ssid="example 802.1x network"
|
wpa2-eap-ccmp.conf | 6 ssid="example wpa2-eap network"
|
wpas-test.py | 62 # Convert the byte-array for SSID and BSSID to printable strings 67 ssid = byte_array_to_string(props["ssid"]) 83 print " %s :: ssid='%s' wpa=%s wpa2=%s quality=%d%% rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, qual, maxrate, freq)
|
/external/wpa_supplicant_8/src/crypto/ |
sha1-pbkdf2.c | 14 static int pbkdf2_sha1_f(const char *passphrase, const u8 *ssid, 25 addr[0] = ssid; 61 * @ssid: SSID 62 * @ssid_len: SSID length in bytes 72 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len, 82 if (pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations,
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
WifiConfigurationHelper.java | 54 * @param ssid The SSID of the wifi network 57 public static WifiConfiguration createOpenConfig(String ssid) { 58 WifiConfiguration config = createGenericConfig(ssid); 67 * @param ssid The SSID of the wifi network 71 public static WifiConfiguration createWepConfig(String ssid, String password) { 72 WifiConfiguration config = createGenericConfig(ssid); 89 * @param ssid The SSID of the wifi networ 192 String ssid = jsonConfig.getString("ssid"); local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
WifiConfigHelper.java | 64 public static void setConfigSsid(WifiConfiguration config, String ssid) { 66 if (!Pattern.matches(REGEX_HEX_BSSID, ssid)) { 67 config.SSID = enquoteSsid(ssid); 69 config.SSID = ssid; 74 // just enquote the SSID, if taken from a scan result, we assume that 76 config.SSID = enquoteSsid(scanResult.SSID); 107 if (scanResult.SSID == null || wifiInfo.getSSID() == null) [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
WifiConfigLockdownTest.java | 71 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID) || 72 areMatchingSsids(CHANGED_DEVICE_OWNER_SSID, config.SSID) || 73 areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID) || 74 areMatchingSsids(CHANGED_REGULAR_SSID, config.SSID)) { 85 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID)) { 90 if (areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID)) { 104 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID) || 105 areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID)) { 118 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID)) { 131 assertFalse(areMatchingSsids(CHANGED_DEVICE_OWNER_SSID, config.SSID)); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wps_supplicant.h | 31 enum wps_request_type wpas_wps_get_req_type(struct wpa_ssid *ssid); 40 struct wpa_ssid *ssid, struct wpa_bss *bss); 42 struct wpa_ssid *ssid, struct wpa_bss *bss); 44 struct wpa_bss *selected, struct wpa_ssid *ssid); 71 const u8 *ssid, size_t ssid_len, int freq); 104 static inline u8 wpas_wps_get_req_type(struct wpa_ssid *ssid) 110 struct wpa_ssid *ssid, 117 struct wpa_ssid *ssid, 125 struct wpa_ssid *ssid)
|
wpa_supplicant.c | 111 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) 116 if (ssid->wep_key_len[i] == 0) 121 i, i == ssid->wep_tx_keyidx, NULL, 0, 122 ssid->wep_key[i], ssid->wep_key_len[i]); 130 struct wpa_ssid *ssid) 141 if (ssid->mode != WPAS_MODE_IBSS) { 143 "IBSS/ad-hoc) for WPA-None", ssid->mode); 147 if (!ssid->psk_set) { 155 os_memcpy(key, ssid->psk, 16) 257 struct wpa_ssid *ssid = wpa_s->current_ssid; local 421 struct wpa_ssid *ssid; local 759 struct wpa_ssid *ssid = wpa_s->current_ssid; local 1465 struct wpa_ssid *ssid; local 1935 struct wpa_ssid *ssid = cwork->ssid; local 2912 u8 ssid[SSID_MAX_LEN]; local 4400 struct wpa_ssid *ssid; local 5154 struct wpa_ssid *ssid = wpa_s->current_ssid; local [all...] |
bgscan.h | 19 const struct wpa_ssid *ssid); 32 int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, 45 struct wpa_ssid *ssid, const char name)
|
events.c | 57 struct wpa_ssid *ssid) 61 if (ssid == NULL || ssid->disabled_until.sec == 0) 65 if (ssid->disabled_until.sec > now.sec) 66 return ssid->disabled_until.sec - now.sec; 68 wpas_clear_temp_disabled(wpa_s, ssid, 0); 86 struct wpa_ssid *ssid; local 95 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) 131 struct wpa_ssid *ssid = wpa_s->current_ssid; local 160 struct wpa_ssid *ssid, *old_ssid; local 820 struct wpa_ssid *ssid; local 1088 struct wpa_ssid *ssid; local 1241 struct wpa_ssid *ssid; local 1269 const u8 *ssid, *rsn; local 1520 struct wpa_ssid *ssid = NULL; local 2697 struct wpa_ssid *ssid; local 2715 struct wpa_ssid *ssid = wpa_s->current_ssid; local [all...] |
p2p_supplicant.c | 106 const u8 *ssid, size_t ssid_len); 108 const u8 *ssid, size_t ssid_len); 113 const u8 *ssid, size_t ssid_len); 333 /* P2P Wildcard SSID */ 339 params->ssids[0].ssid = n; 439 const u8 *ssid, 445 for (s = wpa_s->conf->ssid; s; s = s->next) { 448 os_memcmp(ssid, s->ssid, ssid_len) != 0) 501 for (s = wpa_s->conf->ssid; s; s = s->next) 778 struct wpa_ssid *ssid; local 1114 struct wpa_ssid *ssid, *s; local 1238 struct wpa_ssid *ssid; local 1670 struct wpa_ssid *ssid; local 1765 struct wpa_ssid *ssid; local 2099 struct wpa_ssid *ssid; local 2890 struct wpa_ssid *ssid; local 2911 struct wpa_ssid *ssid; local 3388 struct wpa_ssid *ssid = wpa_s->current_ssid; local 4849 struct wpa_ssid *ssid = NULL; local 5460 struct wpa_ssid *ssid; local 5704 struct wpa_ssid *ssid = wpa_s->current_ssid; local 6184 struct wpa_ssid *ssid; local 6253 struct wpa_ssid *ssid = wpa_s->current_ssid; local 7209 struct wpa_ssid *ssid = wpa_s->current_ssid; local 7454 struct wpa_ssid *ssid = wpa_s->current_ssid; local 7577 struct wpa_ssid *ssid; local 7610 struct wpa_ssid *ssid; local 7667 struct wpa_ssid *ssid; local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiAssociationTest.java | 36 * * adb shell am instrument -e ssid <ssid> -e password <password> \ 57 String ssid = arguments.getString("ssid"); local 58 assertNotNull("ssid is empty", ssid); 76 WifiConfiguration config = getConfig(ssid, securityType, password); 105 * Get the {@link WifiConfiguration} based on ssid, security, and password. 107 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { 113 config = WifiConfigurationHelper.createOpenConfig(ssid); [all...] |
/external/wpa_supplicant_8/src/ap/ |
ap_config.c | 208 struct hostapd_ssid *ssid) 274 pbkdf2_sha1(pos, ssid->ssid, ssid->ssid_len, 286 psk->next = ssid->wpa_psk; 287 ssid->wpa_psk = psk; 296 static int hostapd_derive_psk(struct hostapd_ssid *ssid) 298 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); 299 if (ssid->wpa_psk == NULL) { 303 wpa_hexdump_ascii(MSG_DEBUG, "SSID", 319 struct hostapd_ssid *ssid = &conf->ssid; local [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiLinkLayerStats.java | 37 * The network's SSID. Can either be an ASCII string, 44 public String SSID; 118 if (this.SSID != null) { 119 sbuf.append(" SSID: ").append(this.SSID).append('\n'); 157 if (SSID == null) return ""; 158 final int length = SSID.length(); 159 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { 160 return SSID.substring(1, length - 1) [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiEnterpriseConfigTest.java | 31 private static final String SSID = "\"TestSSID\""; 115 config.SSID = SSID; 119 assertTrue(doesSsidExist(SSID)); 121 assertFalse(doesSsidExist(SSID)); 124 private boolean doesSsidExist(String ssid) { 126 if (w.SSID.equals(ssid))
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
WifiConfigurationTest.java | 26 wifiConfiguration.SSID = "SSID"; 46 assertThat(copy.SSID, equalTo("SSID"));
|
/external/selinux/libselinux/man/man3/ |
avc_compute_create.3 | 13 .BI "int avc_compute_create(security_id_t " ssid ", security_id_t " tsid , 18 .BI "int avc_compute_member(security_id_t " ssid ", security_id_t " tsid , 49 .I ssid
|
avc_add_callback.3 | 15 .BI "security_id_t " ssid , 26 .BI "uint32_t " events ", security_id_t " ssid , 44 .IR ssid , 70 .I ssid 82 .IR ssid , 91 .IR ssid , 106 .IR ssid , 120 .IR ssid , 129 .IR ssid , 138 .IR ssid , [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old_handlers.h | 50 struct wpa_ssid *ssid); 54 struct wpa_ssid *ssid); 58 struct wpa_ssid *ssid);
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_process.c | 98 static int wps_process_cred_ssid(struct wps_credential *cred, const u8 *ssid, 101 if (ssid == NULL) { 102 wpa_printf(MSG_DEBUG, "WPS: Credential did not include SSID"); 108 while (ssid_len > 0 && ssid[ssid_len - 1] == 0) 111 wpa_hexdump_ascii(MSG_DEBUG, "WPS: SSID", ssid, ssid_len); 112 if (ssid_len <= sizeof(cred->ssid)) { 113 os_memcpy(cred->ssid, ssid, ssid_len); 243 wps_process_cred_ssid(cred, attr->ssid, attr->ssid_len) | [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
AnqpCache.java | 31 private CacheKey(String ssid, long bssid, long hessid) { 32 mSSID = ssid; 42 * n/a zero n/a SSID/BSSID Domain ID indicates unique AP info 43 * not set set false SSID/BSSID Strict per AP keying override 44 * not set set true SSID Standard definition of an ESS 49 * for the cache, i.e. all APs with identical SSID is considered an ESS, 54 String ssid; local 58 ssid = network.getSSID(); 63 ssid = null; 68 ssid = network.getSSID() [all...] |