Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/
DHashableDimensionKey_test.cpp44 UID_PROCESS_STATE_ATOM_ID)); in TEST()
52 int stateAtomId = UID_PROCESS_STATE_ATOM_ID; in TEST()
86 int stateAtomId = UID_PROCESS_STATE_ATOM_ID; in TEST()
104 int stateAtomId = UID_PROCESS_STATE_ATOM_ID; in TEST()
Dstatsd_test_util.h46 const int UID_PROCESS_STATE_ATOM_ID = util::UID_PROCESS_STATE_CHANGED; variable
/frameworks/base/cmds/statsd/tests/e2e/
DCountMetric_e2e_test.cpp473 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
477 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /*uid*/}); in TEST()
490 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
499 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), UID_PROCESS_STATE_ATOM_ID); in TEST()
601 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
609 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
617 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
626 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
634 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
667 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
[all …]
DDurationMetric_e2e_test.cpp1202 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
1206 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
1249 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
1253 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
1272 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), UID_PROCESS_STATE_ATOM_ID); in TEST()
1277 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
1349 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1362 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1378 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1391 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp594 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
598 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
611 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
620 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, metricProducer->mSlicedStateAtoms.at(0)); in TEST()
652 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
656 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp4404 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
4408 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
4488 pullerManager, metric, {UID_PROCESS_STATE_ATOM_ID}, {}); in TEST()
4491 StateManager::getInstance().registerListener(UID_PROCESS_STATE_ATOM_ID, valueProducer); in TEST()
4493 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
4812 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4820 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4825 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4836 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
4841 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()