/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 | 59 class AlarmMonitor : public RefBase { 66 AlarmMonitor(uint32_t minDiffToUpdateRegisteredAlarmTimeSec, 69 ~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 | MetricsManager_test.cpp | 273 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 …]
|
D | AlarmMonitor_test.cpp | 22 TEST(AlarmMonitor, popSoonerThan) { in TEST() argument 26 AlarmMonitor am(2, [](const sp<IStatsCompanionService>&, int64_t){}, in TEST()
|
D | StatsLogProcessor_test.cpp | 52 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 …]
|
D | statsd_test_util.cpp | 456 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()
|
D | UidMap_test.cpp | 45 sp<AlarmMonitor> anomalyAlarmMonitor; in TEST() 46 sp<AlarmMonitor> subscriberAlarmMonitor; in TEST()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 38 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;
|
D | StatsService.h | 365 const sp<AlarmMonitor> mAnomalyAlarmMonitor; 370 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 | 99 const sp<AlarmMonitor>& anomalyAlarmMonitor, 100 const sp<AlarmMonitor>& periodicAlarmMonitor, const int64_t timeBaseNs,
|
D | MetricsManager.h | 43 const sp<AlarmMonitor>& anomalyAlarmMonitor, 44 const sp<AlarmMonitor>& periodicAlarmMonitor);
|
D | DurationMetricProducer.h | 50 const sp<AlarmMonitor>& anomalyAlarmMonitor) override;
|
D | metrics_manager_util.cpp | 607 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()
|
D | MetricsManager.cpp | 66 const sp<AlarmMonitor>& anomalyAlarmMonitor, in MetricsManager() 67 const sp<AlarmMonitor>& periodicAlarmMonitor) in MetricsManager()
|
/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 | 215 sp<AlarmMonitor> alarmMonitor; in TEST() 328 sp<AlarmMonitor> alarmMonitor; in TEST()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 366 sp<AlarmMonitor> anomalyAlarmMonitor; in CreateStatsLogProcessor() 367 sp<AlarmMonitor> periodicAlarmMonitor; in CreateStatsLogProcessor()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 249 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()
|