Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DMaxDurationTracker_test.cpp143 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()
DOringDurationTracker_test.cpp332 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()
Dmetrics_test_helper.cpp30 return MetricDimensionKey(getMockedDimensionKey(tagId, key, value), DEFAULT_DIMENSION_KEY); in getMockedMetricDimensionKey()
/frameworks/base/cmds/statsd/tests/e2e/
DConfigTtl_e2e_test.cpp80 MetricDimensionKey dimensionKey1(whatKey1, DEFAULT_DIMENSION_KEY); in TEST()
85 MetricDimensionKey dimensionKey2(whatKey2, DEFAULT_DIMENSION_KEY); in TEST()
DAnomaly_count_e2e_test.cpp89 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()
DAnomaly_duration_sum_e2e_test.cpp85 DEFAULT_DIMENSION_KEY);
90 DEFAULT_DIMENSION_KEY);
/frameworks/base/cmds/statsd/src/
Dstats_util.h27 const HashableDimensionKey DEFAULT_DIMENSION_KEY = HashableDimensionKey(); variable
/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.cpp302 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()
DCombinationConditionTracker.cpp195 dimensionsKeySet.insert(DEFAULT_DIMENSION_KEY); in getMetConditionDimension()
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.cpp718 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()
DMetricProducer.cpp72 dimensionKeysInCondition.insert(DEFAULT_DIMENSION_KEY); in onMatchedLogEventLocked()
77 MetricDimensionKey metricKey(dimensionInWhat, DEFAULT_DIMENSION_KEY); in onMatchedLogEventLocked()
/frameworks/base/cmds/statsd/tests/anomaly/
DAnomalyTracker_test.cpp41 return MetricDimensionKey(dim, DEFAULT_DIMENSION_KEY); in getMockMetricDimensionKey()