/frameworks/base/cmds/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 93 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric) { in createValueProducerNoConditions() argument 101 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return()); in createValueProducerNoConditions() 102 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillRepeatedly(Return()); in createValueProducerNoConditions() 107 bucketStartTimeNs, bucketStartTimeNs, pullerManager); in createValueProducerNoConditions() 113 sp<MockStatsPullerManager>& pullerManager, ValueMetric& metric) { in createValueProducerWithCondition() argument 121 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return()); in createValueProducerWithCondition() 122 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillRepeatedly(Return()); in createValueProducerWithCondition() 127 bucketStartTimeNs, pullerManager); in createValueProducerWithCondition() 165 sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); in TEST() local 171 22, pullerManager); in TEST() [all …]
|
D | GaugeMetricProducer_test.cpp | 74 sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); in TEST() local 81 pullerManager); in TEST() 109 sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); in TEST() local 110 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return()); in TEST() 111 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillOnce(Return()); in TEST() 112 EXPECT_CALL(*pullerManager, Pull(tagId, _)) in TEST() 127 pullerManager); in TEST() 202 sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); in TEST() local 213 bucketStartTimeNs, pullerManager); in TEST() 288 sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); in TEST() local [all …]
|
/frameworks/base/cmds/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 59 sp<MockStatsPullerManager> pullerManager, in runShellTest() argument 81 sp<ShellSubscriber> shellClient = new ShellSubscriber(uidMap, pullerManager); in runShellTest() 136 sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); in TEST() local 154 runShellTest(config, uidMap, pullerManager, pushedList, shellData); in TEST() 191 sp<MockStatsPullerManager> pullerManager = new StrictMock<MockStatsPullerManager>(); in TEST() local 192 EXPECT_CALL(*pullerManager, Pull(10016, _)) in TEST() 209 runShellTest(getPulledConfig(), uidMap, pullerManager, vector<std::shared_ptr<LogEvent>>(), in TEST()
|
/frameworks/base/cmds/statsd/tests/ |
D | MetricsManager_test.cpp | 272 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 290 EXPECT_TRUE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST() 304 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 322 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST() 333 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 351 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST() 362 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 379 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST() 390 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 407 EXPECT_FALSE(initStatsdConfig(kConfigKey, config, uidMap, pullerManager, anomalyAlarmMonitor, in TEST() [all …]
|
D | StatsLogProcessor_test.cpp | 65 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 69 StatsLogProcessor p(m, pullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, 0, in TEST() 86 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 90 StatsLogProcessor p(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, 0, in TEST() 118 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 122 StatsLogProcessor p(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, 0, in TEST() 161 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 167 StatsLogProcessor p(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, 0, in TEST() 192 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 198 StatsLogProcessor p(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, 0, in TEST() [all …]
|
D | UidMap_test.cpp | 44 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 48 StatsLogProcessor p(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, 0, in TEST()
|
D | statsd_test_util.cpp | 455 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in CreateStatsLogProcessor() local 463 new StatsLogProcessor(uidMap, pullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, in CreateStatsLogProcessor()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.h | 84 const int64_t currentTimeNs, UidMap& uidMap, const sp<StatsPullerManager>& pullerManager, 98 const sp<StatsPullerManager>& pullerManager,
|
D | metrics_manager_util.cpp | 289 const sp<StatsPullerManager>& pullerManager, in initMetrics() argument 504 timeBaseTimeNs, currentTimeNs, pullerManager); in initMetrics() 591 timeBaseTimeNs, currentTimeNs, pullerManager); in initMetrics() 774 const sp<StatsPullerManager>& pullerManager, in initStatsdConfig() argument 806 if (!initMetrics(key, config, timeBaseNs, currentTimeNs, pullerManager, logTrackerMap, in initStatsdConfig()
|
D | GaugeMetricProducer.h | 65 const sp<StatsPullerManager>& pullerManager);
|
D | MetricsManager.cpp | 65 const sp<StatsPullerManager>& pullerManager, in MetricsManager() argument 79 key, config, *uidMap, pullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, in MetricsManager()
|
D | MetricsManager.h | 42 const sp<StatsPullerManager>& pullerManager,
|
D | GaugeMetricProducer.cpp | 74 const sp<StatsPullerManager>& pullerManager) in GaugeMetricProducer() argument 78 mPullerManager(pullerManager), in GaugeMetricProducer()
|
D | ValueMetricProducer.h | 58 const sp<StatsPullerManager>& pullerManager);
|
D | ValueMetricProducer.cpp | 80 const int64_t startTimeNs, const sp<StatsPullerManager>& pullerManager) in ValueMetricProducer() argument 84 mPullerManager(pullerManager), in ValueMetricProducer()
|
/frameworks/base/cmds/statsd/benchmark/ |
D | metric_util.cpp | 365 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in CreateStatsLogProcessor() local 369 new StatsLogProcessor(uidMap, pullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, in CreateStatsLogProcessor()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 248 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 255 StatsLogProcessor processor(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, in TEST() 462 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 469 StatsLogProcessor processor(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, in TEST() 785 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 792 StatsLogProcessor processor(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, in TEST() 1120 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 1127 StatsLogProcessor processor(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, in TEST() 1317 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 1324 StatsLogProcessor processor(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, in TEST()
|
D | DurationMetric_e2e_test.cpp | 234 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local 240 StatsLogProcessor processor(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, in TEST()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 37 StatsLogProcessor(const sp<UidMap>& uidMap, const sp<StatsPullerManager>& pullerManager,
|
D | StatsLogProcessor.cpp | 78 const sp<StatsPullerManager>& pullerManager, in StatsLogProcessor() argument 86 mPullerManager(pullerManager), in StatsLogProcessor()
|