Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/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/loganalysis/tests/src/com/android/loganalysis/parser/
DBatteryStatsDetailedInfoParserTest.java79 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); in testBatteryStatsDetailedInfoParser() local
81 assertEquals(8465622, stats.getTimeOnBattery()); in testBatteryStatsDetailedInfoParser()
82 assertEquals(910619, stats.getScreenOnTime()); in testBatteryStatsDetailedInfoParser()
83 assertNotNull(stats.getWakelockItem()); in testBatteryStatsDetailedInfoParser()
84 assertNotNull(stats.getInterruptItem()); in testBatteryStatsDetailedInfoParser()
85 assertNotNull(stats.getProcessUsageItem()); in testBatteryStatsDetailedInfoParser()
120 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); in testMissingWakelockSection() local
122 assertEquals(8465622, stats.getTimeOnBattery()); in testMissingWakelockSection()
123 assertEquals(910619, stats.getScreenOnTime()); in testMissingWakelockSection()
125 assertNull(stats.getWakelockItem()); in testMissingWakelockSection()
[all …]
/tools/test/connectivity/acts/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 …]
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 …]
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 …]
DRangeAwareTest.py216 stats = rutils.extract_stats(results, self.rtt_reference_distance_mm,
225 self.log.debug("Stats: %s", stats)
230 extras = stats if stats_reverse_direction is None else {
231 "forward": stats,
236 stats['num_no_results'] == 0,
240 stats['any_lci_mismatch'], "LCI mismatch", extras=extras)
242 stats['any_lcr_mismatch'], "LCR mismatch", extras=extras)
244 stats['invalid_num_attempted'],
246 extras=stats)
248 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/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/framework/acts/test_utils/bt/
Dbt_metrics_utils.py39 lambda stats : stats.profile_id,
40 lambda stats : stats.num_times_connected,
45 lambda stats : stats.profile_id,
46 lambda stats : stats.num_times_connected,
/tools/asuite/atest/
Dresult_reporter.py365 for group_name, stats in groups.items():
367 summary = self.process_summary(name, stats)
368 if stats.failed > 0:
370 if stats.run_errors:
372 failed_sum += 1 if not stats.failed else 0
416 def process_summary(self, name, stats): argument
440 if stats.failed > 0:
442 if stats.run_errors:
444 elif stats.failed == 0:
448 stats.passed,
[all …]
/tools/tradefederation/core/atest/
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/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java396 RetryStatistics stats = mDecision.getRetryStatistics(); in testRun_withMultipleRun() local
397 assertEquals(0, stats.mRetrySuccess); in testRun_withMultipleRun()
398 assertEquals(2, stats.mRetryFailure); in testRun_withMultipleRun()
455 RetryStatistics stats = mDecision.getRetryStatistics(); in testRun_withMultipleRun_becomePass() local
456 assertEquals(1, stats.mRetrySuccess); in testRun_withMultipleRun_becomePass()
457 assertEquals(1, stats.mRetryFailure); in testRun_withMultipleRun_becomePass()
543 RetryStatistics stats = mDecision.getRetryStatistics(); in testRun_withMultipleRun_AllBecomePass()
544 assertEquals(2, stats.mRetrySuccess); in testRun_withMultipleRun_AllBecomePass()
545 assertEquals(0, stats.mRetryFailure); in testRun_withMultipleRun_AllBecomePass()
660 RetryStatistics stats = mDecision.getRetryStatistics(); in testIntraModuleRun_runRetry() local
[all …]
/tools/tradefederation/core/src/com/android/tradefed/retry/
DRetryStatistics.java35 public static final RetryStatistics aggregateStatistics(List<RetryStatistics> stats) { in aggregateStatistics() argument
37 for (RetryStatistics s : stats) { in aggregateStatistics()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DEmmcPerformanceTest.java216 SimpleStats stats = new SimpleStats(); in runTest() local
234 stats.add(kbps); in runTest()
240 if (stats.mean() != null) { in runTest()
241 metrics.put(testKey, Double.toString(stats.median())); in runTest()
252 testKey, stats.mean(), stats.stdev(), stats.size()); in runTest()
DAppTransitionTests.java734 SimpleStats stats = new SimpleStats(); in computeAndUploadResults() local
736 stats.add(Double.parseDouble(delay.toString())); in computeAndUploadResults()
738 activityMetrics.put(appNameKey + "_min", stats.min().toString()); in computeAndUploadResults()
739 CLog.i("%s : %s", appNameKey + "_min", stats.min().toString()); in computeAndUploadResults()
740 activityMetrics.put(appNameKey + "_max", stats.max().toString()); in computeAndUploadResults()
741 CLog.i("%s : %s", appNameKey + "_max", stats.max().toString()); in computeAndUploadResults()
742 activityMetrics.put(appNameKey + "_avg", stats.mean().toString()); in computeAndUploadResults()
743 CLog.i("%s : %s", appNameKey + "_avg", stats.mean().toString()); in computeAndUploadResults()
744 activityMetrics.put(appNameKey + "_median", stats.median().toString()); in computeAndUploadResults()
745 CLog.i("%s : %s", appNameKey + "_median", stats.median().toString()); in computeAndUploadResults()
[all …]
/tools/tradefederation/contrib/src/com/android/build/tests/
DImageStats.java260 Map<String, Long> stats, Map<Pattern, String> patterns) { in performAggregation() argument
261 Set<String> uncategorizedFiles = new HashSet<>(stats.keySet()); in performAggregation()
265 for (Map.Entry<String, Long> stat : stats.entrySet()) { in performAggregation()
289 uncategorized += stats.get(file); in performAggregation()
/tools/tradefederation/core/tests/res/testdata/
Dsubprocess2.txt12 03-22 14:04:02 E/SubprocessResultsReporter: TEST_RUN_ENDED {"time":259, "stats":"additional stuff"}
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...
/tools/trebuchet/
DREADME.md19 …nts in each file, and computes average and standard deviation for startup stats, broken down by pr…