Home
last modified time | relevance | path

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

123456

/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Danritsu_utils.py326 def save_anritsu_log_files(anritsu_handle, test_name, user_params): argument
339 md8475a_log_folder = user_params["anritsu_log_file_path"]
364 def _init_lte_bts(bts, user_params, cell_no, sim_card): argument
379 bts.mcc = get_lte_mcc(user_params, cell_no, sim_card)
380 bts.mnc = get_lte_mnc(user_params, cell_no, sim_card)
381 bts.band = get_lte_band(user_params, cell_no, sim_card)
382 bts.transmode = get_transmission_mode(user_params, cell_no)
383 bts.dl_antenna = get_dl_antenna(user_params, cell_no)
388 def _init_wcdma_bts(bts, user_params, cell_no, sim_card): argument
403 bts.mcc = get_wcdma_mcc(user_params, cell_no, sim_card)
[all …]
DTelephonyBaseTest.py107 tries = int(self.user_params.get("telephony_auto_rerun", 1))
133 if self.user_params.get("check_crash", True):
154 self.wifi_network_ssid = self.user_params.get(
155 "wifi_network_ssid") or self.user_params.get(
156 "wifi_network_ssid_2g") or self.user_params.get(
158 self.wifi_network_pass = self.user_params.get(
159 "wifi_network_pass") or self.user_params.get(
160 "wifi_network_pass_2g") or self.user_params.get(
164 self.qxdm_log = self.user_params.get("qxdm_log", True)
165 self.sdm_log = self.user_params.get("sdm_log", False)
[all …]
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/
DWlanScanTest.py50 if "AccessPoint" in self.user_params:
98 if "wlan_open_network_2g" in self.user_params:
99 self.open_network_2g = self.user_params.get("wlan_open_network_2g")
100 elif "AccessPoint" in self.user_params:
106 if "wlan_open_network_5g" in self.user_params:
107 self.open_network_5g = self.user_params.get("wlan_open_network_5g")
108 elif "AccessPoint" in self.user_params:
114 if "wlan_wpa2_network_2g" in self.user_params:
115 self.wpa2_network_2g = self.user_params.get("wlan_wpa2_network_2g")
116 elif "AccessPoint" in self.user_params:
[all …]
DChannelSweepTest.py84 if 'debug_channel_sweep_tests' in self.user_params:
89 if 'dut' in self.user_params:
90 if self.user_params['dut'] == 'fuchsia_devices':
92 elif self.user_params['dut'] == 'android_devices':
96 self.user_params['dut'])
218 for test_title in self.user_params['debug_channel_sweep_tests']:
DWlanInterfaceTest.py25 dut = self.user_params.get('dut', None)
32 raise ValueError('Invalid DUT specified in config. (%s)' % self.user_params['dut'])
/tools/test/connectivity/acts/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/google/gnss/
DAGNSSPerformanceTest.py60 if param not in self.user_params:
65 contest_ip = self.user_params[self.CONTEST_IP_KEY]
66 remote_port = self.user_params[self.REMOTE_SERVER_PORT_KEY]
67 automation_port = self.user_params[self.AUTOMATION_PORT_KEY]
68 listen_ip = self.user_params[self.AUTOMATION_LISTEN_IP]
69 ftp_user = self.user_params[self.FTP_USER_KEY]
70 ftp_password = self.user_params[self.FTP_PASSWORD_KEY]
71 custom_files = self.user_params.get(self.CUSTOM_FILES_KEY, [])
108 if testplan_formatted_key not in self.user_params:
114 self.testplan = self.user_params[testplan_formatted_key]
/tools/test/connectivity/acts/tests/google/fuchsia/bt/
DBluetoothCmdLineTest.py32 dut = self.user_params.get('dut', None)
42 self.user_params['dut'])
46 if not "target_device_name" in self.user_params.keys():
50 self.target_device_name = self.user_params["target_device_name"]
/tools/test/connectivity/acts/tests/google/wifi/
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"]
DWifiHiddenSSIDTest.py52 if "AccessPoint" in self.user_params:
77 if "AccessPoint" in self.user_params:
78 del self.user_params["reference_networks"]
79 del self.user_params["open_network"]
DWifiPreFlightTest.py60 if "AccessPoint" in self.user_params:
75 if "AccessPoint" in self.user_params:
76 del self.user_params["reference_networks"]
77 del self.user_params["open_network"]
DWifiDiagnosticsTest.py54 if "AccessPoint" in self.user_params:
77 if "AccessPoint" in self.user_params:
78 del self.user_params["open_network"]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
DWifiBaseTest.py331 self.user_params["reference_networks"] = []
332 self.user_params["open_network"] = []
334 self.user_params["wpa_networks"] = []
336 self.user_params["wep_networks"] = []
338 self.user_params["ent_networks"] = []
340 self.user_params["ent_networks_pwd"] = []
360 self.user_params["reference_networks"],
363 self.reference_networks = self.user_params["reference_networks"]
376 self.user_params["open_network"],
379 self.open_network = self.user_params["open_network"]
[all …]
/tools/test/connectivity/acts/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/google/tel/live/
DTelLiveStressDataTest.py29 self.iperf_server_address = self.user_params.get("iperf_server",
31 self.iperf_srv_tcp_port = self.user_params.get("iperf_server_tcp_port",
33 self.iperf_srv_udp_port = self.user_params.get("iperf_server_udp_port",
35 self.test_duration = self.user_params.get("data_stress_duration", 60)
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)
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/framework/acts/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/framework/tests/
DIntegrationTest.py29 asserts.assert_equal(self.user_params["icecream"], 42)
30 asserts.assert_equal(self.user_params["extra_param"], "haha")
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/
Dinstrumentation_base_test.py53 if 'instrumentation_config' in self.user_params:
55 self.user_params['instrumentation_config'][0])
56 elif Config.key_config_path.value in self.user_params:
58 self.user_params[Config.key_config_path.value],
170 if config_key not in self.user_params:
174 files = self.user_params[config_key]
/tools/test/connectivity/acts/tests/google/bt/power/
DSetupBTPairingTest.py43 self.bt_device = self.select_device_by_mac_address(self.user_params["mac_address"])
46 port = int(self.user_params["socket_port"])
47 timeout = float(self.user_params["socket_timeout_secs"])
/tools/test/connectivity/acts/tests/google/bt/sdp/
DSdpSetupTest.py82 if 'dut' in self.user_params:
83 if self.user_params['dut'] == 'fuchsia_devices':
85 elif self.user_params['dut'] == 'android_devices':
89 self.user_params['dut'])
/tools/test/connectivity/acts/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 …]
/tools/test/connectivity/acts/framework/acts/libs/ota/
Dota_updater.py24 def initialize(user_params, android_devices): argument
33 user_params, ad)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBluetoothBaseTest.py88 if result is not True and "bt_auto_rerun" in self.user_params:
123 if 'preferred_device_order' in self.user_params:
124 prefered_device_order = self.user_params['preferred_device_order']
131 if "reboot_between_test_class" in self.user_params:
144 if "bluetooth_proto_path" in self.user_params:
147 self.bluetooth_proto_path = self.user_params[
173 if "bluetooth_proto_path" in self.user_params:

123456