/tools/test/connectivity/acts_tests/tests/google/wifi/aware/stress/ |
D | MessagesStressTest.py | 158 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 …]
|
D | DataPathStressTest.py | 211 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)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/ |
D | LatencyTest.py | 62 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 …]
|
D | ThroughputTest.py | 50 def run_iperf_single_ndp_aware_only(self, use_ib, results): argument 98 results["tx_rate"] = data_json["end"]["sum_sent"]["bits_per_second"] 99 results["rx_rate"] = data_json["end"]["sum_received"][ 102 results["tx_rate"], results["rx_rate"]) 123 def run_iperf_max_ndp_aware_only(self, results): argument 203 results[i] = {} 213 results[i]["tx_rate"] = data_json["end"]["sum_sent"][ 215 results[i]["rx_rate"] = data_json["end"]["sum_received"][ 218 results[i]["tx_rate"], results[i]["rx_rate"]) 225 results = {} [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_base_class_test.py | 74 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 …]
|
D | acts_test_runner_test.py | 76 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)
|
D | acts_test_decorators_test.py | 317 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/ |
D | audio_analysis_integrationtest.py | 78 results = [] 83 results.append((mid, array[int(mid)])) 86 return sorted(results, key=lambda x: x[1], reverse=True) 116 results = audio_analysis.spectral_analysis(y, rate) 122 logging.debug('Results: %s', results) 123 self.assertTrue(abs(results[0][0] - freq_1) < 1) 124 self.assertTrue(abs(results[1][0] - freq_2) < 1) 126 abs(results[0][1] / results[1][1] - coeff_1 / coeff_2) < 0.01) 154 results = audio_analysis.spectral_analysis(noise, rate) 155 self.assertEqual([(0, 0)], results) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiScannerScanTest.py | 242 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 …]
|
D | WifiRttManagerTest.py | 144 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 …]
|
D | WifiScannerBssidTest.py | 111 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/test/connectivity/acts_tests/tests/google/nr/nsa5g/ |
D | Nsa5gSmsTest.py | 656 results = run_multithread_func(self.log, [download_task, message_task]) 658 if ((results[0]) & (results[1])): 660 elif ((results[0] == False) & (results[1] == True)): 662 elif ((results[0] == True) & (results[1] == False)): 667 return results 707 results = run_multithread_func(self.log, [download_task, message_task]) 709 if ((results[0]) & (results[1])): 711 elif ((results[0] == False) & (results[1] == True)): 713 elif ((results[0] == True) & (results[1] == False)): 718 return results
|
D | Nsa5gMmsTest.py | 806 results = run_multithread_func(self.log, [download_task, message_task]) 808 if ((results[0]) & (results[1])): 810 elif ((results[0] == False) & (results[1] == True)): 812 elif ((results[0] == True) & (results[1] == False)): 817 return results 857 results = run_multithread_func(self.log, [download_task, message_task]) 859 if ((results[0]) & (results[1])): 861 elif ((results[0] == False) & (results[1] == True)): 863 elif ((results[0] == True) & (results[1] == False)): 868 return results
|
/tools/test/connectivity/acts/framework/acts/libs/utils/ |
D | multithread.py | 70 results = list(executor.map(task_wrapper, tasks)) 77 [task[0].__name__ for task in tasks], results) 78 return results 92 results = run_multithread_func(log, tasks) 93 for r in results: 112 results = run_multithread_func(log, tasks) 113 log.info("multithread_func result: %s, expecting %s", results, 115 for task, result, expected_result in zip(tasks, results, expected_results):
|
D | timer.py | 106 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/test/connectivity/acts/framework/acts/ |
D | test_runner.py | 87 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(),
|
D | base_test.py | 65 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 …]
|
/tools/test/connectivity/acts_tests/tests/google/power/wifi/ |
D | PowerWiFiroamingTest.py | 88 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/framework/acts/controllers/sl4a_lib/ |
D | event_dispatcher.py | 313 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/acts_contrib/test_utils/audio_analysis_lib/ |
D | audio_analysis.py | 151 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/buds_lib/ |
D | apollo_lib.py | 243 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/external_updater/ |
D | external_updater.py | 176 results = {} 186 results[str(relative_path)] = res 188 return results 212 def write_json(json_file: str, results: Dict[str, Dict[str, str]]) -> List[str]: 215 json.dump(results, res_file, sort_keys=True, indent=4) 221 results = check_and_update_path(args, paths, False, args.delay) 224 write_json(args.json_output, results) 235 results = check_and_update_path(args, filtered_paths, True, 0) 238 write_json(args.json_output, results)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/ |
D | RangeAwareTest.py | 210 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 …]
|
/tools/asuite/atest-py2/ |
D | cli_translator.py | 164 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_tests/tests/google/gnss/ |
D | GnssConcurrencyTest.py | 114 results = [] 125 results.append( 132 results.append(timedelt_sec) 143 res_summary = " ".join([str(res) for res in results]) 149 (type, max(results[1:]))) 151 return outliers, failures, results 193 results = {} 200 outliers[request_type], failures[request_type], results[ 203 if not results[request_type]:
|