Home
last modified time | relevance | path

Searched refs:MultiConditionTrigger (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/statsd/src/utils/
DMultiConditionTrigger.h34 class MultiConditionTrigger {
36 explicit MultiConditionTrigger(const std::set<std::string>& conditionNames,
39 MultiConditionTrigger(const MultiConditionTrigger&) = delete;
40 MultiConditionTrigger& operator=(const MultiConditionTrigger&) = delete;
41 ~MultiConditionTrigger();
DMultiConditionTrigger.cpp29 MultiConditionTrigger::MultiConditionTrigger(const set<string>& conditionNames, in MultiConditionTrigger() function in android::os::statsd::MultiConditionTrigger
39 void MultiConditionTrigger::markComplete(const string& conditionName) { in markComplete()
55 void MultiConditionTrigger::startExecutorThread() { in startExecutorThread()
59 MultiConditionTrigger::~MultiConditionTrigger() { in ~MultiConditionTrigger()
/packages/modules/StatsD/statsd/tests/utils/
DMultiConditionTrigger_test.cpp36 TEST(MultiConditionTrigger, TestMultipleConditions) { in TEST() argument
46 MultiConditionTrigger trigger(conditionNames, [&lock, &cv, &triggerCalled] { in TEST()
81 TEST(MultiConditionTrigger, TestNoConditions) { in TEST() argument
86 MultiConditionTrigger trigger({}, [&lock, &cv, &triggerCalled] { in TEST()
100 TEST(MultiConditionTrigger, TestMarkCompleteCalledBySameCondition) { in TEST() argument
108 MultiConditionTrigger trigger(conditionNames, [&lock, &cv, &triggerCalled] { in TEST()
131 TEST(MultiConditionTrigger, TestTriggerOnlyCalledOnce) { in TEST() argument
140 MultiConditionTrigger trigger(conditionNames, [&lock, &cv, &triggerCalled, &triggerCount] { in TEST()
195 TEST(MultiConditionTrigger, TestTriggerHasSleep) { in TEST() argument
206 MultiConditionTrigger trigger(conditionNames, [&dependency] { in TEST()
[all …]
/packages/modules/StatsD/statsd/src/
DStatsService.h483 MultiConditionTrigger mBootCompleteTrigger;
/packages/modules/StatsD/statsd/
DAndroid.bp125 "src/utils/MultiConditionTrigger.cpp",