Searched refs:DEFAULT_DIMENSION_KEY (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | MaxDurationTracker_test.cpp | 143 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 146 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + bucketSizeNs + 1, in TEST() 153 tracker.noteStop(DEFAULT_DIMENSION_KEY, bucketStartTimeNs + (3 * bucketSizeNs) + 20, in TEST() 184 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 185 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, bucketStartTimeNs + 10, ConditionKey()); in TEST() 187 tracker.noteStop(DEFAULT_DIMENSION_KEY, bucketStartTimeNs + 20, false /*stop all*/); in TEST() 194 tracker.noteStop(DEFAULT_DIMENSION_KEY, in TEST()
|
D | OringDurationTracker_test.cpp | 332 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, eventStartTimeNs, ConditionKey()); in TEST() 336 tracker.noteStop(DEFAULT_DIMENSION_KEY, eventStartTimeNs + 3, false); in TEST() 395 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, eventStartTimeNs, ConditionKey()); in TEST() 400 tracker.noteStop(DEFAULT_DIMENSION_KEY, bucketStartTimeNs + 14 * NS_PER_SEC, false); in TEST() 440 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, eventStartTimeNs, ConditionKey()); in TEST() 444 tracker.noteStop(DEFAULT_DIMENSION_KEY, eventStopTimeNs, false); in TEST() 453 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, event2StartTimeNs, ConditionKey()); in TEST() 455 tracker.noteStop(DEFAULT_DIMENSION_KEY, event2StopTimeNs, false); in TEST()
|
D | metrics_test_helper.cpp | 30 return MetricDimensionKey(getMockedDimensionKey(tagId, key, value), DEFAULT_DIMENSION_KEY); in getMockedMetricDimensionKey()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | ConfigTtl_e2e_test.cpp | 80 MetricDimensionKey dimensionKey1(whatKey1, DEFAULT_DIMENSION_KEY); in TEST() 85 MetricDimensionKey dimensionKey2(whatKey2, DEFAULT_DIMENSION_KEY); in TEST()
|
D | Anomaly_count_e2e_test.cpp | 89 MetricDimensionKey dimensionKey1(whatKey1, DEFAULT_DIMENSION_KEY); in TEST() 94 MetricDimensionKey dimensionKey2(whatKey2, DEFAULT_DIMENSION_KEY); in TEST() 192 MetricDimensionKey dimensionKey1(whatKey1, DEFAULT_DIMENSION_KEY); in TEST() 197 MetricDimensionKey dimensionKey2(whatKey2, DEFAULT_DIMENSION_KEY); in TEST()
|
D | Anomaly_duration_sum_e2e_test.cpp | 85 DEFAULT_DIMENSION_KEY); 90 DEFAULT_DIMENSION_KEY);
|
/frameworks/base/cmds/statsd/src/ |
D | stats_util.h | 27 const HashableDimensionKey DEFAULT_DIMENSION_KEY = HashableDimensionKey(); variable
|
/frameworks/base/cmds/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 302 const auto& itr = mSlicedConditionState.find(DEFAULT_DIMENSION_KEY); in evaluateCondition() 322 handleConditionEvent(DEFAULT_DIMENSION_KEY, matchedState == 1, &overallState, in evaluateCondition() 369 const auto& itr = mSlicedConditionState.find(DEFAULT_DIMENSION_KEY); in isConditionMet() 434 const auto& itr = mSlicedConditionState.find(DEFAULT_DIMENSION_KEY); in getMetConditionDimension()
|
D | CombinationConditionTracker.cpp | 195 dimensionsKeySet.insert(DEFAULT_DIMENSION_KEY); in getMetConditionDimension()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 718 it->second->noteStart(DEFAULT_DIMENSION_KEY, condition, in handleStartEvent() 721 HashableDimensionKey dimensionKey = DEFAULT_DIMENSION_KEY; in handleStartEvent() 761 dimensionInWhat = DEFAULT_DIMENSION_KEY; in onMatchedLogEventLocked() 776 HashableDimensionKey internalDimensionKey = DEFAULT_DIMENSION_KEY; in onMatchedLogEventLocked() 806 dimensionKeysInCondition.insert(DEFAULT_DIMENSION_KEY); in onMatchedLogEventLocked() 812 dimensionKeysInCondition.insert(DEFAULT_DIMENSION_KEY); in onMatchedLogEventLocked() 819 handleStartEvent(MetricDimensionKey(dimensionInWhat, DEFAULT_DIMENSION_KEY), in onMatchedLogEventLocked()
|
D | MetricProducer.cpp | 72 dimensionKeysInCondition.insert(DEFAULT_DIMENSION_KEY); in onMatchedLogEventLocked() 77 MetricDimensionKey metricKey(dimensionInWhat, DEFAULT_DIMENSION_KEY); in onMatchedLogEventLocked()
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 41 return MetricDimensionKey(dim, DEFAULT_DIMENSION_KEY); in getMockMetricDimensionKey()
|