/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiBridgedApTest.py | 30 WifiEnums = wutils.WifiEnums variable 86 ad, wutils.WifiEnums.CountryCode.US) 130 if len(bands) == 1 and (bands[0] == WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G): 133 in WifiEnums.softap_band_frequencies[bands[0]], 135 if len(bands) == 2 and (bands[0] == WifiEnums.WIFI_CONFIG_SOFTAP_BAND_2G): 138 in WifiEnums.ALL_2G_FREQUENCIES and 141 in WifiEnums.ALL_5G_FREQUENCIES) or 144 in WifiEnums.ALL_5G_FREQUENCIES and 147 in WifiEnums.ALL_2G_FREQUENCIES), 159 softap_freqs.append(infos[i][WifiEnums.frequency_key]) [all …]
|
D | WifiNetworkSuggestionTest.py | 33 WifiEnums = wutils.WifiEnums variable 35 EAP = WifiEnums.Eap 36 EapPhase2 = WifiEnums.EapPhase2 38 Ent = WifiEnums.Enterprise 97 self.passpoint_network[WifiEnums.SSID_KEY] = \ 98 self.passpoint_networks[BOINGO][WifiEnums.SSID_KEY][0] 242 network_suggestions, wifi_network[WifiEnums.SSID_KEY], None) 250 wutils.wait_for_connect(self.dut, wifi_network[WifiEnums.SSID_KEY]) 255 network_suggestions, wifi_network[WifiEnums.SSID_KEY]) 274 [self.wpa_psk_2g], self.wpa_psk_2g[WifiEnums.SSID_KEY], [all …]
|
D | WifiEnterpriseTest.py | 26 WifiEnums = wutils.WifiEnums variable 30 EAP = WifiEnums.Eap 31 EapPhase2 = WifiEnums.EapPhase2 33 Ent = WifiEnums.Enterprise 92 WifiEnums.SSID_KEY: self.ent_network_5g[WifiEnums.SSID_KEY], 96 self.config_peap1[WifiEnums.SSID_KEY] = \ 97 self.ent_network_2g[WifiEnums.SSID_KEY] 101 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 113 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 120 WifiEnums.SSID_KEY: self.ent_network_pwd[WifiEnums.SSID_KEY], [all …]
|
D | WifiScannerMultiScanTest.py | 28 WifiEnums = wutils.WifiEnums variable 186 if not (report_type & WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN): 280 if report_type & WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN: 382 & WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT): 417 scan_settings = [{"band": WifiEnums.WIFI_BAND_24_GHZ, 420 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN, 422 {"band": WifiEnums.WIFI_BAND_5_GHZ, 425 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN, 447 scan_settings = [{"band": WifiEnums.WIFI_BAND_24_GHZ, 450 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN, [all …]
|
D | WifiEnterpriseRoamingTest.py | 20 WifiEnums = wutils.WifiEnums variable 23 EAP = WifiEnums.Eap 24 EapPhase2 = WifiEnums.EapPhase2 27 Ent = WifiEnums.Enterprise 70 self.ent_roaming_ssid = self.ent_network_2g_a[WifiEnums.SSID_KEY] 72 self.bssid_a = self.ent_network_2g_a[WifiEnums.BSSID_KEY.lower()] 73 self.bssid_b = self.ent_network_2g_b[WifiEnums.BSSID_KEY.lower()] 84 WifiEnums.SSID_KEY: self.ent_roaming_ssid 89 WifiEnums.SSID_KEY: self.ent_roaming_ssid, 100 WifiEnums.SSID_KEY: self.ent_roaming_ssid [all …]
|
D | WifiWpa3EnterpriseTest.py | 22 WifiEnums = wutils.WifiEnums variable 24 EAP = WifiEnums.Eap 25 Ent = WifiEnums.Enterprise 70 WifiEnums.SSID_KEY: self.wpa3_ec2_network[WifiEnums.SSID_KEY], 73 WifiEnums.SECURITY: WPA3_SECURITY, 85 WifiEnums.SSID_KEY: self.wpa3_rsa3072_network[WifiEnums.SSID_KEY], 88 WifiEnums.SECURITY: WPA3_SECURITY, 102 WifiEnums.SSID_KEY: self.wpa3_rsa3072_network[WifiEnums.SSID_KEY], 105 WifiEnums.SECURITY: WPA3_SECURITY, 123 WifiEnums.SSID_KEY: self.wpa3_rsa3072_network[WifiEnums.SSID_KEY], [all …]
|
D | WifiManagerTest.py | 36 WifiEnums = wutils.WifiEnums variable 132 SSID = network[WifiEnums.SSID_KEY] 152 ssid_id_dict[WifiEnums.NETID_KEY] = connect_data[WifiEnums.NETID_KEY] 153 ssid_id_dict[WifiEnums.SSID_KEY] = connect_data[WifiEnums.SSID_KEY] 186 if wifi_info[WifiEnums.SSID_KEY] == network1[WifiEnums.SSID_KEY]: 212 WifiEnums.SSID_KEY: network[WifiEnums.SSID_KEY] 217 network[WifiEnums.SSID_KEY]) 219 network[WifiEnums.NETID_KEY] = exists[0]['networkId'] 243 connect_ssid = connect_data[WifiEnums.SSID_KEY] 261 SSID = network[WifiEnums.SSID_KEY] [all …]
|
D | WifiSoftApTest.py | 29 WifiEnums = wutils.WifiEnums variable 30 WIFI_CONFIG_APBAND_2G = WifiEnums.WIFI_CONFIG_APBAND_2G 31 WIFI_CONFIG_APBAND_5G = WifiEnums.WIFI_CONFIG_APBAND_5G 32 WIFI_CONFIG_APBAND_AUTO = WifiEnums.WIFI_CONFIG_APBAND_AUTO 33 WPA3_SAE_TRANSITION_SOFTAP = WifiEnums.SoftApSecurityType.WPA3_SAE_TRANSITION 34 WPA3_SAE_SOFTAP = WifiEnums.SoftApSecurityType.WPA3_SAE 88 self.country_code = wutils.WifiEnums.CountryCode.US 119 ad, wutils.WifiEnums.CountryCode.AUSTRALIA) 141 config = {wutils.WifiEnums.SSID_KEY: ap_ssid} 142 config[wutils.WifiEnums.PWD_KEY] = ap_password [all …]
|
D | WifiScannerScanTest.py | 93 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 95 "reportEvents": wutils.WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN 98 "band": wutils.WifiEnums.WIFI_BAND_BOTH, 100 "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 …]
|
D | WifiWpaPersonalTest.py | 28 WifiEnums = wutils.WifiEnums variable 107 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY]) 122 self.dut, self.wpa_psk_5g[WifiEnums.SSID_KEY]) 137 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY]) 152 self.dut, self.wpa_psk_5g[WifiEnums.SSID_KEY]) 166 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY]) 182 self.dut, self.wpa_psk_5g[WifiEnums.SSID_KEY]) 202 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY]) 212 self.wpa_psk_2g[WifiEnums.SSID_KEY]) 230 self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY]) [all …]
|
D | WifiTetheringTest.py | 145 self.network[wutils.WifiEnums.SSID_KEY], 146 self.network[wutils.WifiEnums.PWD_KEY], 299 asserts.assert_true(wifi_ap[wutils.WifiEnums.SSID_KEY] == config[wutils.WifiEnums.SSID_KEY], 487 wifi_ap[wutils.WifiEnums.SSID_KEY] == \ 488 self.network[wutils.WifiEnums.SSID_KEY], 496 config = {wutils.WifiEnums.SSID_KEY: self.new_ssid} 497 config[wutils.WifiEnums.PWD_KEY] = self.network[wutils.WifiEnums.PWD_KEY] 498 config[wutils.WifiEnums.AP_BAND_KEY] = WIFI_CONFIG_APBAND_2G 506 new_network = {wutils.WifiEnums.SSID_KEY: self.new_ssid, 507 wutils.WifiEnums.PWD_KEY: \ [all …]
|
D | WifiSoftApPerformanceTest.py | 125 info['channel'] = wutils.WifiEnums.freq_to_channel[int( 152 wutils.set_wifi_country_code(dev, wutils.WifiEnums.CountryCode.US) 170 sap_config[wutils.WifiEnums.SSID_KEY], 171 sap_config[wutils.WifiEnums.PWD_KEY], 175 'SSID': sap_config[wutils.WifiEnums.SSID_KEY], 176 'password': sap_config[wutils.WifiEnums.PWD_KEY] 299 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G, 308 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G, 317 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_5G, 326 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_5G, [all …]
|
D | WifiChannelSwitchStressTest.py | 33 WifiEnums = wutils.WifiEnums variable 59 wutils.set_wifi_country_code(ad, WifiEnums.CountryCode.US) 77 WifiEnums.ALL_2G_FREQUENCIES) 79 WifiEnums.NONE_DFS_5G_FREQUENCIES) 145 freq_to_chan = wutils.WifiEnums.freq_to_channel[int(channel)] 171 self.config[wutils.WifiEnums.SSID_KEY], 172 self.config[wutils.WifiEnums.PWD_KEY], 173 WifiEnums.WIFI_CONFIG_APBAND_2G) 212 self.config[wutils.WifiEnums.SSID_KEY], 213 self.config[wutils.WifiEnums.PWD_KEY], [all …]
|
D | WifiPasspointTest.py | 33 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: 227 if current_passpoint[WifiEnums.SSID_KEY] not in osu_config[ 253 ssid = passpoint_config[WifiEnums.SSID_KEY] 274 ssid = passpoint_config[WifiEnums.SSID_KEY] 339 ssid = passpoint_config[WifiEnums.SSID_KEY] 360 passpoint_ssid.extend(passpoint_config[WifiEnums.SSID_KEY]) [all …]
|
D | WifiNetworkRequestTest.py | 29 WifiEnums = wutils.WifiEnums variable 159 network_ssid = network_specifier.pop(WifiEnums.SSID_KEY) 162 network_specifier[WifiEnums.SSID_PATTERN_KEY] = network_ssid[:-1] + ".*" 290 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]}, 294 bssid = match_results[0][WifiEnums.BSSID_KEY] 297 network_specifier_with_bssid[WifiEnums.BSSID_KEY] = bssid 347 self.dut.droid.wifiUserDisconnectNetwork(self.wpa_psk_2g[WifiEnums.SSID_KEY]) 362 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]}, 366 bssid = match_results[0][WifiEnums.BSSID_KEY] 369 network_specifier_with_bssid[WifiEnums.BSSID_KEY] = bssid [all …]
|
D | WifiRttManagerTest.py | 26 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 …]
|
D | WifiConnectedMacRandomizationTest.py | 32 WifiEnums = wutils.WifiEnums variable 156 ssid_id_dict[WifiEnums.NETID_KEY] = connect_data[WifiEnums.NETID_KEY] 157 ssid_id_dict[WifiEnums.SSID_KEY] = connect_data[WifiEnums.SSID_KEY] 204 connect_data_2g[WifiEnums.NETID_KEY], 205 connect_data_2g[WifiEnums.SSID_KEY]) 217 connect_data_5g[WifiEnums.NETID_KEY], 218 connect_data_5g[WifiEnums.SSID_KEY]) 241 config[wutils.WifiEnums.SSID_KEY], 242 config[wutils.WifiEnums.PWD_KEY],
|
D | WifiStressTest.py | 33 WifiEnums = wutils.WifiEnums variable 115 ssid = network[WifiEnums.SSID_KEY] 126 ssid = network[WifiEnums.SSID_KEY] 196 connection_info[WifiEnums.SSID_KEY], 197 expected_con[WifiEnums.SSID_KEY]) 210 expected_ssid = expected_con[WifiEnums.SSID_KEY] 211 verify_con = {WifiEnums.SSID_KEY: expected_ssid} 299 wutils.wifi_forget_network(self.dut,self.wpa_5g[WifiEnums.SSID_KEY]) 390 ssids.append(network[WifiEnums.SSID_KEY]) 397 cur_ssid = cur_network[WifiEnums.SSID_KEY] [all …]
|
D | WifiCrashStressTest.py | 26 WifiEnums = wutils.WifiEnums variable 139 self.dut, sap_config[wutils.WifiEnums.SSID_KEY], 140 sap_config[wutils.WifiEnums.PWD_KEY], wutils.WifiEnums.WIFI_CONFIG_APBAND_2G) 142 "SSID": sap_config[wutils.WifiEnums.SSID_KEY], 143 "password": sap_config[wutils.WifiEnums.PWD_KEY] 195 self.dut, sap_config[wutils.WifiEnums.SSID_KEY], 196 sap_config[wutils.WifiEnums.PWD_KEY], wutils.WifiEnums.WIFI_CONFIG_APBAND_2G) 198 "SSID": sap_config[wutils.WifiEnums.SSID_KEY], 199 "password": sap_config[wutils.WifiEnums.PWD_KEY]
|
D | WifiScannerBssidTest.py | 49 "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 …]
|
D | WifiCrashTest.py | 31 WifiEnums = wutils.WifiEnums variable 111 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]: 134 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]: 164 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]: 187 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
|
D | WifiAutoUpdateTest.py | 28 WifiEnums = wutils.WifiEnums variable 29 SSID = WifiEnums.SSID_KEY 30 PWD = WifiEnums.PWD_KEY 31 NETID = WifiEnums.NETID_KEY 128 band = WifiEnums.WIFI_CONFIG_SOFTAP_BAND_5G 129 self.wifi_hotspot[WifiEnums.AP_BAND_KEY] = band 135 wifi_ap[WifiEnums.SSID_KEY] == self.wifi_hotspot[WifiEnums.SSID_KEY], 139 band = WifiEnums.WIFI_CONFIG_APBAND_5G_OLD 140 self.wifi_hotspot[WifiEnums.AP_BAND_KEY] = band 146 wifi_ap[WifiEnums.SSID_KEY] == self.wifi_hotspot[WifiEnums.SSID_KEY],
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_test_utils.py | 67 class WifiEnums(): class 452 WifiEnums.WIFI_BAND_24_GHZ: 454 WifiEnums.WIFI_BAND_5_GHZ: 456 WifiEnums.WIFI_BAND_5_GHZ_DFS_ONLY: 458 WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS: 460 WifiEnums.WIFI_BAND_BOTH: 462 WifiEnums.WIFI_BAND_BOTH_WITH_DFS: 792 if net_ssid in n[WifiEnums.SSID_KEY] and n['networkId'] not in removed: 834 set_wifi_country_code(ad, WifiEnums.CountryCode.US) 851 ad.droid.wifiSetCountryCode(WifiEnums.CountryCode.US) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/wifi6/ |
D | WifiEnterprise11axTest.py | 20 WifiEnums = wutils.WifiEnums variable 22 EAP = WifiEnums.Eap 23 EapPhase2 = WifiEnums.EapPhase2 24 Ent = WifiEnums.Enterprise 98 WifiEnums.SSID_KEY: self.ent_network_5g[WifiEnums.SSID_KEY], 102 self.config_peap1[WifiEnums.SSID_KEY] = self.ent_network_2g[ 103 WifiEnums.SSID_KEY] 107 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 119 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 124 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/ |
D | cellular_hotspot_traffic_power_test.py | 68 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],
|