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 …]
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()
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 …]
DDurationMetricProducer_test.cpp40 const ConfigKey kConfigKey(0, 12345); variable
60 kConfigKey, metric, -1 /*no condition*/, 1 /* start index */, 2 /* stop index */, in TEST()
102 kConfigKey, metric, 0 /* condition index */, 1 /* start index */, 2 /* stop index */, in TEST()
153 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
208 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
263 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
302 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
350 kConfigKey, metric, -1 /* no condition */, 1 /* start index */, 2 /* stop index */, in TEST()
DCountMetricProducer_test.cpp38 const ConfigKey kConfigKey(0, 12345); variable
58 CountMetricProducer countProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
122 CountMetricProducer countProducer(kConfigKey, metric, 1, wizard, bucketStartTimeNs); in TEST()
183 CountMetricProducer countProducer(kConfigKey, metric, 1 /*condition tracker index*/, wizard, in TEST()
223 CountMetricProducer countProducer(kConfigKey, metric, -1 /* no condition */, wizard, in TEST()
282 CountMetricProducer countProducer(kConfigKey, metric, -1 /* no condition */, wizard, in TEST()
339 CountMetricProducer countProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
DValueMetricProducer_test.cpp40 const ConfigKey kConfigKey(0, 12345); variable
70 ValueMetricProducer valueProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
148 ValueMetricProducer valueProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
222 ValueMetricProducer valueProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
317 ValueMetricProducer valueProducer(kConfigKey, metric, 1, wizard, tagId, bucketStartTimeNs, in TEST()
370 ValueMetricProducer valueProducer(kConfigKey, metric, -1, wizard, -1, bucketStartTimeNs, in TEST()
426 ValueMetricProducer valueProducer(kConfigKey, metric, -1, wizard, tagId, bucketStartTimeNs, in TEST()
492 ValueMetricProducer valueProducer(kConfigKey, metric, 1, wizard, tagId, bucketStartTimeNs, in TEST()
520 ValueMetricProducer valueProducer(kConfigKey, metric, -1, wizard, -1, bucketStartTimeNs, in TEST()
562 ValueMetricProducer valueProducer(kConfigKey, metric, 1, wizard, -1, bucketStartTimeNs, in TEST()
[all …]
DGaugeMetricProducer_test.cpp40 const ConfigKey kConfigKey(0, 12345); variable
69 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
145 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
230 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
299 GaugeMetricProducer gaugeProducer(kConfigKey, metric, 1, wizard, tagId, in TEST()
391 GaugeMetricProducer gaugeProducer(kConfigKey, metric, 1, wizard, tagId, bucketStartTimeNs, in TEST()
435 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST()
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp44 const ConfigKey kConfigKey(0, 12345); variable
288 EXPECT_TRUE(initStatsdConfig(kConfigKey, config, uidMap, in TEST()
316 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, in TEST()
341 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, in TEST()
365 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, in TEST()
389 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, in TEST()
414 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, in TEST()
439 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, in TEST()
/frameworks/base/cmds/statsd/tests/anomaly/
DAlarmTracker_test.cpp33 const ConfigKey kConfigKey(0, 12345); variable
43 AlarmTracker tracker(startMillis, startMillis, alarm, kConfigKey, subscriberAlarmMonitor); in TEST()
DAnomalyTracker_test.cpp35 const ConfigKey kConfigKey(0, 12345); variable
127 AnomalyTracker anomalyTracker(alert, kConfigKey); in TEST()
272 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()