Searched refs:kActive (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.cpp | 91 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()
|
D | MetricProducer.h | 56 kActive = 1, enumerator
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 306 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 …]
|
D | DurationMetric_e2e_test.cpp | 292 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/ |
D | StatsLogProcessor_test.cpp | 756 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 …]
|