Home
last modified time | relevance | path

Searched refs:conditionsToUpdate (Results 1 – 3 of 3) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dconfig_update_utils.cpp241 const set<int64_t>& replacedMatchers, vector<UpdateStatus>& conditionsToUpdate, in determineConditionUpdateStatus() argument
244 if (conditionsToUpdate[conditionIdx] != UPDATE_UNKNOWN) { in determineConditionUpdateStatus()
253 conditionsToUpdate[conditionIdx] = UPDATE_NEW; in determineConditionUpdateStatus()
266 conditionsToUpdate[conditionIdx] = UPDATE_REPLACE; in determineConditionUpdateStatus()
277 conditionsToUpdate[conditionIdx] = UPDATE_REPLACE; in determineConditionUpdateStatus()
283 conditionsToUpdate[conditionIdx] = UPDATE_REPLACE; in determineConditionUpdateStatus()
289 conditionsToUpdate[conditionIdx] = UPDATE_REPLACE; in determineConditionUpdateStatus()
293 conditionsToUpdate[conditionIdx] = UPDATE_PRESERVE; in determineConditionUpdateStatus()
319 newConditionTrackerMap, replacedMatchers, conditionsToUpdate, cycleTracker); in determineConditionUpdateStatus()
325 if (conditionsToUpdate[childIdx] == UPDATE_REPLACE) { in determineConditionUpdateStatus()
[all …]
Dconfig_update_utils.h94 const std::set<int64_t>& replacedMatchers, std::vector<UpdateStatus>& conditionsToUpdate,
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp529 vector<UpdateStatus> conditionsToUpdate(1, UPDATE_UNKNOWN); in TEST_F() local
535 replacedMatchers, conditionsToUpdate, cycleTracker), in TEST_F()
537 EXPECT_EQ(conditionsToUpdate[0], UPDATE_PRESERVE); in TEST_F()
556 vector<UpdateStatus> conditionsToUpdate(1, UPDATE_UNKNOWN); in TEST_F() local
562 replacedMatchers, conditionsToUpdate, cycleTracker), in TEST_F()
564 EXPECT_EQ(conditionsToUpdate[0], UPDATE_REPLACE); in TEST_F()
584 vector<UpdateStatus> conditionsToUpdate(1, UPDATE_UNKNOWN); in TEST_F() local
590 replacedMatchers, conditionsToUpdate, cycleTracker), in TEST_F()
592 EXPECT_EQ(conditionsToUpdate[0], UPDATE_REPLACE); in TEST_F()
628 vector<UpdateStatus> conditionsToUpdate(3, UPDATE_UNKNOWN); in TEST_F() local
[all …]