Searched refs:getMockedDimensionKey (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 42 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 …]
|
D | MaxDurationTracker_test.cpp | 44 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 …]
|
D | metrics_test_helper.cpp | 21 HashableDimensionKey getMockedDimensionKey(int tagId, int key, string value) { in getMockedDimensionKey() function 30 return MetricDimensionKey(getMockedDimensionKey(tagId, key, value), DEFAULT_DIMENSION_KEY); in getMockedMetricDimensionKey()
|
D | EventMetricProducer_test.cpp | 107 … 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()
|
D | metrics_test_helper.h | 49 HashableDimensionKey getMockedDimensionKey(int tagId, int key, std::string value);
|
D | CountMetricProducer_test.cpp | 180 {getMockedDimensionKey(conditionTagId, 2, "111")}; in TEST() 187 {getMockedDimensionKey(conditionTagId, 2, "222")}; in TEST()
|