Searched refs:trackerNameIndexMap (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 119 unordered_map<int64_t, int> trackerNameIndexMap; in TEST() local 120 trackerNameIndexMap[StringToId("SCREEN_TURNED_ON")] = 0; in TEST() 121 trackerNameIndexMap[StringToId("SCREEN_TURNED_OFF")] = 1; in TEST() 124 simplePredicate, trackerNameIndexMap); in TEST() 203 unordered_map<int64_t, int> trackerNameIndexMap; in TEST() local 204 trackerNameIndexMap[StringToId("SCREEN_TURNED_ON")] = 0; in TEST() 205 trackerNameIndexMap[StringToId("SCREEN_TURNED_OFF")] = 1; in TEST() 209 trackerNameIndexMap); in TEST() 279 unordered_map<int64_t, int> trackerNameIndexMap; in TEST() local 280 trackerNameIndexMap[StringToId("WAKE_LOCK_ACQUIRE")] = 0; in TEST() [all …]
|
D | StateTracker_test.cpp | 59 unordered_map<int64_t, int> trackerNameIndexMap; in TEST() local 60 trackerNameIndexMap[StringToId("UidProcState")] = 0; in TEST() 64 trackerNameIndexMap, primaryFields); in TEST()
|
/frameworks/base/cmds/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 32 const unordered_map<int64_t, int>& trackerNameIndexMap) in SimpleConditionTracker() argument 38 auto pair = trackerNameIndexMap.find(simplePredicate.start()); in SimpleConditionTracker() 39 if (pair == trackerNameIndexMap.end()) { in SimpleConditionTracker() 50 auto pair = trackerNameIndexMap.find(simplePredicate.stop()); in SimpleConditionTracker() 51 if (pair == trackerNameIndexMap.end()) { in SimpleConditionTracker() 62 auto pair = trackerNameIndexMap.find(simplePredicate.stop_all()); in SimpleConditionTracker() 63 if (pair == trackerNameIndexMap.end()) { in SimpleConditionTracker()
|
D | StateTracker.cpp | 32 const unordered_map<int64_t, int>& trackerNameIndexMap, in StateTracker() argument 36 auto pair = trackerNameIndexMap.find(simplePredicate.start()); in StateTracker() 37 if (pair == trackerNameIndexMap.end()) { in StateTracker()
|
D | StateTracker.h | 32 const std::unordered_map<int64_t, int>& trackerNameIndexMap,
|
D | SimpleConditionTracker.h | 34 const std::unordered_map<int64_t, int>& trackerNameIndexMap);
|