HomeSort by relevance Sort by last modified time
    Searched refs:MetricsUtils (Results 1 - 6 of 6) sorted by null

  /cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DurationMetricsTests.java 58 MetricsUtils.startAtomMatcherWithLabel(APP_BREADCRUMB_REPORTED_A_MATCH_START_ID, label);
60 MetricsUtils.stopAtomMatcherWithLabel(APP_BREADCRUMB_REPORTED_A_MATCH_STOP_ID, label);
72 .setId(MetricsUtils.StringToId("Predicate"))
80 .setId(MetricsUtils.DURATION_METRIC_ID)
97 assertThat(metricReport.getMetricId()).isEqualTo(MetricsUtils.DURATION_METRIC_ID);
116 AtomMatcher startAtomMatcher = MetricsUtils.startAtomMatcherWithLabel(
118 AtomMatcher stopAtomMatcher = MetricsUtils.stopAtomMatcherWithLabel(
120 AtomMatcher conditionStartAtomMatcher = MetricsUtils.startAtomMatcherWithLabel(
122 AtomMatcher conditionStopAtomMatcher = MetricsUtils.stopAtomMatcherWithLabel(
137 .setId(MetricsUtils.StringToId("Predicate")
    [all...]
CountMetricsTests.java 44 .setId(MetricsUtils.COUNT_METRIC_ID)
47 .addAtomMatcher(MetricsUtils.simpleAtomMatcher(matcherId));
56 assertEquals(MetricsUtils.COUNT_METRIC_ID, metricReport.getMetricId());
74 MetricsUtils.unspecifiedAtomMatcher(whatMatcherId);
77 MetricsUtils.startAtomMatcher(startMatcherId);
80 MetricsUtils.stopAtomMatcher(endMatcherId);
92 .setId(MetricsUtils.COUNT_METRIC_ID)
115 assertEquals(MetricsUtils.COUNT_METRIC_ID, metricReport.getMetricId());
140 MetricsUtils.appBreadcrumbMatcherWithLabel(whatMatcherId, whatMatcherLabel);
143 MetricsUtils.startAtomMatcherWithLabel(startMatcherId, startMatcherLabel)
    [all...]
GaugeMetricsTests.java 55 MetricsUtils.startAtomMatcher(APP_BREADCRUMB_REPORTED_A_MATCH_START_ID);
57 MetricsUtils.stopAtomMatcher(APP_BREADCRUMB_REPORTED_A_MATCH_STOP_ID);
59 MetricsUtils.simpleAtomMatcher(APP_BREADCRUMB_REPORTED_B_MATCH_START_ID);
72 .setId(MetricsUtils.StringToId("Predicate"))
82 .setId(MetricsUtils.GAUGE_METRIC_ID)
125 assertEquals(MetricsUtils.GAUGE_METRIC_ID, metricReport.getMetricId());
133 MetricsUtils.assertBucketTimePresent(data.getBucketInfo(0));
139 MetricsUtils.assertBucketTimePresent(data.getBucketInfo(1));
142 MetricsUtils.assertBucketTimePresent(data.getBucketInfo(bucketCount-1));
161 MetricsUtils.appBreadcrumbMatcherWithLabel
    [all...]
ValueMetricsTests.java 56 MetricsUtils.startAtomMatcher(APP_BREADCRUMB_REPORTED_A_MATCH_START_ID);
58 MetricsUtils.stopAtomMatcher(APP_BREADCRUMB_REPORTED_A_MATCH_STOP_ID);
60 MetricsUtils.simpleAtomMatcher(APP_BREADCRUMB_REPORTED_B_MATCH_START_ID);
70 .setId(MetricsUtils.VALUE_METRIC_ID)
97 assertEquals(MetricsUtils.VALUE_METRIC_ID, metricReport.getMetricId());
107 MetricsUtils.assertBucketTimePresent(bucketInfo);
126 MetricsUtils.startAtomMatcher(predicateTrueName.hashCode());
128 MetricsUtils.stopAtomMatcher(predicateFalseName.hashCode());
151 .setId(MetricsUtils.VALUE_METRIC_ID)
175 assertEquals(MetricsUtils.VALUE_METRIC_ID, metricReport.getMetricId())
    [all...]
MetricActivationTests.java 57 MetricsUtils.simpleAtomMatcher(metric1MatcherId, metric1MatcherId);
59 MetricsUtils.simpleAtomMatcher(metric2MatcherId, metric2MatcherId);
61 MetricsUtils.simpleAtomMatcher(metric3MatcherId, metric3MatcherId);
63 MetricsUtils.simpleAtomMatcher(act1MatcherId, act1MatcherId);
65 MetricsUtils.simpleAtomMatcher(act1CancelMatcherId, act1CancelMatcherId);
67 MetricsUtils.simpleAtomMatcher(act2MatcherId, act2MatcherId);
69 MetricsUtils.simpleAtomMatcher(act2CancelMatcherId, act2CancelMatcherId);
87 MetricsUtils.createEventActivation(act1TtlSecs, act1MatcherId, act1CancelMatcherId)
91 MetricsUtils.createEventActivation(act2TtlSecs, act2MatcherId, act2CancelMatcherId)
96 MetricsUtils.createEventActivation(act1TtlSecs, act1MatcherId, act1CancelMatcherId
    [all...]
MetricsUtils.java 31 public class MetricsUtils {

Completed in 102 milliseconds