Home
last modified time | relevance | path

Searched refs:WifiEnums (Results 1 – 25 of 66) sorted by relevance

123

/tools/test/connectivity/acts/tests/google/wifi/
DWifiEnterpriseTest.py29 WifiEnums = wutils.WifiEnums variable
32 EAP = WifiEnums.Eap
33 EapPhase2 = WifiEnums.EapPhase2
35 Ent = WifiEnums.Enterprise
79 WifiEnums.SSID_KEY: self.ent_network_5g[WifiEnums.SSID_KEY],
83 self.config_peap1[WifiEnums.SSID_KEY] = \
84 self.ent_network_2g[WifiEnums.SSID_KEY]
88 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
100 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
107 WifiEnums.SSID_KEY: self.ent_network_pwd[WifiEnums.SSID_KEY],
[all …]
DWifiNetworkSuggestionTest.py33 WifiEnums = wutils.WifiEnums variable
35 EAP = WifiEnums.Eap
36 EapPhase2 = WifiEnums.EapPhase2
38 Ent = WifiEnums.Enterprise
92 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
101 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY],
243 network_suggestions, wifi_network[WifiEnums.SSID_KEY], None)
249 wutils.wait_for_connect(self.dut, wifi_network[WifiEnums.SSID_KEY])
252 network_suggestions, wifi_network[WifiEnums.SSID_KEY])
271 [self.wpa_psk_2g], self.wpa_psk_2g[WifiEnums.SSID_KEY],
[all …]
DWifiEnterpriseRoamingTest.py26 WifiEnums = wutils.WifiEnums variable
29 EAP = WifiEnums.Eap
30 EapPhase2 = WifiEnums.EapPhase2
33 Ent = WifiEnums.Enterprise
64 self.bssid_2g_a = self.ent_network_2g_a[WifiEnums.BSSID_KEY.lower()]
65 self.bssid_2g_b = self.ent_network_2g_b[WifiEnums.BSSID_KEY.lower()]
66 self.ent_roaming_ssid = self.ent_network_2g_a[WifiEnums.SSID_KEY]
76 WifiEnums.SSID_KEY: self.ent_roaming_ssid
81 WifiEnums.SSID_KEY: self.ent_roaming_ssid,
92 WifiEnums.SSID_KEY: self.ent_roaming_ssid
[all …]
DWifiManagerTest.py33 WifiEnums = wutils.WifiEnums variable
121 SSID = network[WifiEnums.SSID_KEY]
141 ssid_id_dict[WifiEnums.NETID_KEY] = connect_data[WifiEnums.NETID_KEY]
142 ssid_id_dict[WifiEnums.SSID_KEY] = connect_data[WifiEnums.SSID_KEY]
175 if wifi_info[WifiEnums.SSID_KEY] == network1[WifiEnums.SSID_KEY]:
201 WifiEnums.SSID_KEY: network[WifiEnums.SSID_KEY]
206 network[WifiEnums.SSID_KEY])
208 network[WifiEnums.NETID_KEY] = exists[0]['networkId']
232 connect_ssid = connect_data[WifiEnums.SSID_KEY]
248 SSID = network[WifiEnums.SSID_KEY]
[all …]
DWifiNetworkRequestTest.py33 WifiEnums = wutils.WifiEnums variable
174 network_ssid = network_specifier.pop(WifiEnums.SSID_KEY)
177 network_specifier[WifiEnums.SSID_PATTERN_KEY] = network_ssid[:-1] + ".*"
297 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]},
301 bssid = match_results[0][WifiEnums.BSSID_KEY]
304 network_specifier_with_bssid[WifiEnums.BSSID_KEY] = bssid
311 wutils.wait_for_connect(self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY])
341 self.dut.droid.wifiUserDisconnectNetwork(self.wpa_psk_2g[WifiEnums.SSID_KEY])
352 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]},
356 bssid = match_results[0][WifiEnums.BSSID_KEY]
[all …]
DWifiCrashTest.py31 WifiEnums = wutils.WifiEnums variable
104 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
127 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
150 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
173 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
DWifiPasspointTest.py35 WifiEnums = wutils.WifiEnums variable
108 asserts.assert_true(WifiEnums.SSID_KEY in passpoint_config,
110 WifiEnums.SSID_KEY)
133 if not network_info or not network_info[WifiEnums.SSID_KEY] or \
134 network_info[WifiEnums.SSID_KEY] not in passpoint_network:
193 if current_passpoint[WifiEnums.SSID_KEY] not in osu_config[
219 ssid = passpoint_config[WifiEnums.SSID_KEY]
240 ssid = passpoint_config[WifiEnums.SSID_KEY]
310 passpoint_ssid.append(passpoint_config[WifiEnums.SSID_KEY])
317 current_ssid = current_passpoint[WifiEnums.SSID_KEY]
[all …]
DWifiWpa3OweTest.py32 WifiEnums = wutils.WifiEnums variable
84 self.owe_2g[WifiEnums.SSID_KEY])
90 self.owe_5g[WifiEnums.SSID_KEY])
96 self.wpa3_personal_2g[WifiEnums.SSID_KEY])
102 self.wpa3_personal_5g[WifiEnums.SSID_KEY])
117 self.wpa3_personal_2g[WifiEnums.SSID_KEY])
121 self.wpa3_personal_2g[WifiEnums.SSID_KEY])
DWifiConnectedMacRandomizationTest.py32 WifiEnums = wutils.WifiEnums variable
158 ssid_id_dict[WifiEnums.NETID_KEY] = connect_data[WifiEnums.NETID_KEY]
159 ssid_id_dict[WifiEnums.SSID_KEY] = connect_data[WifiEnums.SSID_KEY]
206 connect_data_2g[WifiEnums.NETID_KEY],
207 connect_data_2g[WifiEnums.SSID_KEY])
219 connect_data_5g[WifiEnums.NETID_KEY],
220 connect_data_5g[WifiEnums.SSID_KEY])
243 config[wutils.WifiEnums.SSID_KEY],
244 config[wutils.WifiEnums.PWD_KEY],
DWifiTetheringTest.py155 self.network[wutils.WifiEnums.SSID_KEY],
156 self.network[wutils.WifiEnums.PWD_KEY],
309 asserts.assert_true(wifi_ap[wutils.WifiEnums.SSID_KEY] == config[wutils.WifiEnums.SSID_KEY],
491 wifi_ap[wutils.WifiEnums.SSID_KEY] == \
492 self.network[wutils.WifiEnums.SSID_KEY],
497 config = {wutils.WifiEnums.SSID_KEY: self.new_ssid}
498 config[wutils.WifiEnums.PWD_KEY] = self.network[wutils.WifiEnums.PWD_KEY]
499 config[wutils.WifiEnums.AP_BAND_KEY] = WIFI_CONFIG_APBAND_2G
507 new_network = {wutils.WifiEnums.SSID_KEY: self.new_ssid,
508 wutils.WifiEnums.PWD_KEY: \
[all …]
DWifiCrashStressTest.py26 WifiEnums = wutils.WifiEnums variable
144 self.dut, sap_config[wutils.WifiEnums.SSID_KEY],
145 sap_config[wutils.WifiEnums.PWD_KEY], wutils.WifiEnums.WIFI_CONFIG_APBAND_2G)
147 "SSID": sap_config[wutils.WifiEnums.SSID_KEY],
148 "password": sap_config[wutils.WifiEnums.PWD_KEY]
200 self.dut, sap_config[wutils.WifiEnums.SSID_KEY],
201 sap_config[wutils.WifiEnums.PWD_KEY], wutils.WifiEnums.WIFI_CONFIG_APBAND_2G)
203 "SSID": sap_config[wutils.WifiEnums.SSID_KEY],
204 "password": sap_config[wutils.WifiEnums.PWD_KEY]
DWifiPnoTest.py24 WifiEnums = wutils.WifiEnums variable
102 connection_info[WifiEnums.SSID_KEY],
103 expected_con[WifiEnums.SSID_KEY])
110 expected_ssid = expected_con[WifiEnums.SSID_KEY]
111 verify_con = {WifiEnums.SSID_KEY: expected_ssid}
127 network[WifiEnums.SSID_KEY] = ssid_name_base + str(i)
128 network[WifiEnums.PWD_KEY] = "pno_dummy"
DWifiSoftApPerformanceTest.py112 info['channel'] = wutils.WifiEnums.freq_to_channel[int(
128 wutils.set_wifi_country_code(dev, wutils.WifiEnums.CountryCode.US)
134 sap_config[wutils.WifiEnums.SSID_KEY],
135 sap_config[wutils.WifiEnums.PWD_KEY],
141 'SSID': sap_config[wutils.WifiEnums.SSID_KEY],
142 'password': sap_config[wutils.WifiEnums.PWD_KEY]
208 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G,
216 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G,
224 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_5G,
232 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_5G,
DWifiScannerScanTest.py87 "band": wutils.WifiEnums.WIFI_BAND_BOTH,
89 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN
92 "band": wutils.WifiEnums.WIFI_BAND_BOTH,
94 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_BUFFER_FULL
134 scan_types_setting = [wutils.WifiEnums.WIFI_BAND_BOTH]
143 [wutils.WifiEnums.WIFI_BAND_24_GHZ,
144 wutils.WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS,
145 wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS])
154 if report_result == wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT:
359 if scan_setting_type == wutils.WifiEnums.SCAN_TYPE_LOW_LATENCY \
[all …]
DWifiRttManagerTest.py26 WifiEnums = wutils.WifiEnums variable
29 RttParam = WifiEnums.RttParam
31 Rtt = WifiEnums.Rtt
32 RttBW = WifiEnums.RttBW
33 RttPreamble = WifiEnums.RttPreamble
34 RttPeerType = WifiEnums.RttPeerType
35 RttType = WifiEnums.RttType
37 ScanResult = WifiEnums.ScanResult
38 RTT_MARGIN_OF_ERROR = WifiEnums.RTT_MARGIN_OF_ERROR
180 WifiEnums.BSSID_KEY: self.vht80_5g[WifiEnums.BSSID_KEY],
[all …]
DWifiScannerBssidTest.py49 "band": wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS,
51 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN,
103 "reportEvents"] == wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN:
139 if bssid_setting[wutils.WifiEnums.BSSID_KEY] == result[
140 wutils.WifiEnums.BSSID_KEY]:
143 % result[wutils.WifiEnums.BSSID_KEY])
161 if found_result[wutils.WifiEnums.BSSID_KEY] == bssid_setting[
162 wutils.WifiEnums.BSSID_KEY]:
292 string += bssid_setting[wutils.WifiEnums.BSSID_KEY]
371 scan_setting = {"band": wutils.WifiEnums.WIFI_BAND_5_GHZ,
[all …]
DWifiLinkProbeTest.py24 WifiEnums = wutils.WifiEnums variable
105 expected = network[WifiEnums.SSID_KEY]
106 actual = wifi_info[WifiEnums.SSID_KEY]
135 expected = network[WifiEnums.SSID_KEY]
136 actual = wifi_info[WifiEnums.SSID_KEY]
DWifiStressTest.py33 WifiEnums = wutils.WifiEnums variable
111 ssid = network[WifiEnums.SSID_KEY]
122 ssid = network[WifiEnums.SSID_KEY]
192 connection_info[WifiEnums.SSID_KEY],
193 expected_con[WifiEnums.SSID_KEY])
206 expected_ssid = expected_con[WifiEnums.SSID_KEY]
207 verify_con = {WifiEnums.SSID_KEY: expected_ssid}
295 wutils.wifi_forget_network(self.dut,self.wpa_5g[WifiEnums.SSID_KEY])
385 ssids.append(network[WifiEnums.SSID_KEY])
392 cur_ssid = cur_network[WifiEnums.SSID_KEY]
[all …]
DWifiSoftApTest.py36 WifiEnums = wutils.WifiEnums variable
65 wutils.set_wifi_country_code(self.dut, wutils.WifiEnums.CountryCode.US)
66 wutils.set_wifi_country_code(self.dut_client, wutils.WifiEnums.CountryCode.US)
81 wutils.set_wifi_country_code(self.android_devices[2], wutils.WifiEnums.CountryCode.US)
117 config = {wutils.WifiEnums.SSID_KEY: ap_ssid}
118 config[wutils.WifiEnums.PWD_KEY] = ap_password
197 config[wutils.WifiEnums.SSID_KEY],
198 config[wutils.WifiEnums.PWD_KEY], band, hidden)
202 config[wutils.WifiEnums.SSID_KEY])
205 config[wutils.WifiEnums.HIDDEN_KEY] = True
[all …]
DWifiRoamingTest.py29 WifiEnums = wutils.WifiEnums variable
175 WifiEnums.SSID_KEY: expected_con[WifiEnums.SSID_KEY],
176 WifiEnums.BSSID_KEY: expected_con["bssid"],
184 expected_con[WifiEnums.BSSID_KEY])
187 expected_con[WifiEnums.BSSID_KEY])
DWifiTeleCoexTest.py18 WifiEnums = wifi_utils.WifiEnums variable
42 self.network = { WifiEnums.SSID_KEY : self.wifi_network_ssid,
43 WifiEnums.PWD_KEY : self.wifi_network_pass
70 wifi_utils.assert_network_in_list({WifiEnums.SSID_KEY:
74 network[WifiEnums.SSID_KEY], ad.serial))
164 if wifi_info[WifiEnums.SSID_KEY] != self.wifi_network_ssid:
DWifiStaApConcurrencyTest.py31 WifiEnums = wutils.WifiEnums variable
64 wutils.set_wifi_country_code(ad, WifiEnums.CountryCode.US)
145 ssid = network[WifiEnums.SSID_KEY]
159 config = {wutils.WifiEnums.SSID_KEY: ap_ssid}
160 config[wutils.WifiEnums.PWD_KEY] = ap_password
178 config[WifiEnums.SSID_KEY],
179 config[WifiEnums.PWD_KEY],
319 self.dut, self.open_5g[WifiEnums.SSID_KEY])
373 self.dut, self.open_2g[WifiEnums.SSID_KEY])
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py75 class WifiEnums(): class
437 WifiEnums.WIFI_BAND_24_GHZ: self.ALL_2G_FREQUENCIES,
438 WifiEnums.WIFI_BAND_5_GHZ: self.NONE_DFS_5G_FREQUENCIES,
439 WifiEnums.WIFI_BAND_5_GHZ_DFS_ONLY: self.DFS_5G_FREQUENCIES,
440 WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS: self.ALL_5G_FREQUENCIES,
441 WifiEnums.WIFI_BAND_BOTH:
443 WifiEnums.WIFI_BAND_BOTH_WITH_DFS:
755 if net_ssid in n[WifiEnums.SSID_KEY]:
793 set_wifi_country_code(ad, WifiEnums.CountryCode.US)
809 ad.droid.wifiSetCountryCode(WifiEnums.CountryCode.US)
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/power/cellular/
Dcellular_hotspot_traffic_power_test.py68 if not (wutils.WifiEnums.SSID_KEY in self.network
69 and wutils.WifiEnums.PWD_KEY in self.network):
73 self.CONFIG_KEY_WIFI, wutils.WifiEnums.SSID_KEY,
74 wutils.WifiEnums.PWD_KEY))
82 wutils.WifiEnums.SSID_KEY,
83 wutils.WifiEnums.PWD_KEY))
86 wutils.WifiEnums.SSID_KEY: "Pixel_1030",
87 wutils.WifiEnums.PWD_KEY: "1234567890"
110 self.network[wutils.WifiEnums.SSID_KEY],
111 self.network[wutils.WifiEnums.PWD_KEY],
/tools/test/connectivity/acts/tests/google/power/wifi/
DPowerWiFiHotspotTest.py70 if not (wutils.WifiEnums.SSID_KEY in self.network
71 and wutils.WifiEnums.PWD_KEY in self.network):
75 self.CONFIG_KEY_WIFI, wutils.WifiEnums.SSID_KEY,
76 wutils.WifiEnums.PWD_KEY))
84 wutils.WifiEnums.SSID_KEY,
85 wutils.WifiEnums.PWD_KEY))
88 wutils.WifiEnums.SSID_KEY: 'Pixel_1030',
89 wutils.WifiEnums.PWD_KEY: '1234567890'
138 self.dut, self.network[wutils.WifiEnums.SSID_KEY],
139 self.network[wutils.WifiEnums.PWD_KEY], wifi_band_id)

123