Home
last modified time | relevance | path

Searched refs:pullerManager (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp93 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 …]
DGaugeMetricProducer_test.cpp74 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/
DShellSubscriber_test.cpp59 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/
DMetricsManager_test.cpp272 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 …]
DStatsLogProcessor_test.cpp65 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 …]
DUidMap_test.cpp44 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local
48 StatsLogProcessor p(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, 0, in TEST()
Dstatsd_test_util.cpp455 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in CreateStatsLogProcessor() local
463 new StatsLogProcessor(uidMap, pullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, in CreateStatsLogProcessor()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.h84 const int64_t currentTimeNs, UidMap& uidMap, const sp<StatsPullerManager>& pullerManager,
98 const sp<StatsPullerManager>& pullerManager,
Dmetrics_manager_util.cpp289 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()
DGaugeMetricProducer.h65 const sp<StatsPullerManager>& pullerManager);
DMetricsManager.cpp65 const sp<StatsPullerManager>& pullerManager, in MetricsManager() argument
79 key, config, *uidMap, pullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, in MetricsManager()
DMetricsManager.h42 const sp<StatsPullerManager>& pullerManager,
DGaugeMetricProducer.cpp74 const sp<StatsPullerManager>& pullerManager) in GaugeMetricProducer() argument
78 mPullerManager(pullerManager), in GaugeMetricProducer()
DValueMetricProducer.h58 const sp<StatsPullerManager>& pullerManager);
DValueMetricProducer.cpp80 const int64_t startTimeNs, const sp<StatsPullerManager>& pullerManager) in ValueMetricProducer() argument
84 mPullerManager(pullerManager), in ValueMetricProducer()
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp365 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in CreateStatsLogProcessor() local
369 new StatsLogProcessor(uidMap, pullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, in CreateStatsLogProcessor()
/frameworks/base/cmds/statsd/tests/e2e/
DMetricActivation_e2e_test.cpp248 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()
DDurationMetric_e2e_test.cpp234 sp<StatsPullerManager> pullerManager = new StatsPullerManager(); in TEST() local
240 StatsLogProcessor processor(m, pullerManager, anomalyAlarmMonitor, subscriberAlarmMonitor, in TEST()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.h37 StatsLogProcessor(const sp<UidMap>& uidMap, const sp<StatsPullerManager>& pullerManager,
DStatsLogProcessor.cpp78 const sp<StatsPullerManager>& pullerManager, in StatsLogProcessor() argument
86 mPullerManager(pullerManager), in StatsLogProcessor()