HomeSort by relevance Sort by last modified time
    Searched full:durationmetric (Results 1 - 19 of 19) sorted by null

  /cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DurationMetricsTests.java 70 // Add DurationMetric.
72 StatsdConfigProto.DurationMetric.newBuilder()
75 .setAggregationType(StatsdConfigProto.DurationMetric.AggregationType.SUM)
148 // Add DurationMetric.
150 StatsdConfigProto.DurationMetric.newBuilder()
154 .setAggregationType(StatsdConfigProto.DurationMetric.AggregationType.SUM)
  /frameworks/base/cmds/statsd/tests/e2e/
WakelockDuration_e2e_test.cpp 31 StatsdConfig CreateStatsdConfig(DurationMetric::AggregationType aggregationType) {
51 auto durationMetric = config.add_duration_metric();
52 durationMetric->set_id(StringToId("WakelockDuration"));
53 durationMetric->set_what(holdingWakelockPredicate.id());
54 durationMetric->set_condition(screenIsOffPredicate.id());
55 durationMetric->set_aggregation_type(aggregationType);
57 *durationMetric->mutable_dimensions_in_what() =
60 durationMetric->set_bucket(FIVE_MINUTES);
120 auto config = CreateStatsdConfig(DurationMetric::SUM);
157 auto config = CreateStatsdConfig(DurationMetric::SUM)
    [all...]
Anomaly_duration_sum_e2e_test.cpp 34 DurationMetric::AggregationType aggregationType,
54 auto durationMetric = config.add_duration_metric();
55 durationMetric->set_id(StringToId("WakelockDuration"));
56 durationMetric->set_what(holdingWakelockPredicate.id());
57 durationMetric->set_condition(screenIsOffPredicate.id());
58 durationMetric->set_aggregation_type(aggregationType);
59 *durationMetric->mutable_dimensions_in_what() =
61 durationMetric->set_bucket(FIVE_MINUTES);
95 auto config = CreateStatsdConfig(num_buckets, threshold_ns, DurationMetric::SUM, true);
272 auto config = CreateStatsdConfig(num_buckets, threshold_ns, DurationMetric::SUM, true)
    [all...]
DimensionInCondition_e2e_simple_cond_test.cpp 32 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition) {
74 for (auto aggregationType : {DurationMetric::SUM, DurationMetric::MAX_SPARSE}) {
158 if (aggregationType == DurationMetric::SUM) {
312 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition) {
360 for (auto aggregationType : {DurationMetric::SUM, DurationMetric::MAX_SPARSE}) {
454 if (aggregationType == DurationMetric::SUM) {
536 DurationMetric::AggregationType aggregationType) {
582 for (auto aggregationType : {DurationMetric::SUM, DurationMetric::MAX_SPARSE})
    [all...]
DimensionInCondition_e2e_combination_AND_cond_test.cpp 32 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition,
87 for (auto aggregationType : {DurationMetric::MAX_SPARSE, DurationMetric::SUM}) {
199 if (aggregationType == DurationMetric::SUM) {
370 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition) {
428 for (auto aggregationType : {DurationMetric::SUM, DurationMetric::MAX_SPARSE}) {
536 if (aggregationType == DurationMetric::SUM) {
    [all...]
DimensionInCondition_e2e_combination_OR_cond_test.cpp 427 DurationMetric::AggregationType aggregationType) {
469 for (auto aggregationType : { DurationMetric::MAX_SPARSE, DurationMetric::SUM}) {
550 if (aggregationType == DurationMetric::SUM) {
580 if (aggregationType == DurationMetric::SUM) {
    [all...]
  /frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
ConfigFactory.java 24 import com.android.internal.os.StatsdConfigProto.DurationMetric;
119 for (DurationMetric metric : mTemplate.getDurationMetricList()) {
208 * Creates a {@link DurationMetric} based on the template. Makes sure that all names are appended
211 private void addDurationMetric(DurationMetric template, int suffix, TimeUnit bucket,
213 DurationMetric.Builder metric = template.toBuilder()
SequencePusher.java 31 * <li> ChargingStateChanged - For DurationMetric (no dimension).
32 * <li> GpsScanStateChanged - For DurationMetric, sliced by uid.
LoadtestActivity.java 196 * Whether to include DurationMetric in the config.
  /frameworks/base/cmds/statsd/tests/metrics/
DurationMetricProducer_test.cpp 47 DurationMetric metric;
85 DurationMetric metric;
146 DurationMetric metric;
201 DurationMetric metric;
252 DurationMetric metric;
292 DurationMetric metric;
340 DurationMetric metric;
  /frameworks/base/cmds/statsd/benchmark/
duration_metric_benchmark.cpp 31 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition) {
79 DurationMetric::AggregationType aggregationType, bool addExtraDimensionInCondition) {
135 DurationMetric::SUM, false);
228 DurationMetric::SUM, false);
  /frameworks/base/cmds/statsd/src/metrics/
DurationMetricProducer.h 41 DurationMetricProducer(const ConfigKey& key, const DurationMetric& durationMetric,
DurationMetricProducer.cpp 65 DurationMetricProducer::DurationMetricProducer(const ConfigKey& key, const DurationMetric& metric,
80 // them in the base class, because the proto generated CountMetric, and DurationMetric are
139 VLOG("~DurationMetric() called");
604 fprintf(out, "DurationMetric %lld dimension size %lu\n", (long long)mMetricId,
630 ALOGE("DurationMetric %lld dropping data for condition dimension key %s",
643 ALOGE("DurationMetric %lld dropping data for what dimension key %s",
    [all...]
metrics_manager_util.cpp 323 const DurationMetric& metric = config.duration_metric(i);
328 ALOGE("DurationMetric's \"what\" is invalid");
335 ALOGE("DurationMetric's \"what\" must be a simple condition");
384 sp<MetricProducer> durationMetric = new DurationMetricProducer(
388 allMetricProducers.push_back(durationMetric);
MetricProducer.h 278 * DurationMetric, because it has start/stop/stop_all 3 matchers.
283 * because DurationMetric needs it to be cached.
  /frameworks/base/cmds/statsd/src/
statsd_config.proto 194 message DurationMetric {
343 repeated DurationMetric duration_metric = 6;
  /cts/hostsidetests/statsd/src/android/cts/statsd/alert/
AnomalyDetectionTests.java 23 import com.android.internal.os.StatsdConfigProto.DurationMetric;
131 .addDurationMetric(DurationMetric.newBuilder()
134 .setAggregationType(DurationMetric.AggregationType.SUM)
195 .addDurationMetric(DurationMetric.newBuilder()
199 .setAggregationType(DurationMetric.AggregationType.SUM)
  /cts/hostsidetests/statsd/src/android/cts/statsd/validation/
ValidationTests.java 33 import com.android.internal.os.StatsdConfigProto.DurationMetric;
636 builder.addDurationMetric(DurationMetric.newBuilder()
    [all...]
  /cts/hostsidetests/statsd/src/android/cts/statsd/atom/
HostAtomTests.java 27 import com.android.internal.os.StatsdConfigProto.DurationMetric;

Completed in 319 milliseconds