/external/autotest/server/site_tests/network_WiFi_HiddenRemains/ |
network_WiFi_HiddenRemains.py | 20 def check_hidden(self, ssid, should_be_hidden): 21 """Asserts that the network with |ssid| is a hidden network in shill. 26 @param ssid string name of network to make assertions about. 28 a hidden SSID. 31 logging.info('Checking that %s has hidden=%r.', ssid, should_be_hidden) 33 ssid) 36 '%s.' % ssid) 50 ssid='a visible network', 55 ssid='a hidden network', 61 ssid=self.context.router.get_ssid() [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
WifiStatusTracker.java | 26 public String ssid; field in class:WifiStatusTracker 43 // If Connected grab the signal strength and ssid. 50 ssid = getSsid(info); 52 ssid = null; 55 ssid = null; 65 String ssid = info.getSSID(); local 66 if (ssid != null) { 67 return ssid; 74 return networks.get(i).SSID;
|
/external/autotest/server/cros/network/ |
wpa_cli_proxy.py | 16 ['bssid', 'frequency', 'signal', 'ssid']) 53 def _add_network(self, ssid): 55 Add a wpa_supplicant network for ssid. 57 @param ssid string: name of network to add. 63 self.run_wpa_cli_cmd('set_network %d ssid \\"%s\\"' % 64 (network_id, ssid)) 65 self._created_networks[ssid] = network_id 66 logging.debug('Added network %s=%d', ssid, network_id) 120 def _is_associated(self, ssid): 122 Check if the DUT is associated to a given SSID [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiLastResortWatchdog.java | 57 * BSSID used to increment failure counts against ALL bssids associated with a particular SSID 70 * Map of SSID to <FailureCount, AP count>, used to count failures & number of access points 71 * belonging to an SSID. 78 // successfully connecting or a new network (SSID) becomes available to connect to. 107 String ssid = "\"" + scanDetail.getSSID() + "\""; local 115 availableNetworkFailureCount.ssid = ssid; 117 // Count AP for this SSID 119 mSsidFailureCount.get(ssid); 121 // This is a new SSID, create new FailureCount for it and set AP count to 152 String ssid = entry.getValue().ssid; local 463 String ssid = availableNetworkFailureCount.ssid; local 496 public String ssid = ""; field in class:WifiLastResortWatchdog.AvailableNetworkFailureCount [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
config_file.c | 126 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) 130 if (ssid->passphrase) { 131 if (ssid->psk_set) { 136 wpa_config_update_psk(ssid); 139 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && 140 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && 141 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { 146 ssid->group_cipher &= ~WPA_CIPHER_CCMP; 149 if (ssid->mode == WPAS_MODE_MESH && 150 (ssid->key_mgmt != WPA_KEY_MGMT_NONE & 164 struct wpa_ssid *ssid; local 367 struct wpa_ssid *ssid, *tail, *head; local 1347 struct wpa_ssid *ssid; local [all...] |
config_winreg.c | 25 ssid="example" 289 struct wpa_ssid *ssid; local 300 ssid = os_zalloc(sizeof(*ssid)); 301 if (ssid == NULL) { 305 dl_list_init(&ssid->psk_list); 306 ssid->id = id; 308 wpa_config_set_network_defaults(ssid); 338 if (wpa_config_set(ssid, (char *) name, (char *) data, 0) < 0) 344 if (ssid->passphrase) 375 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; local 987 struct wpa_ssid *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)
|
wpa_supplicant.c | 116 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) 121 if (ssid->wep_key_len[i] == 0) 126 i, i == ssid->wep_tx_keyidx, NULL, 0, 127 ssid->wep_key[i], ssid->wep_key_len[i]); 135 struct wpa_ssid *ssid) 146 if (ssid->mode != WPAS_MODE_IBSS) { 148 "IBSS/ad-hoc) for WPA-None", ssid->mode); 152 if (!ssid->psk_set) { 160 os_memcpy(key, ssid->psk, 16) 262 struct wpa_ssid *ssid = wpa_s->current_ssid; local 438 struct wpa_ssid *ssid; local 788 struct wpa_ssid *ssid = wpa_s->current_ssid; local 1510 struct wpa_ssid *ssid; local 2057 struct wpa_ssid *ssid = cwork->ssid; local 3101 u8 ssid[SSID_MAX_LEN]; local 5013 struct wpa_ssid *ssid; local 5837 struct wpa_ssid *ssid = wpa_s->current_ssid; local [all...] |
notify.c | 123 "id=%d state=%d BSSID=" MACSTR " SSID=%s", 127 wpa_s->current_ssid && wpa_s->current_ssid->ssid ? 128 wpa_ssid_txt(wpa_s->current_ssid->ssid, 189 struct wpa_ssid *ssid) 194 wpas_dbus_signal_network_enabled_changed(wpa_s, ssid); 199 struct wpa_ssid *ssid) 204 wpas_dbus_signal_network_selected(wpa_s, ssid->id); 209 struct wpa_ssid *ssid, 216 wpas_dbus_signal_network_request(wpa_s, ssid, rtype, default_txt); 315 struct wpa_ssid *ssid) [all...] |
/external/libweave/examples/provider/ |
wifi_manager.h | 33 void Connect(const std::string& ssid, 36 void StartAccessPoint(const std::string& ssid) override; 44 void TryToConnect(const std::string& ssid,
|
/external/autotest/server/site_tests/network_WiFi_SecChange/ |
network_WiFi_SecChange.py | 28 ssid=self.TEST_SSID, 34 ssid=self.context.router.get_ssid(), 38 self.context.client.shill.disconnect(assoc_params.ssid) 41 # Now we change the same SSID to be an open network. 43 ssid=self.TEST_SSID, 48 ssid=self.context.router.get_ssid()) 51 self.context.client.shill.disconnect(assoc_params.ssid)
|
/external/autotest/server/site_tests/network_WiFi_ProfileBasic/ |
network_WiFi_ProfileBasic.py | 51 def _assert_state_transition(self, ssid, states): 54 @param ssid: string ssid of service. 59 ssid, states, 83 ssid=self.context.router.get_ssid()) 92 self._assert_state_transition(client_config0.ssid, ['idle']) 98 self._assert_state_transition(client_config0.ssid, 102 self.context.client.shill.disconnect(client_config0.ssid) 103 self._assert_state_transition(client_config0.ssid, ['idle']) 110 self._assert_state_transition(client_config0.ssid, [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
openCryptoki.conf | 23 ssid="test network"
|
/system/connectivity/shill/wifi/ |
mock_wifi_service.cc | 33 const vector<uint8_t>& ssid, 38 control_interface, dispatcher, metrics, manager, provider, ssid, mode,
|
/external/autotest/client/cros/scripts/ |
wifi | 38 print cmd, 'connect <ssid> [passphrase] [security]' 42 print cmd, 'disconnect <ssid> [timeout seconds]' 44 print cmd, 'connect_with_props <ssid> <timeout seconds>' 49 print cmd, 'configure <ssid> [passphrase] [security]' 55 def configure(ssid, security, passphrase): 60 successful = wifi.configure_wifi_service(ssid, security, 69 def connect(ssid, security, credentials, save_credentials, timeout=15): 75 @param ssid string Name of the network to connect to. 84 result = wifi.connect_to_wifi_network(ssid, 102 def disconnect(ssid, timeout=None) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
ScanDetailUtilTest.java | 43 final String ssid = "SOME SsId"; local 45 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 49 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) 59 final String ssid = "SOME SsId"; local 61 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 65 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8) 76 final String ssid = "Another SSid"; local [all...] |
/external/autotest/client/cros/networking/ |
wifi_proxy.py | 44 def configure_wifi_service(self, ssid, security, security_parameters={}, 50 @param ssid string name of network to connect to. 57 @param hidden_network bool True when the SSID is not broadcasted. 70 self.SERVICE_PROPERTY_SSID: ssid, 85 logging.info('Configured service: %s', ssid) 90 ssid, 104 @param ssid string name of network to connect to. 111 @param hidden_network bool True when the SSID is not broadcasted. 128 logging.info('Attempting to connect to %s', ssid) 145 logging.info('Configuring %s as a hidden network.', ssid) [all...] |
/external/autotest/server/site_tests/network_WiFi_IBSS/ |
network_WiFi_IBSS.py | 28 ssid=self.context.router.get_ssid()) 30 self.context.client.shill.disconnect(assoc_params.ssid) 35 ssid=self.context.router.get_ssid(), 43 self.context.client.shill.disconnect(assoc_params.ssid)
|
/external/autotest/server/site_tests/network_WiFi_MultiAuth/ |
network_WiFi_MultiAuth.py | 20 TEST_SSID = 'an ssid' 30 ssid=self.TEST_SSID, 35 ssid=self.TEST_SSID) 37 ssid=self.TEST_SSID, 43 ssid=self.TEST_SSID,
|
/external/selinux/libselinux/src/ |
avc.c | 20 security_id_t ssid; member in struct:avc_entry 41 int (*callback) (uint32_t event, security_id_t ssid, 46 security_id_t ssid; member in struct:avc_callback_node 63 static inline int avc_hash(security_id_t ssid, 66 return ((uintptr_t) ssid ^ ((uintptr_t) tsid << 2) ^ tclass) 342 static inline struct avc_node *avc_claim_node(security_id_t ssid, 362 hvalue = avc_hash(ssid, tsid, tclass); 365 new->ae.ssid = ssid; 375 static inline struct avc_node *avc_search_node(security_id_t ssid, [all...] |
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigurationTestUtil.java | 39 * @param ssid the configuration's ssid 46 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 49 config.SSID = ssid; 67 * @param ssid the configuration's ssid 75 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 78 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn,
|
/system/connectivity/shill/test-scripts/ |
configure-hidden-wifi | 7 print "Usage: %s <ssid> [passphrase] [security]" % (sys.argv[0]) 14 ssid = sys.argv[1] 28 "SSID" : ssid,
|
/system/netd/server/ |
SoftapController.h | 42 bool generatePsk(char *ssid, char *passphrase, char *psk);
|
/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...] |