Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 13 of 13) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/rtt/
Drtt_test_utils.py321 stats = {}
322 stats['num_results'] = 0
323 stats['num_success_results'] = 0
324 stats['num_no_results'] = 0
325 stats['num_failures'] = 0
326 stats['num_range_out_of_margin'] = 0
327 stats['num_invalid_rssi'] = 0
328 stats['any_lci_mismatch'] = False
329 stats['any_lcr_mismatch'] = False
330 stats['invalid_num_attempted'] = False
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DRangeApNonSupporting11McTest.py60 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm,
64 dut.log.debug("Stats=%s", stats)
66 for bssid, stat in stats.items():
70 extras=stats)
72 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
74 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
76 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
82 extras=stats)
89 extras=stats)
90 asserts.explicit_pass("RTT test done", extras=stats)
[all …]
DRangeApSupporting11McTest.py61 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm,
65 dut.log.debug("Stats=%s", stats)
67 for bssid, stat in stats.items():
71 extras=stats)
73 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
75 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
79 extras=stats)
83 extras=stats)
85 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
91 extras=stats)
[all …]
DRangeApMiscTest.py49 stats = rutils.analyze_results(events, self.rtt_reference_distance_mm,
53 dut.log.debug("Stats=%s", stats)
55 for bssid, stat in stats.items():
59 extras=stats)
62 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
64 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
66 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
72 extras=stats)
78 extras=stats)
83 extras=stats)
[all …]
DRangeAwareTest.py221 stats = rutils.extract_stats(results, self.rtt_reference_distance_mm,
230 self.log.debug("Stats: %s", stats)
235 extras = stats if stats_reverse_direction is None else {
236 "forward": stats,
241 stats['num_no_results'] == 0,
245 stats['any_lci_mismatch'], "LCI mismatch", extras=extras)
247 stats['any_lcr_mismatch'], "LCR mismatch", extras=extras)
249 stats['invalid_num_attempted'],
251 extras=stats)
253 stats['invalid_num_successful'],
[all …]
DRangeSoftApTest.py88 stats = rutils.analyze_results(
95 stats[scanned_ap[wutils.WifiEnums.BSSID_KEY]]['num_failures'],
98 extras=stats)
DAwareDiscoveryWithRangingTest.py1893 stats = [
1928 "Discovery/Direct RTT Concurrency Pass", extras={"data": stats})
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/stress/
DStressRangeAwareTest.py119 stats = rutils.extract_stats(
125 self.log.debug("Stats: %s", stats)
127 stats['num_no_results'] == 0,
129 extras=stats)
131 stats['any_lci_mismatch'], "LCI mismatch", extras=stats)
133 stats['any_lcr_mismatch'], "LCR mismatch", extras=stats)
135 stats['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
137 stats['num_failures'] <=
139 stats['num_results'] / 100,
141 extras=stats)
[all …]
DStressRangeApTest.py50 stats = rutils.analyze_results(
58 dut.log.debug("Stats=%s", stats)
60 for bssid, stat in stats.items():
64 extras=stats)
66 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
68 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
70 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
76 extras=stats)
82 extras=stats)
83 asserts.explicit_pass("RTT test done", extras=stats)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_metrics_utils.py38 lambda stats : stats.profile_id,
39 lambda stats : stats.num_times_connected,
44 lambda stats : stats.profile_id,
45 lambda stats : stats.num_times_connected,
/tools/asuite/atest/
Dresult_reporter.py345 for group_name, stats in groups.items():
347 summary = self.process_summary(name, stats)
387 for group_name, stats in groups.items():
389 summary = self.process_summary(name, stats)
390 if stats.failed > 0:
392 if stats.run_errors:
394 failed_sum += 1 if not stats.failed else 0
458 def process_summary(self, name, stats): argument
485 if stats.failed > 0:
499 if stats.run_errors:
[all …]
/tools/asuite/atest-py2/
Dresult_reporter.py356 for group_name, stats in groups.items():
358 summary = self.process_summary(name, stats)
359 if stats.failed > 0:
361 if stats.run_errors:
363 failed_sum += 1 if not stats.failed else 0
385 def process_summary(self, name, stats): argument
409 if stats.failed > 0:
411 if stats.run_errors:
413 elif stats.failed == 0:
417 stats.passed,
[all …]
/tools/trebuchet/
DREADME.md19 …nts in each file, and computes average and standard deviation for startup stats, broken down by pr…