/frameworks/base/cmds/statsd/src/condition/ |
D | CombinationConditionTracker.h | 45 const std::vector<sp<ConditionTracker>>& allConditions, 53 const std::vector<sp<ConditionTracker>>& allConditions, 60 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getChangedToTrueDimensions() argument 62 auto result = allConditions[child]->getChangedToTrueDimensions(allConditions); in getChangedToTrueDimensions() 72 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getChangedToFalseDimensions() argument 74 auto result = allConditions[child]->getChangedToFalseDimensions(allConditions); in getChangedToFalseDimensions() 89 const std::vector<sp<ConditionTracker>>& allConditions, 93 const std::vector<sp<ConditionTracker>>& allConditions, in getTrueSlicedDimensions() argument 96 return allConditions[mSlicedChildren.front()]->getTrueSlicedDimensions( in getTrueSlicedDimensions() 97 allConditions, dimensions); in getTrueSlicedDimensions()
|
D | CombinationConditionTracker.cpp | 107 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet() argument 116 allConditions[childIndex]->isConditionMet(conditionParameters, allConditions, in isConditionMet() 177 const std::vector<sp<ConditionTracker>>& allConditions, in getMetConditionDimension() argument 181 vector<ConditionState> conditionCache(allConditions.size(), ConditionState::kNotEvaluated); in getMetConditionDimension() 185 allConditions[childIndex]->getMetConditionDimension( in getMetConditionDimension() 186 allConditions, dimensionFields, isSubOutputDimensionFields, dimensionsKeySet); in getMetConditionDimension() 196 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions() argument 199 mSlicedChildren.front() >= (int)allConditions.size() || in equalOutputDimensions() 203 const sp<ConditionTracker>& slicedChild = allConditions.at(mSlicedChildren.front()); in equalOutputDimensions() 204 return slicedChild->equalOutputDimensions(allConditions, dimensions); in equalOutputDimensions()
|
D | StateTracker.h | 57 const std::vector<sp<ConditionTracker>>& allConditions, 70 const std::vector<sp<ConditionTracker>>& allConditions, 76 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToTrueDimensions() argument 81 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToFalseDimensions() argument 90 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions() argument 96 const std::vector<sp<ConditionTracker>>& allConditions, in getTrueSlicedDimensions() argument
|
D | ConditionTracker.h | 96 const std::vector<sp<ConditionTracker>>& allConditions, 104 const std::vector<sp<ConditionTracker>>& allConditions, 123 const std::vector<sp<ConditionTracker>>& allConditions) const = 0; 125 const std::vector<sp<ConditionTracker>>& allConditions) const = 0; 132 const std::vector<sp<ConditionTracker>>& allConditions, 140 const std::vector<sp<ConditionTracker>>& allConditions,
|
D | SimpleConditionTracker.h | 50 const std::vector<sp<ConditionTracker>>& allConditions, 58 const std::vector<sp<ConditionTracker>>& allConditions, 64 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToTrueDimensions() argument 73 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToFalseDimensions() argument 82 const std::vector<sp<ConditionTracker>>& allConditions, in getTrueSlicedDimensions() argument 96 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions() argument
|
D | SimpleConditionTracker.cpp | 342 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet() argument 361 allConditions, dimensionFields, isSubOutputDimensionFields, dimensionsKeySet); in isConditionMet() 423 const std::vector<sp<ConditionTracker>>& allConditions, in getMetConditionDimension() argument
|
D | StateTracker.cpp | 180 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet() argument 216 const std::vector<sp<ConditionTracker>>& allConditions, in getMetConditionDimension() argument
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 197 std::vector<sp<ConditionTracker>> allConditions; in TEST() local 268 std::vector<sp<ConditionTracker>> allConditions; in TEST() local 314 EXPECT_EQ(conditionTracker.getChangedToTrueDimensions(allConditions)->size(), 1u); in TEST() 315 EXPECT_TRUE(conditionTracker.getChangedToFalseDimensions(allConditions)->empty()); in TEST() 317 … EXPECT_EQ(conditionTracker.getChangedToTrueDimensions(allConditions)->size(), uids.size()); in TEST() 346 EXPECT_TRUE(conditionTracker.getChangedToTrueDimensions(allConditions)->empty()); in TEST() 347 EXPECT_TRUE(conditionTracker.getChangedToFalseDimensions(allConditions)->empty()); in TEST() 368 EXPECT_TRUE(conditionTracker.getChangedToTrueDimensions(allConditions)->empty()); in TEST() 369 EXPECT_TRUE(conditionTracker.getChangedToFalseDimensions(allConditions)->empty()); in TEST() 384 EXPECT_EQ(conditionTracker.getChangedToFalseDimensions(allConditions)->size(), 1u); in TEST() [all …]
|