Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp89 bool isActive = mEventActivationMap.empty(); in evaluateActiveStateLocked()
90 for (auto& it : mEventActivationMap) { in evaluateActiveStateLocked()
119 if (mEventActivationMap.empty()) { in addActivation()
124 mEventActivationMap.emplace(activationTrackerIndex, activation); in addActivation()
132 auto it = mEventActivationMap.find(activationTrackerIndex); in activateLocked()
133 if (it == mEventActivationMap.end()) { in activateLocked()
165 if (mEventActivationMap.size() == 0) { in loadActiveMetricLocked()
170 auto it = mEventActivationMap.find(activeEventActivation.atom_matcher_index()); in loadActiveMetricLocked()
171 if (it == mEventActivationMap.end()) { in loadActiveMetricLocked()
194 for (auto& it : mEventActivationMap) { in writeActiveMetricToProtoOutputStream()
DMetricProducer.h401 std::unordered_map<int, std::shared_ptr<Activation>> mEventActivationMap; variable
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp614 const auto& activation1003 = metricProducer1003->mEventActivationMap.begin()->second; in TEST()
618 const auto& activation1005 = metricProducer1005->mEventActivationMap.begin()->second; in TEST()
622 const auto& activation1006 = metricProducer1006->mEventActivationMap.begin()->second; in TEST()
699 const auto& activation1 = metricProducer1->mEventActivationMap.begin()->second; in TEST()
747 const auto& activation1001 = metricProducer1001->mEventActivationMap.begin()->second; in TEST()
837 const auto& activation1 = metricProducer1->mEventActivationMap.at(i); in TEST()
849 const auto& activation2 = metricProducer1->mEventActivationMap.at(i); in TEST()
920 const auto& activation1001_1 = metricProducer1001->mEventActivationMap.at(i); in TEST()
933 const auto& activation1001_2 = metricProducer1001->mEventActivationMap.at(i); in TEST()
1023 const auto& activationTimeBase3_1 = metricProducerTimeBase3_1->mEventActivationMap.at(i); in TEST()
[all …]
/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp259 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
398 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
497 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
606 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
DMetricActivation_e2e_test.cpp274 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
488 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
811 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
1146 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
1343 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
1346 auto& eventActivationMap2 = metricProducer2->mEventActivationMap; in TEST()