/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...] |
/device/google/marlin/ |
wpa_supplicant_wcn.conf | 84 # 2: like 0, but associate with APs using security policy and SSID (but not 193 # Each network (usually AP's sharing the same SSID) is configured as a separate 208 # ssid: SSID (mandatory); either as an ASCII string with double quotation or 212 # 0 = do not scan this SSID with specific Probe Request frames (default) 213 # 1 = scan with SSID-specific Probe Request frames (this can be used to 214 # find APs that do not accept broadcast SSID or use multiple SSIDs; 245 # an IBSS network with the configured SSID is already present, the frequency of 287 # generated using the passphrase and SSID). ASCII passphrase must be between 293 # only when the passphrase or SSID has actually changed [all...] |
/external/autotest/server/cros/network/ |
chaos_clique_utils.py | 123 # The SSID doesn't matter, all that needs to be verified is that iw 126 client.wifi_if, ssids=[ap.ssid]) 151 tag=ap.ssid) 153 log_dir_name = str('worker_client_logs_%s' % ap.ssid) 243 def scan_for_networks(ssid, capturer, ap_spec): 246 @param ssid: the SSID string to look for in scan. 260 wifi_if, ssids=[ssid], timeout_seconds=300) 276 networks = scan_for_networks(ap.ssid, capturer, ap_spec) 280 # The SSID wasn't even found, abor [all...] |
hostap_config.py | 357 def ssid(self): member in class:HostapConfig 358 """@return string SSID.""" 362 @ssid.setter 363 def ssid(self, value): member in class:HostapConfig 364 """Sets the ssid for the hostapd. 366 @param value: string ssid name. 418 """@return meaningful suffix for SSID.""" 454 dtim_period=None, frag_threshold=None, ssid=None, bssid=None, 475 @param hide_ssid True if we should set up a hidden SSID. 479 @param ssid string up to 32 byte SSID overriding the router default [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
ScanResult.java | 35 public String SSID; 38 * Ascii encoded SSID. This will replace SSID when we deprecate it. @hide 356 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 382 this.SSID = (wifiSsid != null) ? wifiSsid.toString() : WifiSsid.NONE; 397 public ScanResult(String Ssid, String BSSID, long hessid, int anqpDomainId, String caps, 401 this.SSID = Ssid; 422 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, long hessid, int anqpDomainId, 426 this(Ssid, BSSID, hessid, anqpDomainId, caps, level, frequency, tsf, distCm [all...] |
/external/autotest/server/cros/ap_configurators/ |
dlink_ap_configurator.py | 189 # the ssid textfield is disabled. 190 ssid = self.driver.find_element_by_xpath('//input[@name="ssid"]') 191 if ssid.get_attribute('disabled') == 'true': 202 def set_ssid(self, ssid): 204 self.add_item_to_command_list(self._set_ssid, (ssid,), 1, 900) 207 def _set_ssid(self, ssid): 209 self.set_content_of_text_field_by_id(ssid, 'ssid') 210 self._ssid = ssid [all...] |
netgear_WNDR_dual_band_configurator.py | 31 elif '2.4G and 5G have the same SSID' in text: 33 raise RuntimeError('%s. Please change the SSID of one band' % text) 40 elif 'WPS requires SSID broadcasting in order to work' in text: 112 self.wait_for_object_by_xpath('//input[@name="ssid" and @type="text"]') 152 def set_ssid(self, ssid): 153 self.add_item_to_command_list(self._set_ssid, (ssid,), 1, 900) 156 def _set_ssid(self, ssid): 157 xpath = '//input[@name="ssid"]' 160 self.set_content_of_text_field_by_xpath(ssid, xpath) 161 self._ssid = ssid [all...] |
dlink_dwl2100_ap_configurator.py | 154 def set_ssid(self, ssid): 156 Sets the SSID of the wireless network. 160 @param ssid: name of the wireless network 163 self.add_item_to_command_list(self._set_ssid, (ssid,), 1, 900) 166 def _set_ssid(self, ssid): 167 self._ssid = ssid 168 self.set_content_of_text_field_by_id(self._ssid, 'Ssid')
|
edimax_ap_configurator.py | 139 def set_ssid(self, ssid): 140 self.add_item_to_command_list(self._set_ssid, (ssid,), 1, 1000) 143 def _set_ssid(self, ssid): 144 self.set_content_of_text_field_by_xpath(ssid, '//input[@name="ssid"]', 146 self._ssid = ssid 151 Returns if AP supports setting the visibility (SSID broadcast).
|
medialink_ap_configurator.py | 75 self.wait_for_object_by_xpath('//input[@name="ssid"]') 138 def set_ssid(self, ssid): 139 self.add_item_to_command_list(self._set_ssid, (ssid,), 1, 900) 142 def _set_ssid(self, ssid): 144 xpath = '//input[@name="ssid"]' 145 self.set_content_of_text_field_by_xpath(ssid, xpath) 146 self._ssid = ssid
|
dlink_dir655_ap_configurator.py | 34 elif 'Mode to 802.11n only, while there is an SSID with WEP' in text: 192 # the ssid textfield is disabled. 193 ssid = self.driver.find_element_by_id('show_ssid') 195 if ssid.get_attribute('disabled') == 'true': 206 def set_ssid(self, ssid): 208 self.add_item_to_command_list(self._set_ssid, (ssid,), 1, 900) 211 def _set_ssid(self, ssid): 213 self.set_content_of_text_field_by_id(ssid, 'show_ssid') 214 self._ssid = ssid
|
trendnet_ap_configurator.py | 137 def set_ssid(self, ssid): 138 self.add_item_to_command_list(self._set_ssid, (ssid,), 1, 100) 141 def _set_ssid(self, ssid): 142 self.set_content_of_text_field_by_id(ssid, 'display_SSID1') 143 self._ssid = ssid
|
/external/wpa_supplicant_8/src/ap/ |
beacon.c | 415 *pos++ = hapd->conf->ssid.ssid_len; 416 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len); 417 pos += hapd->conf->ssid.ssid_len; 544 const u8 *ssid, size_t ssid_len, 553 if (ssid_len == hapd->conf->ssid.ssid_len && 554 os_memcmp(ssid, hapd->conf->ssid.ssid, ssid_len) == 0 [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkPolicyManagerShellCommand.java | 329 final String ssid = removeDoubleQuotes(config.SSID); local 330 if (id.equals(ssid)) { 331 final NetworkPolicy policy = newPolicy(ssid); 333 Log.i(TAG, "Creating new policy for " + ssid + ": " + policy); 350 ssids.add(removeDoubleQuotes(config.SSID)); 365 for (String ssid : ssids) { 366 final NetworkPolicy policy = newPolicy(ssid); 372 private NetworkPolicy newPolicy(String ssid) { 373 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(ssid); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface.c | 104 struct wpa_ssid_value *ssid = NULL, *ns; local 110 * SSID_SPEC ::= ssid <SSID_HEX> 123 os_free(ssid); 132 os_free(ssid); 139 } else if (os_strncmp(pos, "ssid ", 5) == 0) { 150 ns = os_realloc_array(ssid, ssid_count + 1, 153 os_free(ssid); 157 ssid = ns; 161 hexstr2bin(pos, ssid[ssid_count].ssid, 560 struct wpa_ssid *ssid = wpa_s->current_ssid; local 1737 struct wpa_ssid *ssid; local 1788 struct wpa_ssid *ssid = wpa_s->current_ssid; local 2061 struct wpa_ssid *ssid = wpa_s->current_ssid; local 2081 struct wpa_ssid *ssid; local 2214 struct wpa_ssid *ssid; local 2650 struct wpa_ssid *ssid; local 2771 struct wpa_ssid *ssid; local 2817 struct wpa_ssid *ssid; local 2856 struct wpa_ssid *ssid; local 2888 struct wpa_ssid *ssid; local 2913 struct wpa_ssid *ssid; local 3046 struct wpa_ssid *ssid; local 3097 struct wpa_ssid *ssid; local 3249 struct wpa_ssid *ssid; local 5004 struct wpa_ssid *ssid; local 5156 struct wpa_ssid *ssid = wpa_s->current_ssid; local 5645 struct wpa_ssid *ssid; local 5749 struct wpa_ssid *ssid; local 5816 struct wpa_ssid *ssid; local 7396 struct wpa_ssid_value *ssid = NULL, *ns; local 8225 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...] |
/external/autotest/client/common_lib/cros/network/ |
iw_runner.py | 44 IwBss = collections.namedtuple('IwBss', ['bss', 'frequency', 'ssid', 'security', 99 SSID: my_open_network 121 ssid = None 133 iwbss = IwBss(bss, frequency, ssid, security, ht, signal) 135 bss = frequency = ssid = security = ht = None 142 if line.startswith('SSID: '): 143 _, ssid = line.split(': ', 1) 151 bss_list.append(IwBss(bss, frequency, ssid, security, ht, signal)) 250 SSID: PMKSACaching_4m9p5_ch1 269 # when the driver is 'associated' with an SSID but not a particula [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 200 private boolean existSSID(String ssid) { 202 if (w.SSID.equals(ssid)) 208 private int findConfiguredNetworks(String SSID, List<WifiConfiguration> networks) { 210 if (w.SSID.equals(SSID)) 218 if ((!w.SSID.equals(wifiConfiguration.SSID)) && w.status != Status.CURRENT) { 368 wifiConfiguration.SSID = SSID1; 390 wifiConfiguration.SSID = SSID2 [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)) {
|
/external/autotest/server/cros/ |
ap_config.py | 66 CONF_SSID = 'ssid' 99 """@return string ssid for AP from config file""" 207 'ssid' : self.get_ssid(), 213 ' SSID: %(ssid)s\n'
|
/external/iw/ |
connect.c | 23 /* SSID */ 143 TOPLEVEL(connect, "[-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465]", 145 "Join the network with the given SSID (and frequency, BSSID).\n" 161 /* SSID */ 216 TOPLEVEL(auth, "<SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]",
|
/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>
|