Searched refs:ActivationState (Results 1 – 6 of 6) sorted by relevance
/packages/modules/StatsD/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 286 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kNotActive); in TEST() 289 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kNotActive); in TEST() 309 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST() 312 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kNotActive); in TEST() 325 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST() 328 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST() 338 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kActive); in TEST() 341 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kNotActive); in TEST() 359 EXPECT_EQ(eventActivationMap[0]->state, ActivationState::kNotActive); in TEST() 362 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kNotActive); in TEST() [all …]
|
D | DurationMetric_e2e_test.cpp | 273 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kNotActive); in TEST() 300 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST() 314 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kNotActive); in TEST() 344 EXPECT_EQ(eventActivationMap[2]->state, ActivationState::kActive); in TEST() 631 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kNotActive); in TEST() 644 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kNotActive); in TEST() 652 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kNotActive); in TEST() 661 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kActive); in TEST() 671 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kNotActive); in TEST() 696 EXPECT_EQ(eventActivationMap[4]->state, ActivationState::kActive); in TEST()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricProducer.cpp | 223 if (it.second->state == ActivationState::kActive && in evaluateActiveStateLocked() 225 it.second->state = ActivationState::kNotActive; in evaluateActiveStateLocked() 227 if (it.second->state == ActivationState::kActive) { in evaluateActiveStateLocked() 256 if (ActivationState::kNotActive == activation->state) { in activateLocked() 257 activation->state = ActivationState::kActiveOnBoot; in activateLocked() 263 activation->state = ActivationState::kActive; in activateLocked() 279 activationToCancelIt->state = ActivationState::kNotActive; in cancelEventActivationLocked() 303 activation->state = ActivationState::kActive; in loadActiveMetricLocked() 306 activation->state = ActivationState::kActiveOnBoot; in loadActiveMetricLocked() 318 if (ActivationState::kNotActive == activation->state || in writeActiveMetricToProtoOutputStream() [all …]
|
D | MetricProducer.h | 53 enum ActivationState { enum 82 state(ActivationState::kNotActive), in Activation() 88 ActivationState state;
|
/packages/apps/Nfc/nci/jni/ |
D | NfcTag.h | 36 enum ActivationState { Idle, Sleep, Active }; enum 128 ActivationState getActivationState(); 406 ActivationState mActivationState;
|
D | NfcTag.cpp | 139 NfcTag::ActivationState NfcTag::getActivationState() { in getActivationState()
|