Home
last modified time | relevance | path

Searched refs:AlarmMonitor (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/cmds/statsd/src/anomaly/
DAlarmMonitor.cpp27 AlarmMonitor::AlarmMonitor( in AlarmMonitor() function in android::os::statsd::AlarmMonitor
35 AlarmMonitor::~AlarmMonitor() {} in ~AlarmMonitor()
37 void AlarmMonitor::setStatsCompanionService(sp<IStatsCompanionService> statsCompanionService) { in setStatsCompanionService()
52 void AlarmMonitor::add(sp<const InternalAlarm> alarm) { in add()
72 void AlarmMonitor::remove(sp<const InternalAlarm> alarm) { in remove()
95 unordered_set<sp<const InternalAlarm>, SpHash<InternalAlarm>> AlarmMonitor::popSoonerThan( in popSoonerThan()
119 void AlarmMonitor::updateRegisteredAlarmTime_l(uint32_t timestampSec) { in updateRegisteredAlarmTime_l()
125 void AlarmMonitor::cancelRegisteredAlarmTime_l() { in cancelRegisteredAlarmTime_l()
131 int64_t AlarmMonitor::secToMs(uint32_t timeSec) { in secToMs()
DAlarmMonitor.h59 class AlarmMonitor : public RefBase {
66 AlarmMonitor(uint32_t minDiffToUpdateRegisteredAlarmTimeSec,
69 ~AlarmMonitor();
DAlarmTracker.h40 const sp<AlarmMonitor>& subscriberAlarmMonitor);
69 sp<AlarmMonitor> mAlarmMonitor;
DDurationAnomalyTracker.h31 const sp<AlarmMonitor>& alarmMonitor);
67 sp<AlarmMonitor> mAlarmMonitor;
DAlarmTracker.cpp36 const sp<AlarmMonitor>& alarmMonitor) in AlarmTracker()
DDurationAnomalyTracker.cpp28 const sp<AlarmMonitor>& alarmMonitor) in DurationAnomalyTracker()
DAnomalyTracker.h80 virtual void setAlarmMonitor(const sp<AlarmMonitor>& alarmMonitor) { in setAlarmMonitor()
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp273 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
274 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
305 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
306 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
334 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
335 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
363 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
364 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
391 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
392 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
[all …]
DAlarmMonitor_test.cpp22 TEST(AlarmMonitor, popSoonerThan) { in TEST() argument
26 AlarmMonitor am(2, [](const sp<IStatsCompanionService>&, int64_t){}, in TEST()
DStatsLogProcessor_test.cpp52 new AlarmMonitor(10, [](const sp<IStatsCompanionService>&, int64_t) {}, in MockMetricsManager()
54 new AlarmMonitor(10, [](const sp<IStatsCompanionService>&, int64_t) {}, in __anon2030b8940302()
66 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
67 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
87 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
88 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
119 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
120 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
164 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
165 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
[all …]
Dstatsd_test_util.cpp456 sp<AlarmMonitor> anomalyAlarmMonitor = in CreateStatsLogProcessor()
457 new AlarmMonitor(1, [](const sp<IStatsCompanionService>&, int64_t){}, in CreateStatsLogProcessor()
459 sp<AlarmMonitor> periodicAlarmMonitor = in CreateStatsLogProcessor()
460 new AlarmMonitor(1, [](const sp<IStatsCompanionService>&, int64_t){}, in CreateStatsLogProcessor()
DUidMap_test.cpp45 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
46 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.h38 const sp<AlarmMonitor>& anomalyAlarmMonitor,
39 const sp<AlarmMonitor>& subscriberTriggerAlarmMonitor,
129 inline sp<AlarmMonitor> getAnomalyAlarmMonitor() const { in getAnomalyAlarmMonitor()
133 inline sp<AlarmMonitor> getPeriodicAlarmMonitor() const { in getPeriodicAlarmMonitor()
156 sp<AlarmMonitor> mAnomalyAlarmMonitor;
158 sp<AlarmMonitor> mPeriodicAlarmMonitor;
DStatsService.h365 const sp<AlarmMonitor> mAnomalyAlarmMonitor;
370 const sp<AlarmMonitor> mPeriodicAlarmMonitor;
/frameworks/base/cmds/statsd/tests/anomaly/
DAlarmTracker_test.cpp36 sp<AlarmMonitor> subscriberAlarmMonitor = in TEST()
37 new AlarmMonitor(100, [](const sp<IStatsCompanionService>&, int64_t){}, in TEST()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.h99 const sp<AlarmMonitor>& anomalyAlarmMonitor,
100 const sp<AlarmMonitor>& periodicAlarmMonitor, const int64_t timeBaseNs,
DMetricsManager.h43 const sp<AlarmMonitor>& anomalyAlarmMonitor,
44 const sp<AlarmMonitor>& periodicAlarmMonitor);
DDurationMetricProducer.h50 const sp<AlarmMonitor>& anomalyAlarmMonitor) override;
Dmetrics_manager_util.cpp607 const sp<AlarmMonitor>& anomalyAlarmMonitor, in initAlerts()
662 const sp<AlarmMonitor>& periodicAlarmMonitor, in initAlarms()
775 const sp<AlarmMonitor>& anomalyAlarmMonitor, in initStatsdConfig()
776 const sp<AlarmMonitor>& periodicAlarmMonitor, const int64_t timeBaseNs, in initStatsdConfig()
DMetricsManager.cpp66 const sp<AlarmMonitor>& anomalyAlarmMonitor, in MetricsManager()
67 const sp<AlarmMonitor>& periodicAlarmMonitor) in MetricsManager()
/frameworks/base/cmds/statsd/tests/metrics/
DOringDurationTracker_test.cpp324 sp<AlarmMonitor> alarmMonitor; in TEST()
386 sp<AlarmMonitor> alarmMonitor; in TEST()
431 sp<AlarmMonitor> alarmMonitor; in TEST()
491 sp<AlarmMonitor> alarmMonitor; in TEST()
541 sp<AlarmMonitor> alarmMonitor; in TEST()
DMaxDurationTracker_test.cpp273 sp<AlarmMonitor> alarmMonitor; in TEST()
333 sp<AlarmMonitor> alarmMonitor; in TEST()
416 sp<AlarmMonitor> alarmMonitor; in TEST()
DCountMetricProducer_test.cpp215 sp<AlarmMonitor> alarmMonitor; in TEST()
328 sp<AlarmMonitor> alarmMonitor; in TEST()
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp366 sp<AlarmMonitor> anomalyAlarmMonitor; in CreateStatsLogProcessor()
367 sp<AlarmMonitor> periodicAlarmMonitor; in CreateStatsLogProcessor()
/frameworks/base/cmds/statsd/tests/e2e/
DMetricActivation_e2e_test.cpp249 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
250 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
463 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
464 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
786 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
787 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
1121 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
1122 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
1318 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
1319 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()

12