Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp91 if (it.second->state == ActivationState::kActive && in evaluateActiveStateLocked()
95 if (it.second->state == ActivationState::kActive) { in evaluateActiveStateLocked()
145 activation->state = ActivationState::kActive; in activateLocked()
183 activation->state = ActivationState::kActive; in loadActiveMetricLocked()
199 (ActivationState::kActive == activation->state && in writeActiveMetricToProtoOutputStream()
208 if (ActivationState::kActive == activation->state) { in writeActiveMetricToProtoOutputStream()
DMetricProducer.h56 kActive = 1, enumerator
/frameworks/base/cmds/statsd/tests/e2e/
DMetricActivation_e2e_test.cpp306 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST()
323 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST()
326 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST()
336 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST()
376 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST()
525 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST()
543 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST()
546 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST()
557 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST()
599 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST()
[all …]
DDurationMetric_e2e_test.cpp292 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST()
336 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST()
640 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kActive); in TEST()
675 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kActive); in TEST()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp756 EXPECT_EQ(kActive, activation1001->state); in TEST()
947 EXPECT_EQ(kActive, activation1001_1->state); in TEST()
966 EXPECT_EQ(kActive, activation1001_1->state); in TEST()
1052 EXPECT_EQ(kActive, activationTimeBase3_1->state); in TEST()
1054 EXPECT_EQ(kActive, activationTimeBase3_2->state); in TEST()
1072 EXPECT_EQ(kActive, activationTimeBase3_2->state); in TEST()
1355 EXPECT_EQ(kActive, activation1001_1->state); in TEST()
1374 EXPECT_EQ(kActive, activation1001_1->state); in TEST()
1376 EXPECT_EQ(kActive, activation1001_2->state); in TEST()
1461 EXPECT_EQ(kActive, activationTimeBase3_1->state); in TEST()
[all …]