Home
last modified time | relevance | path

Searched refs:user_params (Results 1 – 25 of 168) sorted by relevance

1234567

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Danritsu_utils.py312 def save_anritsu_log_files(anritsu_handle, test_name, user_params): argument
325 md8475a_log_folder = user_params["anritsu_log_file_path"]
350 def _init_lte_bts(bts, user_params, cell_no, sim_card): argument
365 bts.mcc = get_lte_mcc(user_params, cell_no, sim_card)
366 bts.mnc = get_lte_mnc(user_params, cell_no, sim_card)
367 bts.band = get_lte_band(user_params, cell_no, sim_card)
368 bts.transmode = get_transmission_mode(user_params, cell_no)
369 bts.dl_antenna = get_dl_antenna(user_params, cell_no)
374 def _init_wcdma_bts(bts, user_params, cell_no, sim_card): argument
389 bts.mcc = get_wcdma_mcc(user_params, cell_no, sim_card)
[all …]
DTelephonyBaseTest.py108 tries = int(self.user_params.get("telephony_auto_rerun", 1))
134 if self.user_params.get("check_crash", True):
155 self.wifi_network_ssid = self.user_params.get(
156 "wifi_network_ssid") or self.user_params.get(
157 "wifi_network_ssid_2g") or self.user_params.get(
159 self.wifi_network_pass = self.user_params.get(
160 "wifi_network_pass") or self.user_params.get(
161 "wifi_network_pass_2g") or self.user_params.get(
165 self.qxdm_log = self.user_params.get("qxdm_log", True)
166 self.sdm_log = self.user_params.get("sdm_log", False)
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRoamingTest.py47 self.user_params[Config.key_config_path.value],
52 if "AccessPoint" in self.user_params:
57 if "AccessPoint" in self.user_params:
58 del self.user_params["reference_networks"]
59 del self.user_params["open_network"]
75 if "OpenWrtAP" in self.user_params:
161 if "OpenWrtAP" in self.user_params:
168 if "OpenWrtAP" in self.user_params:
175 if "OpenWrtAP" in self.user_params:
181 if "OpenWrtAP" in self.user_params:
[all …]
DWifiNetworkSelectorTest.py60 if "AccessPoint" in self.user_params:
63 elif "OpenWrtAP" in self.user_params:
88 if "AccessPoint" in self.user_params:
89 del self.user_params["reference_networks"]
90 del self.user_params["open_network"]
155 if "OpenWrtAP" in self.user_params:
178 if "OpenWrtAP" in self.user_params:
202 if "OpenWrtAP" in self.user_params:
225 if "OpenWrtAP" in self.user_params:
257 if "OpenWrtAP" in self.user_params:
[all …]
DWifiManagerTest.py79 if "AccessPoint" in self.user_params:
81 elif "OpenWrtAP" in self.user_params:
117 if "AccessPoint" in self.user_params:
118 del self.user_params["reference_networks"]
119 del self.user_params["open_network"]
249 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
258 if "iperf_server_address" in self.user_params:
291 if "iperf_server_address" not in self.user_params:
295 iperf_addr = self.user_params["iperf_server_address"]
394 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
[all …]
DWifiEnterpriseTest.py57 if "AccessPoint" in self.user_params:
67 elif "OpenWrtAP" in self.user_params:
246 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
251 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
336 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
342 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
348 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
354 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
360 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
368 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
[all …]
DWifiPnoTest.py42 if "AccessPoint" in self.user_params:
44 elif "OpenWrtAP" in self.user_params:
49 if "OpenWrtAP" in self.user_params:
74 if "AccessPoint" in self.user_params:
75 del self.user_params["reference_networks"]
76 del self.user_params["open_network"]
121 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
DWifiIOTConnectionTest.py44 self.pdu = pdu_controller_utils.create(self.user_params['Pdu'])[0]
128 self.user_params["iot_ssid"], key=lambda ssid: ssid["host"])
146 self.user_params["iot_password"]))
165 .format(self.user_params["pdu_wait_time"]))
166 time.sleep(self.user_params["pdu_wait_time"])
203 for i in range(self.user_params['iot_connection_iteration']):
230 connection_result['#Iteration'] = self.user_params[
259 if connection_pass < self.user_params['iot_connection_iteration']:
DSetupWifiNetworkTest.py31 port = int(self.user_params["socket_port"])
32 timeout = float(self.user_params["socket_timeout_secs"])
57 network_type = self.user_params["network_type"]
63 self.ssid = self.user_params["ssid"]
64 self.security = self.user_params["security"]
72 self.passphrase = self.user_params["passphrase"]
DWifiEnterpriseRoamingTest.py54 if "AccessPoint" in self.user_params:
61 elif "OpenWrtAP" in self.user_params:
71 if "AccessPoint" in self.user_params:
74 elif "OpenWrtAP" in self.user_params:
108 if "OpenWrtAP" in self.user_params:
180 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
185 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
189 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
DWifiWpa3OweTest.py42 if "OpenWrtAP" in self.user_params:
78 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
84 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
99 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
103 self.dut, self.wifi6_models, "wifi6_ap" in self.user_params)
/tools/test/connectivity/acts_tests/tests/google/gnss/
DLabTtffTest.py77 if param not in self.user_params:
84 self.spectracom_ip = self.user_params[self.SPECTRACOM_IP_KEY]
85 self.spectracom_port = self.user_params[self.SPECTRACOM_PORT_KEY]
86 self.spectracom_file = self.user_params[self.SPECTRACOM_FILES_KEY]
87 self.spectracom_power = self.user_params[self.SPECTRACOM_POWER_KEY]
88 self.gtw_gpstool_app = self.user_params[self.GTW_GPSTOOL_APP]
89 custom_files = self.user_params.get(self.CUSTOM_FILES_KEY, [])
90 self.cs_ttff_criteria = self.user_params.get(self.CSTTFF_CRITERIA, [])
91 self.hs_ttff_criteria = self.user_params.get(self.HSTTFF_CRITERIA, [])
92 self.ws_ttff_criteria = self.user_params.get(self.WSTTFF_CRITERIA, [])
[all …]
DAGNSSPerformanceTest.py69 if param not in self.user_params:
74 contest_ip = self.user_params[self.CONTEST_IP_KEY]
75 remote_port = self.user_params[self.REMOTE_SERVER_PORT_KEY]
76 automation_port = self.user_params[self.AUTOMATION_PORT_KEY]
77 listen_ip = self.user_params[self.AUTOMATION_LISTEN_IP]
78 ftp_user = self.user_params[self.FTP_USER_KEY]
79 ftp_password = self.user_params[self.FTP_PASSWORD_KEY]
80 custom_files = self.user_params.get(self.CUSTOM_FILES_KEY, [])
117 if testplan_formatted_key not in self.user_params:
123 self.testplan = self.user_params[testplan_formatted_key]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DWlanScanTest.py52 if "AccessPoint" in self.user_params:
100 if "wlan_open_network_2g" in self.user_params:
101 self.open_network_2g = self.user_params.get("wlan_open_network_2g")
102 elif "AccessPoint" in self.user_params:
108 if "wlan_open_network_5g" in self.user_params:
109 self.open_network_5g = self.user_params.get("wlan_open_network_5g")
110 elif "AccessPoint" in self.user_params:
116 if "wlan_wpa2_network_2g" in self.user_params:
117 self.wpa2_network_2g = self.user_params.get("wlan_wpa2_network_2g")
118 elif "AccessPoint" in self.user_params:
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
DWifiBaseTest.py65 self.user_params[Config.key_config_path.value],
79 self.user_params[Config.key_config_path.value],
583 self.user_params["reference_networks"] = []
584 self.user_params["open_network"] = []
586 self.user_params["wpa_networks"] = []
588 self.user_params["wep_networks"] = []
590 self.user_params["ent_networks"] = []
592 self.user_params["ent_networks_pwd"] = []
612 self.user_params["reference_networks"],
615 self.reference_networks = self.user_params["reference_networks"]
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/pts/
DBtCmdLineTest.py39 if not "target_mac_address" in self.user_params.keys():
43 self.target_mac_address = self.user_params[
49 if not "sim_conf_file" in self.user_params.keys():
53 sim_conf_file = self.user_params["sim_conf_file"][0]
58 self.user_params[Config.key_config_path.value],
68 if music_path_str not in self.user_params:
71 music_path = self.user_params[music_path_str]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/pts/
Dpts_base_class.py51 if 'dut' in self.user_params:
52 if self.user_params['dut'] == 'fuchsia_devices':
54 elif self.user_params['dut'] == 'android_devices':
58 self.user_params['dut'])
63 self.characteristic_read_not_permitted_uuid = self.user_params.get(
65 self.characteristic_read_not_permitted_handle = self.user_params.get(
67 self.characteristic_read_invalid_handle = self.user_params.get(
69 self.characteristic_attribute_not_found_uuid = self.user_params.get(
71 self.write_characteristic_not_permitted_handle = self.user_params.get(
147 rerun_count = self.user_params.get("pts_auto_rerun_count", 0)
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLivePreflightTest.py54 self.user_params["telephony_auto_rerun"] = 0
138 ota_package = self.user_params.get("ota_package")
147 ota_util = self.user_params.get("ota_util")
152 self.user_params["UpdateDeviceOtaTool"] = ota_util
153 self.user_params["ota_tool"] = "UpdateDeviceOtaTool"
155 self.user_params["AdbSideloadOtaTool"] = ota_util
156 self.user_params["ota_tool"] = "AdbSideloadOtaTool"
158 self.user_params["ota_tool"])
159 ota_updater.initialize(self.user_params, self.android_devices)
DTelLiveStressTest.py132 self.single_phone_test = self.user_params.get("single_phone_test",
135 self.file_download_method = self.user_params.get(
137 self.get_binder_logs = self.user_params.get("get_binder_logs", False)
142 self.call_server_number = self.user_params.get(
150 self.sdm_log = self.user_params.get("sdm_log", False)
154 if self.user_params.get("turn_on_tcpdump", False):
156 self.user_params["telephony_auto_rerun"] = 0
158 self.user_params.get("phone_call_iteration", 500))
160 self.user_params.get("max_phone_call_duration", 600))
161 self.min_sleep_time = int(self.user_params.get("min_sleep_time", 30))
[all …]
DTelLiveMobilityStressTest.py83 self.user_params["telephony_auto_rerun"] = False
85 self.user_params.get("max_phone_call_duration", 600))
86 self.max_sleep_time = int(self.user_params.get("max_sleep_time", 120))
87 self.max_run_time = int(self.user_params.get("max_run_time", 7200))
88 self.max_sms_length = int(self.user_params.get("max_sms_length", 1000))
89 self.max_mms_length = int(self.user_params.get("max_mms_length", 160))
91 self.user_params.get("crash_check_interval", 300))
93 self.user_params.get("signal_change_interval", 10))
95 self.user_params.get("signal_change_step", 5))
96 self.min_sms_length = int(self.user_params.get("min_sms_length", 1))
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabDataTest.py98 self.md8475a_ip_address = self.user_params[
100 self.wlan_option = self.user_params.get("anritsu_wlan_option", False)
101 self.md8475_version = self.user_params.get("md8475", "A")
102 self.step_size = self.user_params.get("power_step_size", 5)
103 self.start_power_level = self.user_params.get("start_power_level", -40)
104 self.stop_power_level = self.user_params.get("stop_power_level", -100)
105 self.lte_bandwidth = self.user_params.get("lte_bandwidth", 20)
137 [self.bts1] = set_simulation_func(self.anritsu, self.user_params,
140 set_post_sim_params(self.anritsu, self.user_params,
243 [self.bts1] = set_simulation_func(self.anritsu, self.user_params,
[all …]
DTelLabNeighborCellTest.py157 self.md8475a_ip_address = self.user_params[
159 self.mg3710a_ip_address = self.user_params[
161 self.wlan_option = self.user_params.get("anritsu_wlan_option", False)
162 self.md8475_version = self.user_params.get("md8475", "A")
164 if "lte_rssi_offset" in self.user_params:
165 self._LTE_RSSI_OFFSET = int(self.user_params["lte_rssi_offset"])
166 if "wcdma_rssi_offset" in self.user_params:
167 self._WCDMA_RSSI_OFFSET = int(self.user_params[
169 if "gsm_rssi_offset" in self.user_params:
170 self._GSM_RSSI_OFFSET = int(self.user_params["gsm_rssi_offset"])
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/functional/
DWifiP2pGroupTest.py45 if not "network_name" in self.user_params.keys():
47 self.network_name = self.user_params["network_name"]
48 if not "passphrase" in self.user_params.keys():
50 self.passphrase = self.user_params["passphrase"]
51 if not "group_band" in self.user_params.keys():
53 self.group_band = self.user_params["group_band"]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/
DChannelSweepTest.py89 if 'channel_sweep_test_params' in self.user_params:
90 self.time_to_wait_for_ip_addr = self.user_params[
99 if 'dut' in self.user_params:
100 if self.user_params['dut'] == 'fuchsia_devices':
102 elif self.user_params['dut'] == 'android_devices':
106 self.user_params['dut'])
119 self.channel_sweep_test_params = self.user_params.get(
793 return self.user_params.get('channel_sweep_test_params',
799 return self.user_params.get('channel_sweep_test_params',
805 return self.user_params.get('channel_sweep_test_params',
[all …]
DWlanRvrTest.py116 if 'dut' in self.user_params:
117 if self.user_params['dut'] == 'fuchsia_devices':
119 elif self.user_params['dut'] == 'android_devices':
123 self.user_params['dut'])
128 self.starting_attn = (self.user_params['rvr_settings'].get(
131 self.ending_attn = (self.user_params['rvr_settings'].get(
134 self.step_size_in_db = (self.user_params['rvr_settings'].get(
137 self.dwell_time_in_secs = (self.user_params['rvr_settings'].get(
141 (self.user_params['rvr_settings'].get('reverse_rvr_after_forward',
144 self.iperf_flags = (self.user_params['rvr_settings'].get(
[all …]

1234567