Home
last modified time | relevance | path

Searched refs:newConditionTrackers (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp858 vector<sp<ConditionTracker>> newConditionTrackers; in TEST_F() local
864 newConditionTrackers, trackerToConditionMap, conditionCache, in TEST_F()
875 ASSERT_EQ(newConditionTrackers.size(), 6); in TEST_F()
877 for (const sp<ConditionTracker>& tracker : newConditionTrackers) { in TEST_F()
883 newConditionTrackers[newConditionTrackerMap.at(simple1Id)]); in TEST_F()
885 newConditionTrackers[newConditionTrackerMap.at(simple2Id)]); in TEST_F()
887 newConditionTrackers[newConditionTrackerMap.at(combination1Id)]); in TEST_F()
891 newConditionTrackers[newConditionTrackerMap.at(simple3Id)]); in TEST_F()
893 newConditionTrackers[newConditionTrackerMap.at(combination2Id)]); in TEST_F()
923 EXPECT_EQ(newConditionTrackers[simple1Index]->getConditionId(), simple1Id); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dconfig_update_utils.cpp351 vector<sp<ConditionTracker>>& newConditionTrackers, in updateConditions() argument
357 newConditionTrackers.reserve(conditionTrackerCount); in updateConditions()
400 newConditionTrackers.push_back(oldConditionTrackers[oldIndex]); in updateConditions()
412 newConditionTrackers.push_back(tracker); in updateConditions()
426 invalidConfigReason = newConditionTrackers[conditionIndex]->onConfigUpdated( in updateConditions()
427 conditionProtos, conditionIndex, newConditionTrackers, atomMatchingTrackerMap, in updateConditions()
431 (long long)newConditionTrackers[conditionIndex]->getConditionId()); in updateConditions()
438 const sp<ConditionTracker>& conditionTracker = newConditionTrackers[conditionIndex]; in updateConditions()
441 conditionTracker->init(conditionProtos, newConditionTrackers, in updateConditions()
1215 vector<sp<ConditionTracker>>& newConditionTrackers, in updateStatsdConfig() argument
[all …]
Dconfig_update_utils.h119 std::vector<sp<ConditionTracker>>& newConditionTrackers,
254 std::vector<sp<ConditionTracker>>& newConditionTrackers,
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp152 vector<sp<ConditionTracker>> newConditionTrackers; in updateConfig() local
173 newAtomMatchingTrackers, newAtomMatchingTrackerMap, newConditionTrackers, in updateConfig()
181 mAllConditionTrackers = newConditionTrackers; in updateConfig()