Home
last modified time | relevance | path

Searched refs:test_result (Results 1 – 25 of 49) sorted by relevance

12

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiThroughputStabilityTest.py154 def pass_fail_check(self, test_result): argument
166 (test_result['iperf_summary']['min_throughput'] /
167 test_result['iperf_summary']['avg_throughput']) *
169 std_deviation_check = test_result['iperf_summary'][
177 def post_process_results(self, test_result): argument
191 json.dump(wputils.serialize_dict(test_result), results_file)
197 test_result['iperf_summary']['avg_throughput'])
200 test_result['iperf_summary']['min_throughput'])
203 test_result['iperf_summary']['std_dev_percent'])
210 len(test_result['iperf_summary']['instantaneous_rates'])))
[all …]
DWifiTxPowerCheckTest.py666 test_result = collections.OrderedDict()
667 test_result['testcase_params'] = testcase_params.copy()
668 test_result['test_name'] = self.current_test_name
669 test_result['ap_config'] = self.access_point.ap_settings.copy()
670 test_result['attenuation'] = testcase_params['atten_range']
671 test_result['fixed_attenuation'] = self.testbed_params[
673 test_result['rssi_results'] = []
674 test_result['ping_results'] = []
675 test_result['llstats'] = []
741 test_result['tx_powers'] = [0, 0]
[all …]
DWifiPingTest.py303 test_result = collections.OrderedDict()
304 test_result['testcase_params'] = testcase_params.copy()
305 test_result['test_name'] = self.current_test_name
306 test_result['ap_config'] = self.access_point.ap_settings.copy()
307 test_result['attenuation'] = testcase_params['atten_range']
308 test_result['fixed_attenuation'] = self.testbed_params[
310 test_result['rssi_results'] = []
311 test_result['ping_results'] = []
312 test_result['llstats'] = []
360 test_result['rssi_results'].append(current_rssi)
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabGFTInOutServiceTest.py323 test_result = True
330 test_result = False
333 test_result = False
336 test_result = False
339 test_result = False
342 test_result = False
343 asserts.assert_true(test_result, "Fail: %s." %(self.my_error_msg),
349 test_result = False
354 test_result = multithread_func(self.log, tasks)
355 asserts.assert_true(test_result, "Fail: %s." %("verify_device_status failure"),
[all …]
DTelLabGFTModemConnectivityHelperTest.py88 test_result = True
104 test_result = multithread_func(self.log, tasks)
114 test_result = multithread_func(self.log, tasks)
121 return test_result
DTelLabGFTVoWifiTest.py118 test_result = True
146 test_result = multithread_func(self.log, tasks)
147 if test_result:
148 test_result = self._voice_call(self.android_devices, VOICE_CALL)
151 return test_result
248 test_result = True
271 test_result = multithread_func(self.log, tasks)
272 if test_result:
282 return test_result
315 test_result = True
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/
DBleStressTest.py53 test_result = True
56 return test_result
92 test_result = True
99 return test_result
165 test_result = True
183 test_result = False
189 test_result = False
191 return test_result
219 test_result = True
236 test_result = False
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/concurrency/
DConcurrentBleAdvertisingTest.py253 test_result = True
412 test_result = True
434 test_result = False
442 return test_result
470 test_result = True
503 test_result = reset_bluetooth([self.android_devices[1]])
506 if not test_result:
547 test_result = True
558 test_result = False
563 test_result = reset_bluetooth([self.android_devices[1]])
[all …]
DConcurrentBleScanningTest.py83 test_result = True
102 test_result = False
107 test_result = False
108 if not test_result:
109 return test_result
130 test_result = False
135 if not test_result:
136 return test_result
141 return test_result
246 test_result = True
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/filtering/
DUniqueFilteringTest.py55 test_result = True
63 test_result = False
64 return test_result
71 test_result = True
83 test_result = False
84 return test_result
111 test_result = True
135 test_result = False
138 test_result = False
142 return test_result
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/test_tools/
DToolsTest.py47 test_result = True
51 test_result = reset_bluetooth([self.android_devices[0]])
63 test_result_list.append(test_result)
67 return test_result
81 test_result = True
99 test_result_list.append(test_result)
103 return test_result
DBtReconnectTest.py45 test_result = True
53 test_result = True
73 test_result_list.append(test_result)
77 return test_result
/tools/test/connectivity/acts_tests/tests/google/bt/hid/
DHidDeviceTest.py99 test_result = True
127 test_result = False
138 test_result = False
149 test_result = False
160 test_result = False
178 return test_result
206 test_result = True
236 test_result = False
245 test_result = False
249 test_result = False
[all …]
/tools/test/connectivity/acts/framework/tests/
Dtest_suite.py32 def __init__(self, test_result, output_file, test_suite, test_filename): argument
33 self.test_result = test_result
62 test_result = subprocess.Popen([sys.executable, test_files[index]],
66 TestResult(test_result, output_file, test, test_files[index]))
71 failures = result.test_result.wait(timeout=60)
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveRilImsKpiTest.py62 def test_result(result_list, cycle, min_fail=0, failrate=0): function
165 if not test_result(result, cycle, 10, 0.1):
174 if not test_result(result, cycle, 10, 0.1):
186 if not test_result(result, cycle, 10, 0.1):
251 return test_result(result, cycle)
300 if not test_result(result, cycle, 10, 0.1):
311 if not test_result(result, cycle, 10, 0.1):
323 if not test_result(result, cycle, 10, 0.1):
387 return test_result(result, cycle)
427 if not test_result(result, cycle, 10, 0.1):
[all …]
DTelLiveStressDataTest.py93 test_result = True
99 test_result = False
100 return test_result
148 test_result = True
154 test_result = False
155 return test_result
/tools/test/connectivity/acts_tests/tests/google/ble/api/
DBleScanApiTest.py264 test_result = self.validate_scan_settings_helper(
266 if not test_result:
268 return test_result
275 test_result = False
276 return test_result
332 test_result = self.validate_scan_settings_helper(
334 return test_result
362 test_result = self.validate_scan_settings_helper(
364 return test_result
389 test_result = self.validate_scan_settings_helper(
[all …]
DBleAdvertiseApiTest.py67 test_result = True
80 test_result = False
85 test_result = False
90 test_result = False
94 return test_result
119 test_result = True
133 test_result = False
138 test_result = False
144 test_result = False
149 if not test_result:
[all …]
/tools/asuite/aidegen/lib/
Dide_common_util_unittest.py110 test_result = ' '.join([
114 self.assertEqual(test_result, ide_common_util.get_run_ide_cmd(
117 test_result = ' '.join([
121 self.assertEqual(test_result, ide_common_util.get_run_ide_cmd(
Dide_util_unittest.py586 test_result = eclipse._get_script_from_system()
587 self.assertEqual(test_result, expected_result)
594 test_result = eclipse._get_script_from_system()
595 self.assertEqual(test_result, expected_result)
601 test_result = eclipse._get_script_from_system()
602 self.assertEqual(test_result, expected_result)
609 test_result = eclipse._get_script_from_system()
610 self.assertEqual(test_result, expected_result)
623 test_result = eclipse._get_ide_cmd()
624 self.assertEqual(test_result, expected_result)
[all …]
/tools/asuite/aidegen/sdk/
Dandroid_sdk_unittest.py156 test_result = self.sdk._gen_platform_mapping('')
158 self.assertEqual(test_result, False)
162 test_result = self.sdk._gen_platform_mapping('')
169 self.assertEqual(test_result, True)
Djdk_table_unittest.py117 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot())
119 self.assertEqual(test_result, expected_result)
142 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot())
143 self.assertEqual(test_result, expected_result)
261 test_result = ElementTree.tostring(self.jdk_table_xml._xml.getroot())
262 self.assertEqual(test_result, expected_result)
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssFunctionTest.py298 test_result = gutils.process_gnss_by_gtw_gpstool(self.ad, self.supl_cs_criteria)
300 self.ad.log.info("Iteration %d => %s" % (test_loop, test_result))
301 overall_test_result.append(test_result)
501 test_result = check_network_location(
503 test_result_all.append(test_result)
504 self.ad.log.info("Iteration %d => %s" % (i, test_result))
525 test_result = check_network_location(
527 test_result_all.append(test_result)
528 self.ad.log.info("Iteration %d => %s" % (i, test_result))
553 test_result = check_location_api(self.ad, retries=3)
[all …]
/tools/asuite/atest/
Datest_execution_info.py301 self.test_result = os.path.join(self.work_dir, _TEST_RESULT_NAME)
312 self.result_file_obj = open(self.test_result, 'w')
314 atest_utils.print_and_log_error('Cannot open file %s', self.test_result)
324 au.prompt_suggestions(self.test_result)
325 au.generate_print_result_html(self.test_result)
/tools/test/connectivity/acts_tests/tests/google/cellular/performance/
DCellularRxPowerTest.py109 test_result = self.testclass_results[self.current_test_name]
115 json.dump(wputils.serialize_dict(test_result),
119 if test_result['log_path']:
120 log_data = self.sdm_logger.process_log(test_result['log_path'][-1])

12