Lines Matching refs:config1
365 StatsdConfig config1; in TEST() local
367 config1.set_id(cfgId1); in TEST()
368 config1.add_allowed_log_source("AID_ROOT"); // LogEvent defaults to UID of root. in TEST()
370 *config1.add_atom_matcher() = wakelockAcquireMatcher; in TEST()
374 auto countMetric1 = config1.add_count_metric(); in TEST()
379 auto countMetric2 = config1.add_count_metric(); in TEST()
471 processor.OnConfigUpdated(1, cfgKey1, config1); in TEST()
593 CreateStatsLogProcessor(timeBase2, timeBase2, config1, cfgKey1); in TEST()
709 StatsdConfig config1; in TEST() local
710 config1.set_id(12341); in TEST()
711 config1.add_allowed_log_source("AID_ROOT"); // LogEvent defaults to UID of root. in TEST()
713 *config1.add_atom_matcher() = wakelockAcquireMatcher; in TEST()
717 auto countMetric1 = config1.add_count_metric(); in TEST()
722 auto countMetric2 = config1.add_count_metric(); in TEST()
727 auto metric1Activation = config1.add_metric_activation(); in TEST()
737 CreateStatsLogProcessor(timeBase1, timeBase1, config1, cfgKey1); in TEST()
787 CreateStatsLogProcessor(timeBase2, timeBase2, config1, cfgKey1); in TEST()
833 StatsdConfig config1; in TEST() local
834 config1.set_id(12341); in TEST()
835 config1.add_allowed_log_source("AID_ROOT"); // LogEvent defaults to UID of root. in TEST()
838 *config1.add_atom_matcher() = wakelockAcquireMatcher; in TEST()
839 *config1.add_atom_matcher() = screenOnMatcher; in TEST()
844 auto countMetric1 = config1.add_count_metric(); in TEST()
849 auto countMetric2 = config1.add_count_metric(); in TEST()
854 auto metric1Activation = config1.add_metric_activation(); in TEST()
867 CreateStatsLogProcessor(timeBase1, timeBase1, config1, cfgKey1); in TEST()
952 CreateStatsLogProcessor(timeBase2, timeBase2, config1, cfgKey1); in TEST()
1053 CreateStatsLogProcessor(timeBase3, timeBase3, config1, cfgKey1); in TEST()
1155 CreateStatsLogProcessor(timeBase4, timeBase4, config1, cfgKey1); in TEST()
1234 StatsdConfig config1; in TEST() local
1235 config1.set_id(12341); in TEST()
1236 config1.add_allowed_log_source("AID_ROOT"); // LogEvent defaults to UID of root. in TEST()
1239 *config1.add_atom_matcher() = wakelockAcquireMatcher; in TEST()
1240 *config1.add_atom_matcher() = screenOnMatcher; in TEST()
1245 auto countMetric1 = config1.add_count_metric(); in TEST()
1250 auto countMetric2 = config1.add_count_metric(); in TEST()
1255 auto metric1Activation = config1.add_metric_activation(); in TEST()
1269 CreateStatsLogProcessor(timeBase1, timeBase1, config1, cfgKey1); in TEST()
1335 CreateStatsLogProcessor(timeBase2, timeBase2, config1, cfgKey1); in TEST()
1419 CreateStatsLogProcessor(timeBase3, timeBase3, config1, cfgKey1); in TEST()
1498 StatsdConfig config1; in TEST() local
1499 config1.set_id(configId); in TEST()
1500 config1.add_allowed_log_source("AID_ROOT"); // LogEvent defaults to UID of root. in TEST()
1505 *config1.add_atom_matcher() = wakelockAcquireMatcher; in TEST()
1506 *config1.add_atom_matcher() = screenOnMatcher; in TEST()
1507 *config1.add_atom_matcher() = jobStartMatcher; in TEST()
1508 *config1.add_atom_matcher() = jobFinishMatcher; in TEST()
1514 auto countMetric1 = config1.add_count_metric(); in TEST()
1519 auto countMetric2 = config1.add_count_metric(); in TEST()
1524 auto countMetric3 = config1.add_count_metric(); in TEST()
1530 auto metric1Activation = config1.add_metric_activation(); in TEST()
1542 auto metric2Activation = config1.add_metric_activation(); in TEST()
1555 string serialized = config1.SerializeAsString(); in TEST()