Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state.cc1300 int64_t target_attempt; in ReportFailedBootIfNeeded() local
1301 if (!prefs_->GetInt64(kPrefsTargetVersionAttempt, &target_attempt)) { in ReportFailedBootIfNeeded()
1304 target_attempt = 1; in ReportFailedBootIfNeeded()
1309 target_attempt); in ReportFailedBootIfNeeded()
1324 int64_t target_attempt; in ExpectRebootInNewVersion() local
1330 if (!prefs_->GetInt64(kPrefsTargetVersionAttempt, &target_attempt)) in ExpectRebootInNewVersion()
1331 target_attempt = 0; in ExpectRebootInNewVersion()
1334 target_attempt = 0; in ExpectRebootInNewVersion()
1336 prefs_->SetInt64(kPrefsTargetVersionAttempt, target_attempt + 1); in ExpectRebootInNewVersion()
1349 int64_t target_attempt; in ResetUpdateStatus() local
[all …]
Dmock_metrics_reporter.h80 MOCK_METHOD1(ReportFailedUpdateCount, void(int target_attempt));
Dmetrics_reporter_interface.h199 virtual void ReportFailedUpdateCount(int target_attempt) = 0;
Dmetrics_reporter_stub.h82 void ReportFailedUpdateCount(int target_attempt) override {} in ReportFailedUpdateCount() argument
Dmetrics_reporter_android.h82 void ReportFailedUpdateCount(int target_attempt) override {} in ReportFailedUpdateCount() argument
Dmetrics_reporter_omaha.h159 void ReportFailedUpdateCount(int target_attempt) override;
Dmetrics_reporter_omaha.cc562 void MetricsReporterOmaha::ReportFailedUpdateCount(int target_attempt) { in ReportFailedUpdateCount() argument
565 target_attempt, in ReportFailedUpdateCount()
570 LOG(INFO) << "Uploading " << target_attempt << " (count) for metric " in ReportFailedUpdateCount()
Dmetrics_reporter_omaha_unittest.cc449 int target_attempt = 3; in TEST_F() local
452 SendToUMA(metrics::kMetricFailedUpdateCount, target_attempt, _, _, _)) in TEST_F()
455 reporter_.ReportFailedUpdateCount(target_attempt); in TEST_F()