Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.cpp326 unique_ptr<DurationTracker> newTracker = in onSlicedConditionMayChangeLocked_opt2() local
328 if (newTracker != nullptr) { in onSlicedConditionMayChangeLocked_opt2()
329 newTracker->setEventKey(newEventKey); in onSlicedConditionMayChangeLocked_opt2()
330 newTracker->onConditionChanged(true, eventTime); in onSlicedConditionMayChangeLocked_opt2()
331 whatIt.second[trueDim] = std::move(newTracker); in onSlicedConditionMayChangeLocked_opt2()
384 unique_ptr<DurationTracker> newTracker = in onSlicedConditionMayChangeInternalLocked() local
386 if (newTracker != nullptr) { in onSlicedConditionMayChangeInternalLocked()
387 newTracker->setEventKey(MetricDimensionKey(newEventKey)); in onSlicedConditionMayChangeInternalLocked()
388 newTracker->onSlicedConditionMayChange(overallCondition, eventTimeNs); in onSlicedConditionMayChangeInternalLocked()
389 whatIt.second[conditionDimension] = std::move(newTracker); in onSlicedConditionMayChangeInternalLocked()
[all …]