Home
last modified time | relevance | path

Searched refs:dimensionWhat (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DMetricConditionLink_e2e_test.cpp81 auto dimensionWhat = links->mutable_fields_in_what(); in CreateStatsdConfig() local
82 dimensionWhat->set_field(android::util::PROCESS_LIFE_CYCLE_STATE_CHANGED); in CreateStatsdConfig()
83 dimensionWhat->add_child()->set_field(1); // uid field. in CreateStatsdConfig()
90 dimensionWhat = links->mutable_fields_in_what(); in CreateStatsdConfig()
91 dimensionWhat->set_field(android::util::PROCESS_LIFE_CYCLE_STATE_CHANGED); in CreateStatsdConfig()
92 dimensionWhat->add_child()->set_field(1); // uid field. in CreateStatsdConfig()
DGaugeMetric_e2e_push_test.cpp62 auto dimensionWhat = links->mutable_fields_in_what(); in CreateStatsdConfigForPushedEvent() local
63 dimensionWhat->set_field(android::util::APP_START_OCCURRED); in CreateStatsdConfigForPushedEvent()
64 dimensionWhat->add_child()->set_field(1); // uid field. in CreateStatsdConfigForPushedEvent()
DDurationMetric_e2e_test.cpp481 auto dimensionWhat = links->mutable_fields_in_what(); in TEST() local
482 dimensionWhat->set_field(android::util::WAKELOCK_STATE_CHANGED); in TEST()
483 dimensionWhat->add_child()->set_field(1); // uid field. in TEST()
584 auto dimensionWhat = links->mutable_fields_in_what(); in TEST() local
585 dimensionWhat->set_field(android::util::WAKELOCK_STATE_CHANGED); in TEST()
586 dimensionWhat->add_child()->set_field(1); // uid field. in TEST()
DDimensionInCondition_e2e_combination_OR_cond_test.cpp273 auto dimensionWhat = links->mutable_fields_in_what(); in CreateCountMetric_Link_CombinationCondition() local
274 dimensionWhat->set_field(android::util::PROCESS_LIFE_CYCLE_STATE_CHANGED); in CreateCountMetric_Link_CombinationCondition()
275 dimensionWhat->add_child()->set_field(1); // uid field. in CreateCountMetric_Link_CombinationCondition()
664 auto dimensionWhat = links->mutable_fields_in_what(); in CreateDurationMetricConfig_Link_CombinationCondition() local
665 dimensionWhat->set_field(android::util::ACTIVITY_FOREGROUND_STATE_CHANGED); in CreateDurationMetricConfig_Link_CombinationCondition()
666 dimensionWhat->add_child()->set_field(1); // uid field. in CreateDurationMetricConfig_Link_CombinationCondition()
DDimensionInCondition_e2e_simple_cond_test.cpp62 auto dimensionWhat = metric->mutable_dimensions_in_what(); in CreateDurationMetricConfig_NoLink_SimpleCondition() local
63 dimensionWhat->set_field(android::util::SCHEDULED_JOB_STATE_CHANGED); in CreateDurationMetricConfig_NoLink_SimpleCondition()
64 dimensionWhat->add_child()->set_field(2); // job name field. in CreateDurationMetricConfig_NoLink_SimpleCondition()
DDimensionInCondition_e2e_combination_AND_cond_test.cpp74 auto dimensionWhat = metric->mutable_dimensions_in_what(); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() local
75 dimensionWhat->set_field(android::util::SCHEDULED_JOB_STATE_CHANGED); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
76 dimensionWhat->add_child()->set_field(2); // job name field. in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp70 auto dimensionWhat = metric->mutable_dimensions_in_what(); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() local
71 dimensionWhat->set_field(android::util::SCHEDULED_JOB_STATE_CHANGED); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()
72 dimensionWhat->add_child()->set_field(2); // job name field. in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()