Home
last modified time | relevance | path

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

/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc51 metrics_reporter_ = new testing::NiceMock<MockMetricsReporter>(); in SetUp()
52 update_attempter_android_.metrics_reporter_.reset(metrics_reporter_); in SetUp()
76 testing::NiceMock<MockMetricsReporter>* metrics_reporter_; member in chromeos_update_engine::UpdateAttempterAndroidTest
88 EXPECT_CALL(*metrics_reporter_, ReportTimeToReboot(_)).Times(0); in TEST_F()
110 EXPECT_CALL(*metrics_reporter_, in TEST_F()
117 EXPECT_CALL(*metrics_reporter_, ReportTimeToReboot(duration.InMinutes())) in TEST_F()
143 *metrics_reporter_, in TEST_F()
152 EXPECT_CALL(*metrics_reporter_, in TEST_F()
180 EXPECT_CALL(*metrics_reporter_, in TEST_F()
183 EXPECT_CALL(*metrics_reporter_, in TEST_F()
[all …]
Dupdate_attempter_android.cc144 metrics_reporter_ = metrics::CreateMetricsReporter( in UpdateAttempterAndroid()
829 metrics_reporter_->ReportUpdateAttemptMetrics( in CollectAndReportUpdateMetricsOnUpdateFinished()
840 metrics_reporter_->ReportUpdateAttemptDownloadMetrics( in CollectAndReportUpdateMetricsOnUpdateFinished()
872 metrics_reporter_->ReportSuccessfulUpdateMetrics( in CollectAndReportUpdateMetricsOnUpdateFinished()
937 metrics_reporter_->ReportAbnormallyTerminatedUpdateAttemptMetrics(); in UpdatePrefsAndReportUpdateMetricsOnReboot()
941 metrics_reporter_.get(), prefs_, clock_.get()); in UpdatePrefsAndReportUpdateMetricsOnReboot()
Dupdate_attempter_android.h238 std::unique_ptr<MetricsReporterInterface> metrics_reporter_; variable
/system/update_engine/cros/
Dfake_system_state.h82 CHECK(metrics_reporter_ != nullptr); in metrics_reporter()
83 return metrics_reporter_; in metrics_reporter()
141 metrics_reporter_ = in set_metrics_reporter()
221 CHECK(metrics_reporter_ == &mock_metrics_reporter_); in mock_metrics_reporter()
288 MetricsReporterInterface* metrics_reporter_; variable
Dreal_system_state.h82 return &metrics_reporter_; in metrics_reporter()
145 MetricsReporterOmaha metrics_reporter_; variable
Dfake_system_state.cc28 metrics_reporter_(&mock_metrics_reporter_), in FakeSystemState()