/frameworks/base/cmds/statsd/src/anomaly/ |
D | AlarmMonitor.cpp | 27 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()
|
D | AlarmMonitor.h | 61 class AlarmMonitor : public RefBase { 68 AlarmMonitor(uint32_t minDiffToUpdateRegisteredAlarmTimeSec, 71 ~AlarmMonitor();
|
D | AlarmTracker.h | 40 const sp<AlarmMonitor>& subscriberAlarmMonitor); 69 sp<AlarmMonitor> mAlarmMonitor;
|
D | DurationAnomalyTracker.h | 31 const sp<AlarmMonitor>& alarmMonitor); 67 sp<AlarmMonitor> mAlarmMonitor;
|
D | AlarmTracker.cpp | 36 const sp<AlarmMonitor>& alarmMonitor) in AlarmTracker()
|
D | DurationAnomalyTracker.cpp | 28 const sp<AlarmMonitor>& alarmMonitor) in DurationAnomalyTracker()
|
D | AnomalyTracker.h | 80 virtual void setAlarmMonitor(const sp<AlarmMonitor>& alarmMonitor) { in setAlarmMonitor()
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 50 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 …]
|
D | MetricsManager_test.cpp | 274 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 …]
|
D | AlarmMonitor_test.cpp | 22 TEST(AlarmMonitor, popSoonerThan) { in TEST() argument 26 AlarmMonitor am(2, [](const sp<IStatsCompanionService>&, int64_t){}, in TEST()
|
D | statsd_test_util.cpp | 455 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()
|
D | UidMap_test.cpp | 43 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST() 44 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 48 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;
|
D | StatsService.h | 266 const sp<AlarmMonitor> mAnomalyAlarmMonitor; 271 const sp<AlarmMonitor> mPeriodicAlarmMonitor;
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AlarmTracker_test.cpp | 36 sp<AlarmMonitor> subscriberAlarmMonitor = in TEST() 37 new AlarmMonitor(100, [](const sp<IStatsCompanionService>&, int64_t){}, in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.h | 100 const sp<AlarmMonitor>& anomalyAlarmMonitor, 101 const sp<AlarmMonitor>& periodicAlarmMonitor,
|
D | MetricsManager.h | 41 const sp<UidMap>& uidMap, const sp<AlarmMonitor>& anomalyAlarmMonitor, 42 const sp<AlarmMonitor>& periodicAlarmMonitor);
|
D | metrics_manager_util.cpp | 548 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()
|
D | DurationMetricProducer.h | 50 const sp<AlarmMonitor>& anomalyAlarmMonitor) override;
|
D | MetricsManager.cpp | 60 const sp<AlarmMonitor>& anomalyAlarmMonitor, in MetricsManager() 61 const sp<AlarmMonitor>& periodicAlarmMonitor) in MetricsManager()
|
D | MetricProducer.h | 143 const sp<AlarmMonitor>& anomalyAlarmMonitor) { in addAnomalyTracker()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 324 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()
|
D | MaxDurationTracker_test.cpp | 273 sp<AlarmMonitor> alarmMonitor; in TEST() 333 sp<AlarmMonitor> alarmMonitor; in TEST() 416 sp<AlarmMonitor> alarmMonitor; in TEST()
|
D | CountMetricProducer_test.cpp | 205 sp<AlarmMonitor> alarmMonitor; in TEST() 320 sp<AlarmMonitor> alarmMonitor; in TEST()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 365 sp<AlarmMonitor> anomalyAlarmMonitor; in CreateStatsLogProcessor() 366 sp<AlarmMonitor> periodicAlarmMonitor; in CreateStatsLogProcessor()
|