Home
last modified time | relevance | path

Searched refs:SCREEN_STATE_ATOM_ID (Results 1 – 7 of 7) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DCountMetric_e2e_test.cpp316 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
321 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
394 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
403 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
412 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
461 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
470 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
476 EXPECT_EQ(metricProducer->mStateGroupMap.at(SCREEN_STATE_ATOM_ID).at(value), in TEST()
576 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
584 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
DDurationMetric_e2e_test.cpp773 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
778 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
842 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
855 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
868 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
921 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
926 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
1003 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1016 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1029 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp685 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
694 EXPECT_EQ(SCREEN_STATE_ATOM_ID, metricProducer->mSlicedStateAtoms.at(0)); in TEST()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp103 simpleAtomMatcher->set_atom_id(SCREEN_STATE_ATOM_ID); in buildCircleMatchers()
131 metric->mutable_dimensions_in_what()->set_field(SCREEN_STATE_ATOM_ID); in buildAlertWithUnknownMetric()
151 simpleAtomMatcher->set_atom_id(SCREEN_STATE_ATOM_ID); in buildMissingMatchers()
235 simpleAtomMatcher->set_atom_id(SCREEN_STATE_ATOM_ID); in buildCirclePredicates()
245 simpleAtomMatcher->set_atom_id(SCREEN_STATE_ATOM_ID); in buildCirclePredicates()
433 EXPECT_EQ(allTagIdsToMatchersMap[SCREEN_STATE_ATOM_ID].size(), 2); in TEST_F()
1400 simpleAtomMatcher->set_atom_id(SCREEN_STATE_ATOM_ID); in TEST_F()
1416 EXPECT_EQ(atomIds.count(SCREEN_STATE_ATOM_ID), 1); in TEST_F()
2157 matcher->mutable_simple_atom_matcher()->set_atom_id(SCREEN_STATE_ATOM_ID); in TEST_F()
2174 matcher->mutable_simple_atom_matcher()->set_atom_id(SCREEN_STATE_ATOM_ID); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp4040 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST()
4042 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
4218 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4227 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4236 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4304 stateGroupMap[SCREEN_STATE_ATOM_ID][value] = group.group_id(); in TEST()
4314 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST()
4316 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
4511 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4520 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h80 const int SCREEN_STATE_ATOM_ID = util::SCREEN_STATE_CHANGED; variable
Dstatsd_test_util.cpp2350 countMetric->mutable_dimensions_in_what()->set_field(SCREEN_STATE_ATOM_ID); in buildGoodConfig()