Home
last modified time | relevance | path

Searched refs:MetricsScheduler (Results 1 – 8 of 8) sorted by relevance

/external/cronet/components/metrics/
Dmetrics_scheduler.cc23 MetricsScheduler::MetricsScheduler(const base::RepeatingClosure& task_callback, in MetricsScheduler() function in metrics::MetricsScheduler
31 MetricsScheduler::~MetricsScheduler() {} in ~MetricsScheduler()
33 void MetricsScheduler::Start() { in Start()
38 void MetricsScheduler::Stop() { in Stop()
45 int MetricsScheduler::GetInitialIntervalSeconds() { in GetInitialIntervalSeconds()
49 void MetricsScheduler::TaskDone(base::TimeDelta next_interval) { in TaskDone()
57 void MetricsScheduler::TriggerTask() { in TriggerTask()
66 void MetricsScheduler::ScheduleNextTask() { in ScheduleNextTask()
71 timer_.Start(FROM_HERE, interval_, this, &MetricsScheduler::TriggerTask); in ScheduleNextTask()
Dmetrics_scheduler.h15 class MetricsScheduler {
19 MetricsScheduler(const base::RepeatingClosure& task_callback,
22 MetricsScheduler(const MetricsScheduler&) = delete;
23 MetricsScheduler& operator=(const MetricsScheduler&) = delete;
25 virtual ~MetricsScheduler();
Dmetrics_rotation_scheduler.cc17 : MetricsScheduler(upload_callback, fast_startup_for_testing), in MetricsRotationScheduler()
52 MetricsScheduler::TriggerTask(); in TriggerTask()
Dmetrics_upload_scheduler.h16 class MetricsUploadScheduler : public MetricsScheduler {
Dmetrics_rotation_scheduler.h15 class MetricsRotationScheduler : public MetricsScheduler {
Dmetrics_service_unittest.cc624 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
911 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
1012 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
1081 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
1212 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
1375 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
1548 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
1591 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds()) - in TEST_P()
Dmetrics_upload_scheduler.cc50 : MetricsScheduler(upload_callback, fast_startup_for_testing), in MetricsUploadScheduler()
Dmetrics_service_observer_unittest.cc106 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds())); in TEST_F()
167 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds())); in TEST_F()
497 base::Seconds(MetricsScheduler::GetInitialIntervalSeconds())); in TEST_P()