Home
last modified time | relevance | path

Searched refs:kConfigKey (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp39 const ConfigKey kConfigKey(0, 12345); variable
65 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
97 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
130 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
161 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
206 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
246 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
285 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
326 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
327 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
[all …]
DMaxDurationTracker_test.cpp40 const ConfigKey kConfigKey(0, 12345); variable
66 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, dimensionInCondition, in TEST()
102 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, dimensionInCondition, in TEST()
138 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, dimensionInCondition, in TEST()
179 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, dimensionInCondition, in TEST()
226 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
275 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
276 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
335 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
336 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, dimensionInCondition, in TEST()
[all …]
DEventMetricProducer_test.cpp36 const ConfigKey kConfigKey(0, 12345); variable
51 EventMetricProducer eventProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
75 EventMetricProducer eventProducer(kConfigKey, metric, 1, wizard, bucketStartTimeNs); in TEST()
120 EventMetricProducer eventProducer(kConfigKey, metric, 1, wizard, bucketStartTimeNs); in TEST()
DDurationMetricProducer_test.cpp40 const ConfigKey kConfigKey(0, 12345); variable
51 kConfigKey, metric, -1 /*no condition*/, 1 /* start index */, 2 /* stop index */, in TEST()
77 kConfigKey, metric, -1 /*no condition*/, 1 /* start index */, 2 /* stop index */, in TEST()
118 kConfigKey, metric, 0 /* condition index */, 1 /* start index */, 2 /* stop index */, in TEST()
166 kConfigKey, metric, 0 /* condition index */, 1 /* start index */, 2 /* stop index */, in TEST()
214 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
268 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
322 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
360 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
407 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
DCountMetricProducer_test.cpp38 const ConfigKey kConfigKey(0, 12345); variable
46 CountMetricProducer countProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
71 CountMetricProducer countProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
134 …CountMetricProducer countProducer(kConfigKey, metric, 1, wizard, bucketStartTimeNs, bucketStartTim… in TEST()
194 CountMetricProducer countProducer(kConfigKey, metric, 1 /*condition tracker index*/, wizard, in TEST()
233 CountMetricProducer countProducer(kConfigKey, metric, -1 /* no condition */, wizard, in TEST()
291 CountMetricProducer countProducer(kConfigKey, metric, -1 /* no condition */, wizard, in TEST()
347 CountMetricProducer countProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
DGaugeMetricProducer_test.cpp41 const ConfigKey kConfigKey(0, 12345); variable
78 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
124 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
210 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
303 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
369 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
431 GaugeMetricProducer gaugeProducer(kConfigKey, metric, 1, wizard, in TEST()
529 GaugeMetricProducer gaugeProducer(kConfigKey, metric, 1, wizard, in TEST()
582 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
691 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
[all …]
DValueMetricProducer_test.cpp42 const ConfigKey kConfigKey(0, 12345); variable
105 kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in createValueProducerNoConditions()
125 new ValueMetricProducer(kConfigKey, metric, 1, wizard, logEventMatcherIndex, in createValueProducerWithCondition()
169 ValueMetricProducer valueProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
199 ValueMetricProducer valueProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
381 kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
670 ValueMetricProducer valueProducer(kConfigKey, metric, -1, wizard, logEventMatcherIndex, in TEST()
728 ValueMetricProducer valueProducer(kConfigKey, metric, -1, wizard, logEventMatcherIndex, in TEST()
779 ValueMetricProducer valueProducer(kConfigKey, metric, -1, wizard, logEventMatcherIndex, in TEST()
854 ValueMetricProducer valueProducer(kConfigKey, metric, -1, wizard, logEventMatcherIndex, in TEST()
[all …]
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp42 const ConfigKey kConfigKey(0, 12345); variable
290 EXPECT_TRUE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST()
322 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST()
351 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST()
379 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST()
407 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST()
436 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST()
465 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST()
/frameworks/base/cmds/statsd/tests/anomaly/
DAlarmTracker_test.cpp33 const ConfigKey kConfigKey(0, 12345); variable
44 AlarmTracker tracker(startMillis, startMillis, alarm, kConfigKey, subscriberAlarmMonitor); in TEST()
DAnomalyTracker_test.cpp35 const ConfigKey kConfigKey(0, 12345); variable
128 AnomalyTracker anomalyTracker(alert, kConfigKey); in TEST()
273 AnomalyTracker anomalyTracker(alert, kConfigKey); in TEST()
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp34 const ConfigKey kConfigKey(0, 12345); variable
123 …SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), 0 /*tracker index*… in TEST()
207 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), in TEST()
284 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), in TEST()
415 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), in TEST()
515 SimpleConditionTracker conditionTracker(kConfigKey, StringToId(conditionName), in TEST()
/frameworks/base/cmds/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp33 const int kConfigKey = 789130123; // Randomly chosen to avoid collisions with existing configs. variable
40 service.addConfiguration(kConfigKey, configAsVec, String16(kAndroid.c_str())); in SendConfig()
47 ConfigKey configKey(ipc->getCallingUid(), kConfigKey); in GetReports()