Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DCountMetric_e2e_test.cpp160 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
165 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
238 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
247 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
256 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
306 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
315 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
321 EXPECT_EQ(metricProducer->mStateGroupMap.at(SCREEN_STATE_ATOM_ID).at(value), in TEST()
421 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
429 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
DDurationMetric_e2e_test.cpp764 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
769 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
833 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
846 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
859 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
913 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), SCREEN_STATE_ATOM_ID); in TEST()
918 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
995 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1008 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1021 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp551 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
560 EXPECT_EQ(SCREEN_STATE_ATOM_ID, metricProducer->mSlicedStateAtoms.at(0)); in TEST()
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h45 const int SCREEN_STATE_ATOM_ID = util::SCREEN_STATE_CHANGED; variable
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp4028 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST()
4030 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
4152 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4159 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4166 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4229 stateGroupMap[SCREEN_STATE_ATOM_ID][value] = group.group_id(); in TEST()
4239 StateManager::getInstance().registerListener(SCREEN_STATE_ATOM_ID, valueProducer); in TEST()
4241 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(SCREEN_STATE_ATOM_ID)); in TEST()
4372 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4379 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]