Home
last modified time | relevance | path

Searched refs:getMockedDimensionKey (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp42 const HashableDimensionKey eventKey = getMockedDimensionKey(TagId, 0, "event");
44 const HashableDimensionKey kConditionKey1 = getMockedDimensionKey(TagId, 1, "maps");
45 const HashableDimensionKey kEventKey1 = getMockedDimensionKey(TagId, 2, "maps");
46 const HashableDimensionKey kEventKey2 = getMockedDimensionKey(TagId, 3, "maps");
52 const HashableDimensionKey kEventKey1 = getMockedDimensionKey(TagId, 2, "maps"); in TEST()
53 const HashableDimensionKey kEventKey2 = getMockedDimensionKey(TagId, 3, "maps"); in TEST()
85 const HashableDimensionKey kEventKey1 = getMockedDimensionKey(TagId, 2, "maps"); in TEST()
86 const HashableDimensionKey kEventKey2 = getMockedDimensionKey(TagId, 3, "maps"); in TEST()
117 {getMockedDimensionKey(TagId, 1, "maps")}; in TEST()
118 const HashableDimensionKey kEventKey1 = getMockedDimensionKey(TagId, 2, "maps"); in TEST()
[all …]
DMaxDurationTracker_test.cpp44 const HashableDimensionKey eventKey = getMockedDimensionKey(TagId, 0, "1");
45 const HashableDimensionKey conditionKey = getMockedDimensionKey(TagId, 4, "1");
46 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1");
47 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2");
52 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); in TEST()
53 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); in TEST()
88 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); in TEST()
89 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); in TEST()
125 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); in TEST()
126 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); in TEST()
[all …]
Dmetrics_test_helper.cpp21 HashableDimensionKey getMockedDimensionKey(int tagId, int key, string value) { in getMockedDimensionKey() function
30 return MetricDimensionKey(getMockedDimensionKey(tagId, key, value), DEFAULT_DIMENSION_KEY); in getMockedMetricDimensionKey()
DEventMetricProducer_test.cpp107 … key1[StringToId("APP_IN_BACKGROUND_PER_UID")] = {getMockedDimensionKey(conditionTagId, 2, "111")}; in TEST()
113 … key2[StringToId("APP_IN_BACKGROUND_PER_UID")] = {getMockedDimensionKey(conditionTagId, 2, "222")}; in TEST()
Dmetrics_test_helper.h49 HashableDimensionKey getMockedDimensionKey(int tagId, int key, std::string value);
DCountMetricProducer_test.cpp180 {getMockedDimensionKey(conditionTagId, 2, "111")}; in TEST()
187 {getMockedDimensionKey(conditionTagId, 2, "222")}; in TEST()