Home
last modified time | relevance | path

Searched refs:field_value_matcher (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp37 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateScheduledJobStateChangedAtomMatcher() local
38 field_value_matcher->set_field(3); // State field. in CreateScheduledJobStateChangedAtomMatcher()
39 field_value_matcher->set_eq_int(state); in CreateScheduledJobStateChangedAtomMatcher()
75 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateWakelockStateChangedAtomMatcher() local
76 field_value_matcher->set_field(4); // State field. in CreateWakelockStateChangedAtomMatcher()
77 field_value_matcher->set_eq_int(state); in CreateWakelockStateChangedAtomMatcher()
95 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateScreenStateChangedAtomMatcher() local
96 field_value_matcher->set_field(1); // State field. in CreateScreenStateChangedAtomMatcher()
97 field_value_matcher->set_eq_int(state); in CreateScreenStateChangedAtomMatcher()
117 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateSyncStateChangedAtomMatcher() local
[all …]
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp63 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateScheduledJobStateChangedAtomMatcher() local
64 field_value_matcher->set_field(3); // State field. in CreateScheduledJobStateChangedAtomMatcher()
65 field_value_matcher->set_eq_int(state); in CreateScheduledJobStateChangedAtomMatcher()
101 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateWakelockStateChangedAtomMatcher() local
102 field_value_matcher->set_field(4); // State field. in CreateWakelockStateChangedAtomMatcher()
103 field_value_matcher->set_eq_int(state); in CreateWakelockStateChangedAtomMatcher()
121 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateBatterySaverModeStateChangedAtomMatcher() local
122 field_value_matcher->set_field(1); // State field. in CreateBatterySaverModeStateChangedAtomMatcher()
123 field_value_matcher->set_eq_int(state); in CreateBatterySaverModeStateChangedAtomMatcher()
144 auto field_value_matcher = simple_atom_matcher->add_field_value_matcher(); in CreateBatteryStateChangedAtomMatcher() local
[all …]
/frameworks/base/cmds/statsd/src/matchers/
Dmatcher_util.cpp203 for (const auto& subMatcher : matcher.matches_tuple().field_value_matcher()) { in matchesSimple()
362 for (const auto& matcher : simpleMatcher.field_value_matcher()) { in matchesSimple()
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto85 repeated FieldValueMatcher field_value_matcher = 1; field
104 repeated FieldValueMatcher field_value_matcher = 2; field