Home
last modified time | relevance | path

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

/packages/modules/StatsD/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.h81 const int UID_PROCESS_STATE_ATOM_ID = util::UID_PROCESS_STATE_CHANGED; variable
/packages/modules/StatsD/statsd/tests/e2e/
DCountMetric_e2e_test.cpp629 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
633 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /*uid*/}); in TEST()
646 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
655 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), UID_PROCESS_STATE_ATOM_ID); in TEST()
757 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
766 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
775 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
785 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
794 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
803 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
DDurationMetric_e2e_test.cpp1208 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
1212 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
1257 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
1261 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
1280 EXPECT_EQ(metricProducer->mSlicedStateAtoms.at(0), UID_PROCESS_STATE_ATOM_ID); in TEST()
1285 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
1357 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1370 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1386 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
1399 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp727 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
731 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
744 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
753 EXPECT_EQ(UID_PROCESS_STATE_ATOM_ID, metricProducer->mSlicedStateAtoms.at(0)); in TEST()
784 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
788 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp4550 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
4554 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
4660 pullerManager, metric, {UID_PROCESS_STATE_ATOM_ID}, {}); in TEST()
4663 StateManager::getInstance().registerListener(UID_PROCESS_STATE_ATOM_ID, valueProducer); in TEST()
4665 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
5532 stateLink->set_state_atom_id(UID_PROCESS_STATE_ATOM_ID); in TEST()
5536 *fieldsInState = CreateDimensions(UID_PROCESS_STATE_ATOM_ID, {1 /* uid */}); in TEST()
5681 pullerManager, metric, {UID_PROCESS_STATE_ATOM_ID}, {}, ConditionState::kTrue); in TEST()
5685 StateManager::getInstance().registerListener(UID_PROCESS_STATE_ATOM_ID, valueProducer); in TEST()
5687 EXPECT_EQ(1, StateManager::getInstance().getListenersCount(UID_PROCESS_STATE_ATOM_ID)); in TEST()
[all …]