Home
last modified time | relevance | path

Searched refs:AlarmMonitor (Results 1 – 25 of 32) 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.h61 class AlarmMonitor : public RefBase {
68 AlarmMonitor(uint32_t minDiffToUpdateRegisteredAlarmTimeSec,
71 ~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/
DStatsLogProcessor_test.cpp50 new AlarmMonitor(10, [](const sp<IStatsCompanionService>&, int64_t){}, in MockMetricsManager()
52 new AlarmMonitor(10, [](const sp<IStatsCompanionService>&, int64_t){}, in __anon2030b8940302()
63 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
64 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
82 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
83 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
108 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
109 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
147 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
148 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
[all …]
DMetricsManager_test.cpp274 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
275 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
302 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
303 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
327 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
328 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
352 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
353 sp<AlarmMonitor> periodicAlarmMonitor; in TEST()
376 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
377 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()
Dstatsd_test_util.cpp455 sp<AlarmMonitor> anomalyAlarmMonitor = in CreateStatsLogProcessor()
456 new AlarmMonitor(1, [](const sp<IStatsCompanionService>&, int64_t){}, in CreateStatsLogProcessor()
458 sp<AlarmMonitor> periodicAlarmMonitor = in CreateStatsLogProcessor()
459 new AlarmMonitor(1, [](const sp<IStatsCompanionService>&, int64_t){}, in CreateStatsLogProcessor()
DUidMap_test.cpp43 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST()
44 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.h48 StatsLogProcessor(const sp<UidMap>& uidMap, const sp<AlarmMonitor>& anomalyAlarmMonitor,
49 const sp<AlarmMonitor>& subscriberTriggerAlarmMonitor,
107 inline sp<AlarmMonitor> getAnomalyAlarmMonitor() const { in getAnomalyAlarmMonitor()
111 inline sp<AlarmMonitor> getPeriodicAlarmMonitor() const { in getPeriodicAlarmMonitor()
131 sp<AlarmMonitor> mAnomalyAlarmMonitor;
133 sp<AlarmMonitor> mPeriodicAlarmMonitor;
DStatsService.h266 const sp<AlarmMonitor> mAnomalyAlarmMonitor;
271 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.h100 const sp<AlarmMonitor>& anomalyAlarmMonitor,
101 const sp<AlarmMonitor>& periodicAlarmMonitor,
DMetricsManager.h41 const sp<UidMap>& uidMap, const sp<AlarmMonitor>& anomalyAlarmMonitor,
42 const sp<AlarmMonitor>& periodicAlarmMonitor);
Dmetrics_manager_util.cpp548 const sp<AlarmMonitor>& anomalyAlarmMonitor, in initAlerts()
603 const sp<AlarmMonitor>& periodicAlarmMonitor, in initAlarms()
648 const sp<AlarmMonitor>& anomalyAlarmMonitor, in initStatsdConfig()
649 const sp<AlarmMonitor>& periodicAlarmMonitor, in initStatsdConfig()
DDurationMetricProducer.h50 const sp<AlarmMonitor>& anomalyAlarmMonitor) override;
DMetricsManager.cpp60 const sp<AlarmMonitor>& anomalyAlarmMonitor, in MetricsManager()
61 const sp<AlarmMonitor>& periodicAlarmMonitor) in MetricsManager()
DMetricProducer.h143 const sp<AlarmMonitor>& anomalyAlarmMonitor) { in addAnomalyTracker()
/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.cpp205 sp<AlarmMonitor> alarmMonitor; in TEST()
320 sp<AlarmMonitor> alarmMonitor; in TEST()
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp365 sp<AlarmMonitor> anomalyAlarmMonitor; in CreateStatsLogProcessor()
366 sp<AlarmMonitor> periodicAlarmMonitor; in CreateStatsLogProcessor()

12