Home
last modified time | relevance | path

Searched refs:metrics_reporter_ (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/
Dupdate_attempter_android_unittest.cc50 metrics_reporter_ = new testing::NiceMock<MockMetricsReporter>(); in SetUp()
51 update_attempter_android_.metrics_reporter_.reset(metrics_reporter_); in SetUp()
75 testing::NiceMock<MockMetricsReporter>* metrics_reporter_; member in chromeos_update_engine::UpdateAttempterAndroidTest
85 EXPECT_CALL(*metrics_reporter_, ReportTimeToReboot(_)).Times(0); in TEST_F()
107 EXPECT_CALL(*metrics_reporter_, in TEST_F()
114 EXPECT_CALL(*metrics_reporter_, ReportTimeToReboot(duration.InMinutes())) in TEST_F()
140 *metrics_reporter_, in TEST_F()
150 EXPECT_CALL(*metrics_reporter_, in TEST_F()
178 EXPECT_CALL(*metrics_reporter_, in TEST_F()
181 EXPECT_CALL(*metrics_reporter_, in TEST_F()
[all …]
Dfake_system_state.h71 CHECK(metrics_reporter_ != nullptr); in metrics_reporter()
72 return metrics_reporter_; in metrics_reporter()
130 metrics_reporter_ = in set_metrics_reporter()
200 CHECK(metrics_reporter_ == &mock_metrics_reporter_); in mock_metrics_reporter()
261 MetricsReporterInterface* metrics_reporter_; variable
Dreal_system_state.h97 return &metrics_reporter_; in metrics_reporter()
164 MetricsReporterOmaha metrics_reporter_; variable
Dfake_system_state.cc30 metrics_reporter_(&mock_metrics_reporter_), in FakeSystemState()
Dupdate_attempter_android.cc143 metrics_reporter_ = metrics::CreateMetricsReporter(); in UpdateAttempterAndroid()
806 metrics_reporter_->ReportUpdateAttemptMetrics( in CollectAndReportUpdateMetricsOnUpdateFinished()
818 metrics_reporter_->ReportUpdateAttemptDownloadMetrics( in CollectAndReportUpdateMetricsOnUpdateFinished()
850 metrics_reporter_->ReportSuccessfulUpdateMetrics( in CollectAndReportUpdateMetricsOnUpdateFinished()
908 metrics_reporter_->ReportAbnormallyTerminatedUpdateAttemptMetrics(); in UpdatePrefsAndReportUpdateMetricsOnReboot()
912 metrics_reporter_.get(), prefs_, clock_.get()); in UpdatePrefsAndReportUpdateMetricsOnReboot()
Dupdate_attempter_android.h234 std::unique_ptr<MetricsReporterInterface> metrics_reporter_; variable