/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiEnterpriseTest.py | 29 WifiEnums = wutils.WifiEnums variable 32 EAP = WifiEnums.Eap 33 EapPhase2 = WifiEnums.EapPhase2 35 Ent = WifiEnums.Enterprise 78 WifiEnums.SSID_KEY: self.ent_network_5g[WifiEnums.SSID_KEY], 81 self.config_peap1[WifiEnums.SSID_KEY] = \ 82 self.ent_network_2g[WifiEnums.SSID_KEY] 86 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 97 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 103 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): 290 if report_type & WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN: 392 & WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT): 427 scan_settings = [{"band": WifiEnums.WIFI_BAND_24_GHZ, 430 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN, 432 {"band": WifiEnums.WIFI_BAND_5_GHZ, 435 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN, 457 scan_settings = [{"band": WifiEnums.WIFI_BAND_24_GHZ, 460 WifiEnums.REPORT_EVENT_AFTER_EACH_SCAN, [all …]
|
D | WifiNetworkSuggestionTest.py | 33 WifiEnums = wutils.WifiEnums variable 35 EAP = WifiEnums.Eap 36 EapPhase2 = WifiEnums.EapPhase2 38 Ent = WifiEnums.Enterprise 87 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 95 WifiEnums.SSID_KEY: self.ent_network_2g[WifiEnums.SSID_KEY], 211 network_suggestions, wifi_network[WifiEnums.SSID_KEY], None) 217 wutils.wait_for_connect(self.dut, wifi_network[WifiEnums.SSID_KEY]) 220 network_suggestions, wifi_network[WifiEnums.SSID_KEY]) 234 [self.wpa_psk_2g], self.wpa_psk_2g[WifiEnums.SSID_KEY], [all …]
|
D | WifiManagerTest.py | 33 WifiEnums = wutils.WifiEnums variable 117 SSID = network[WifiEnums.SSID_KEY] 137 ssid_id_dict[WifiEnums.NETID_KEY] = connect_data[WifiEnums.NETID_KEY] 138 ssid_id_dict[WifiEnums.SSID_KEY] = connect_data[WifiEnums.SSID_KEY] 171 if wifi_info[WifiEnums.SSID_KEY] == network1[WifiEnums.SSID_KEY]: 197 WifiEnums.SSID_KEY: network[WifiEnums.SSID_KEY] 202 network[WifiEnums.SSID_KEY]) 204 network[WifiEnums.NETID_KEY] = exists[0]['networkId'] 228 connect_ssid = connect_data[WifiEnums.SSID_KEY] 244 SSID = network[WifiEnums.SSID_KEY] [all …]
|
D | WifiEnterpriseRoamingTest.py | 26 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 …]
|
D | WifiScannerScanTest.py | 87 "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 137 scan_types_setting = [wutils.WifiEnums.WIFI_BAND_BOTH] 146 [wutils.WifiEnums.WIFI_BAND_24_GHZ, 147 wutils.WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS, 148 wutils.WifiEnums.WIFI_BAND_BOTH_WITH_DFS]) 157 if report_result == wutils.WifiEnums.REPORT_EVENT_FULL_SCAN_RESULT: 362 if scan_setting_type == wutils.WifiEnums.SCAN_TYPE_LOW_LATENCY \ [all …]
|
D | WifiNetworkRequestTest.py | 33 WifiEnums = wutils.WifiEnums variable 170 network_ssid = network_specifier.pop(WifiEnums.SSID_KEY) 173 network_specifier[WifiEnums.SSID_PATTERN_KEY] = network_ssid[:-1] + ".*" 292 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]}, 296 bssid = match_results[0][WifiEnums.BSSID_KEY] 299 network_specifier_with_bssid[WifiEnums.BSSID_KEY] = bssid 306 wutils.wait_for_connect(self.dut, self.wpa_psk_2g[WifiEnums.SSID_KEY]) 337 self.wpa_psk_2g[WifiEnums.SSID_KEY]) 348 {WifiEnums.SSID_KEY: self.wpa_psk_2g[WifiEnums.SSID_KEY]}, 352 bssid = match_results[0][WifiEnums.BSSID_KEY] [all …]
|
D | WifiTetheringTest.py | 153 self.network[wutils.WifiEnums.SSID_KEY], 154 self.network[wutils.WifiEnums.PWD_KEY], 307 asserts.assert_true(wifi_ap[wutils.WifiEnums.SSID_KEY] == config[wutils.WifiEnums.SSID_KEY], 498 wifi_ap[wutils.WifiEnums.SSID_KEY] == \ 499 self.network[wutils.WifiEnums.SSID_KEY], 504 config = {wutils.WifiEnums.SSID_KEY: self.new_ssid} 505 config[wutils.WifiEnums.PWD_KEY] = self.network[wutils.WifiEnums.PWD_KEY] 506 config[wutils.WifiEnums.APBAND_KEY] = WIFI_CONFIG_APBAND_2G 514 new_network = {wutils.WifiEnums.SSID_KEY: self.new_ssid, 515 wutils.WifiEnums.PWD_KEY: \ [all …]
|
D | WifiAutoUpdateTest.py | 32 WifiEnums = wutils.WifiEnums variable 128 WifiEnums.SSID_KEY: network[WifiEnums.SSID_KEY], 129 WifiEnums.NETID_KEY: ret}) 141 network[WifiEnums.SSID_KEY] = ssid_name_base + str(i) 142 network[WifiEnums.PWD_KEY] = "dummynet_password" 168 WifiEnums.SSID_KEY: network[WifiEnums.SSID_KEY] 173 network[WifiEnums.SSID_KEY]) 175 network[WifiEnums.NETID_KEY] = exists[0]['networkId'] 209 self.reference_networks[0]['2g'][WifiEnums.SSID_KEY]) 211 self.open_network[0]['5g'][WifiEnums.SSID_KEY]) [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 | WifiPasspointTest.py | 35 WifiEnums = wutils.WifiEnums variable 105 asserts.assert_true(WifiEnums.SSID_KEY in passpoint_config, 107 WifiEnums.SSID_KEY) 127 wutils.assert_network_in_list({WifiEnums.SSID_KEY: ssid}, scan_results) 133 if network_info[WifiEnums.SSID_KEY] != passpoint_network: 192 if current_passpoint[WifiEnums.SSID_KEY] not in osu_config[ 218 ssid = passpoint_config[WifiEnums.SSID_KEY] 239 ssid = passpoint_config[WifiEnums.SSID_KEY] 309 passpoint_ssid.append(passpoint_config[WifiEnums.SSID_KEY]) 316 current_ssid = current_passpoint[WifiEnums.SSID_KEY] [all …]
|
D | WifiStressTest.py | 33 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 …]
|
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 | WifiConnectedMacRandomizationTest.py | 32 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],
|
D | WifiCrashStressTest.py | 26 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]
|
D | WifiSoftApTest.py | 63 wutils.set_wifi_country_code(self.dut, wutils.WifiEnums.CountryCode.US) 64 wutils.set_wifi_country_code(self.dut_client, wutils.WifiEnums.CountryCode.US) 79 wutils.set_wifi_country_code(self.android_devices[2], wutils.WifiEnums.CountryCode.US) 113 config = {wutils.WifiEnums.SSID_KEY: ap_ssid} 114 config[wutils.WifiEnums.PWD_KEY] = ap_password 193 config[wutils.WifiEnums.SSID_KEY], 194 config[wutils.WifiEnums.PWD_KEY], band, hidden) 198 config[wutils.WifiEnums.SSID_KEY]) 201 config[wutils.WifiEnums.HIDDEN_KEY] = True 205 self.confirm_softap_in_scan_results(config[wutils.WifiEnums.SSID_KEY]) [all …]
|
D | WifiCrashTest.py | 31 WifiEnums = wutils.WifiEnums variable 105 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]: 128 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]: 151 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]: 174 if wifi_info[WifiEnums.SSID_KEY] != self.network[WifiEnums.SSID_KEY]:
|
D | WifiSoftApPerformanceTest.py | 110 info['channel'] = wutils.WifiEnums.freq_to_channel[int( 127 wutils.set_wifi_country_code(dev, wutils.WifiEnums.CountryCode.US) 133 sap_config[wutils.WifiEnums.SSID_KEY], 134 sap_config[wutils.WifiEnums.PWD_KEY], 141 'SSID': sap_config[wutils.WifiEnums.SSID_KEY], 142 'password': sap_config[wutils.WifiEnums.PWD_KEY] 210 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G, 218 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_2G, 226 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_5G, 234 sap_band_enum=wutils.WifiEnums.WIFI_CONFIG_APBAND_5G,
|
D | WifiStaApConcurrencyTest.py | 31 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])
|
D | WifiPnoTest.py | 24 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_test"
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_test_utils.py | 74 class WifiEnums(): class 411 WifiEnums.WIFI_BAND_24_GHZ: self.ALL_2G_FREQUENCIES, 412 WifiEnums.WIFI_BAND_5_GHZ: self.NONE_DFS_5G_FREQUENCIES, 413 WifiEnums.WIFI_BAND_5_GHZ_DFS_ONLY: self.DFS_5G_FREQUENCIES, 414 WifiEnums.WIFI_BAND_5_GHZ_WITH_DFS: self.ALL_5G_FREQUENCIES, 415 WifiEnums.WIFI_BAND_BOTH: 417 WifiEnums.WIFI_BAND_BOTH_WITH_DFS: 728 if net_ssid in n[WifiEnums.SSID_KEY]: 766 set_wifi_country_code(ad, WifiEnums.CountryCode.US) 782 ad.droid.wifiSetCountryCode(WifiEnums.CountryCode.US) [all …]
|
/tools/test/connectivity/acts/framework/acts/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],
|
/tools/test/connectivity/acts_tests/tests/google/power/wifi/ |
D | PowerWiFiHotspotTest.py | 70 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)
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DataUsageTest.py | 297 network = {wutils.WifiEnums.SSID_KEY: ssid, 298 wutils.WifiEnums.PWD_KEY: pwd} 301 network[wutils.WifiEnums.SSID_KEY], 302 network[wutils.WifiEnums.PWD_KEY]) 305 dut_b, network[wutils.WifiEnums.SSID_KEY]) 387 network = {wutils.WifiEnums.SSID_KEY: ssid, 388 wutils.WifiEnums.PWD_KEY: pwd} 391 network[wutils.WifiEnums.SSID_KEY], 392 network[wutils.WifiEnums.PWD_KEY]) 395 dut_b, network[wutils.WifiEnums.SSID_KEY])
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/ |
D | RangeApSupporting11McTest.py | 294 WifiEnums = wutils.WifiEnums 295 ScanResult = WifiEnums.ScanResult 296 RttParam = WifiEnums.RttParam 297 RttBW = WifiEnums.RttBW 298 RttPreamble = WifiEnums.RttPreamble 299 RttType = WifiEnums.RttType 311 p[RttParam.BSSID] = scan_result[WifiEnums.BSSID_KEY]
|