Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 84) sorted by relevance

1234

/tools/test/connectivity/acts_tests/tests/google/wifi/aware/stress/
DMessagesStressTest.py158 def analyze_results(self, results, messages_by_msg): argument
166 results["raw_data"] = messages_by_msg
167 results["tx_count_success"] = 0
168 results["tx_count_duplicate_success"] = 0
169 results["tx_count_fail"] = 0
170 results["tx_count_duplicate_fail"] = 0
171 results["tx_count_neither"] = 0
172 results["tx_count_tx_ok_but_no_rx"] = 0
173 results["rx_count"] = 0
174 results["rx_count_duplicate"] = 0
[all …]
DDataPathStressTest.py211 results = {}
212 results['ndp_init_setup_success'] = ndp_init_setup_success
213 results['ndp_init_setup_failures'] = ndp_init_setup_failures
214 results['ndp_resp_setup_success'] = ndp_resp_setup_success
215 results['ndp_resp_setup_failures'] = ndp_resp_setup_failures
216 results['ndp_full_socket_success'] = ndp_full_socket_success
227 extras=results)
228 asserts.explicit_pass("test_oob_ndp_stress* done", extras=results)
DDiscoveryStressTest.py105 results = {}
106 results['discovery_setup_success'] = discovery_setup_success
107 results['discovery_setup_fail'] = discovery_setup_fail
112 extras=results)
113 asserts.explicit_pass('test_discovery_stress done', extras=results)
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/
DLatencyTest.py62 def run_synchronization_latency(self, results, do_unsolicited_passive, argument
84 results[key] = {}
85 results[key]["num_iterations"] = num_iterations
146 results=results[key],
151 results[key]["num_failed_discovery"] = failed_discoveries
153 def run_discovery_latency(self, results, do_unsolicited_passive, dw_24ghz, argument
167 results[key] = {}
168 results[key]["num_iterations"] = num_iterations
229 results=results[key],
234 results[key]["num_failed_discovery"] = failed_discoveries
[all …]
DThroughputTest.py49 def run_iperf_single_ndp_aware_only(self, use_ib, results): argument
97 results["tx_rate"] = data_json["end"]["sum_sent"]["bits_per_second"]
98 results["rx_rate"] = data_json["end"]["sum_received"][
101 results["tx_rate"], results["rx_rate"])
122 def run_iperf_max_ndp_aware_only(self, results): argument
202 results[i] = {}
212 results[i]["tx_rate"] = data_json["end"]["sum_sent"][
214 results[i]["rx_rate"] = data_json["end"]["sum_received"][
217 results[i]["tx_rate"], results[i]["rx_rate"])
224 results = {}
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_base_class_test.py74 actual_record = bt_cls.results.passed[0]
94 actual_record = bt_cls.results.passed[0]
126 passed_names = [p.test_name for p in bt_cls.results.passed]
146 actual_record = bt_cls.results.passed[0]
165 actual_record = bt_cls.results.error[0]
175 self.assertEqual(bt_cls.results.summary_dict(), expected_summary)
189 actual_record = bt_cls.results.error[0]
201 self.assertEqual(bt_cls.results.summary_dict(), expected_summary)
214 actual_record = bt_cls.results.failed[0]
226 self.assertEqual(bt_cls.results.summary_dict(), expected_summary)
[all …]
Dacts_test_runner_test.py76 results = tr.results.summary_dict()
77 self.assertEqual(results['Requested'], 2)
78 self.assertEqual(results['Executed'], 2)
79 self.assertEqual(results['Passed'], 2)
126 results = tr.results.summary_dict()
127 self.assertEqual(results['Requested'], 2)
128 self.assertEqual(results['Executed'], 2)
129 self.assertEqual(results['Passed'], 2)
Dacts_test_decorators_test.py317 results = self.test_runner.results
318 self.assertGreaterEqual(len(results.executed), 1,
320 record = results.executed[0]
327 self._validate_results_has_extra(self.test_runner.results, UUID_KEY,
332 self._validate_results_has_extra(self.test_runner.results, UUID_KEY,
338 def result_selector(results, _): argument
339 self.assertIsInstance(results[0], AssertionError)
340 self.assertIsInstance(results[1], signals.TestFailure)
341 self.assertIsInstance(results[2], signals.TestError)
342 self.assertIsInstance(results[3], IndexError)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/
Daudio_analysis_integrationtest.py83 results = []
88 results.append((mid, array[int(mid)]))
91 return sorted(results, key=lambda x: x[1], reverse=True)
121 results = audio_analysis.spectral_analysis(y, rate)
127 logging.debug('Results: %s', results)
128 self.assertTrue(abs(results[0][0] - freq_1) < 1)
129 self.assertTrue(abs(results[1][0] - freq_2) < 1)
131 abs(results[0][1] / results[1][1] - coeff_1 / coeff_2) < 0.01)
159 results = audio_analysis.spectral_analysis(noise, rate)
160 self.assertEqual([(0, 0)], results)
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiScannerScanTest.py242 results = []
246 results.append(event["data"]["Results"])
248 self.log.debug("Number of Full scan results %s", len(results))
249 return results
269 results = []
284 results = event["data"]["Results"]
287 results, scan_rt, event["data"][KEY_RET], scan_setting)
289 len(results), 1,
291 len(results))
295 len(results), bssids)
[all …]
DWifiRttManagerTest.py144 results = event[0]["data"]["Results"]
145 result_len = len(results)
152 for i, r in enumerate(results):
263 results = e["data"]["Results"]
264 for r in results:
366 results = self.get_rtt_results(rtt_params)
367 if results:
368 self.log.debug(results)
369 all_results += results
512 results = self.get_rtt_results([p])
[all …]
DWifiScannerBssidTest.py111 results = event["data"]["Results"]
112 if len(results) > 0 and "ScanResults" in results[0]:
113 return results[0]["ScanResults"]
133 results = self.fetch_scan_result(self.scan_idx, scan_setting)
134 self.log.debug("scan result %s.", results)
135 asserts.assert_true(results,
137 for result in results:
199 results = self.fetch_scan_result(self.scan_idx,
201 self.log.debug("scan result %s", results)
247 results = self.fetch_scan_result(self.scan_idx,
[all …]
/tools/repohooks/rh/
Dhooks.py32 import rh.results
324 return [rh.results.HookCommandResult(hook_name, project, commit,
356 ret.append(rh.results.HookResult(
420 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
447 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
504 return [rh.results.HookResult('commit msg: "prebuilt apk:" check',
556 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
639 rh.results.HookResult(('commit msg: "%s:" '
664 rh.results.HookResult(('commit msg: "%s:" '
699 rh.results.HookResult(('commit msg: "%s:" '
[all …]
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py65 test_instance.results.error.append(
87 test_instance.results.error.append(
352 event_bus.post(TestClassEndEvent(self, self.results))
591 self.results.add_record(tr_record)
683 self.results.requested.append(test_name)
688 previous_success_cnt = len(self.results.passed)
701 if len(self.results.passed) - previous_success_cnt != 1:
744 self.results.add_record(record)
770 return self.results
791 self.results.requested = matches
[all …]
Dtest_runner.py87 return tr.results.is_all_pass
125 self.results = records.TestResult()
215 self.results.add_record(record)
226 self.results += cls_result
228 self.results += e.results
269 self.results.error.append(ExceptionRecord(e))
284 self.id, self.results.summary_str())
296 f.write(self.results.json_str())
298 self.summary_writer.dump(self.results.summary_dict(),
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py243 results = []
246 results.append(result)
247 return results
794 results = self.cmd('Ota {}'.format(image_size), wait=3)
795 logging.debug('Result of Ota command' + str(results))
796 if any(OTA_VERIFICATION_FAILED in result for result in results[0]):
800 results[0] if
802 any('OTA erasd ptns' in result for result in results[0])):
1090 results = self.cmd(cmd)
1095 results = results[0]
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_analysis.py151 results = []
153 results.append((x_f[int(index)], value))
154 return results
249 results = []
264 results.append((mid, array[int(mid)]))
270 return sorted(results, key=lambda x: x[1], reverse=True)
310 results = []
317 results.append(start)
319 results = [float(x) / rate for x in results]
321 return results
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Devent_dispatcher.py313 results = self._match_and_pop(regex_pattern)
314 if len(results) != 0 or time.time() > deadline:
317 if len(results) == 0:
323 return sorted(results, key=lambda event: event['time'])
329 results = []
336 results.append(q.get(False))
340 return results
435 results = []
440 results.append(e)
442 return results
/tools/test/connectivity/acts_tests/tests/google/power/wifi/
DPowerWiFiroamingTest.py88 results = []
92 results.append(self.power_monitor_data_collect_save())
95 results.append(self.power_monitor_data_collect_save())
99 for result in results:
112 for result in results
141 results = []
145 results.append(self.power_monitor_data_collect_save())
148 results.append(self.power_monitor_data_collect_save())
151 for result in results:
164 for result in results
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DRangeAwareTest.py210 def verify_results(self, results, results_reverse_direction=None, accuracy_evaluation=False): argument
221 stats = rutils.extract_stats(results, self.rtt_reference_distance_mm,
474 results = []
480 results.append(result)
488 num_no_responses, 0, "No RTT response?", extras={"data": results})
493 extras={"data": results})
494 asserts.explicit_pass("RTT Aware test done", extras={"data": results})
525 results = []
531 results.append(result)
539 num_no_responses, 0, "No RTT response?", extras={"data": results})
[all …]
DRangeApSupporting11McTest.py233 results = []
244 results.append(event["data"][
248 results.append([])
252 results.append([])
263 extras={"data": results})
268 extras={"data": results})
272 for result_group in results:
279 results, {
/tools/asuite/atest-py2/
Dcli_translator.py164 results = mod_finder.get_fuzzy_searching_results(test)
165 if len(results) == 1 and self._confirm_running(results):
166 found_test_infos = mod_finder.find_test_by_module_name(results[0])
170 elif len(results) > 1:
171 self._print_fuzzy_searching_results(results)
204 def _confirm_running(self, results): argument
214 atest_utils.colorize(results[0], constants.GREEN)))
217 def _print_fuzzy_searching_results(self, results): argument
229 for mod in results[:10]:
/tools/test/connectivity/acts/framework/acts/libs/utils/
Dtimer.py106 results = dict()
111 results[rec] = self.recorder[rec][1] - self.recorder[rec][0]
113 results[rec] = curr_time - self.recorder[rec][0]
114 if not results: # no valid record found
118 return results[record_ids[0]]
120 return results # multiple records, return a dict.
/tools/asuite/atest/
Dcli_translator.py242 results = mod_finder.get_fuzzy_searching_results(test)
243 if len(results) == 1 and self._confirm_running(results):
244 found_test_infos = mod_finder.find_test_by_module_name(results[0])
248 elif len(results) > 1:
249 self._print_fuzzy_searching_results(results)
285 def _confirm_running(self, results): argument
296 atest_utils.colorize(results[0], constants.GREEN)), True)
298 def _print_fuzzy_searching_results(self, results): argument
310 for mod in results[:10]:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/loggers/
Dbluetooth_metric_logger.py50 self.results = []
138 self.results.append(ProtoMetric(test, proto))
140 def get_results(self, results, test, pri_device, conn_device=None): argument
156 recursive_assign(proto_result, results)
162 return self.publisher.publish(self.results)

1234