Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/e2e/
DMetricActivation_e2e_test.cpp286 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 …]
DDurationMetric_e2e_test.cpp273 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/
DMetricProducer.cpp223 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 …]
DMetricProducer.h53 enum ActivationState { enum
82 state(ActivationState::kNotActive), in Activation()
88 ActivationState state;
/packages/apps/Nfc/nci/jni/
DNfcTag.h36 enum ActivationState { Idle, Sleep, Active }; enum
128 ActivationState getActivationState();
406 ActivationState mActivationState;
DNfcTag.cpp139 NfcTag::ActivationState NfcTag::getActivationState() { in getActivationState()