Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state.cc1323 int64_t target_attempt; in ReportFailedBootIfNeeded() local
1324 if (!prefs_->GetInt64(kPrefsTargetVersionAttempt, &target_attempt)) { in ReportFailedBootIfNeeded()
1327 target_attempt = 1; in ReportFailedBootIfNeeded()
1332 target_attempt); in ReportFailedBootIfNeeded()
1347 int64_t target_attempt; in ExpectRebootInNewVersion() local
1353 if (!prefs_->GetInt64(kPrefsTargetVersionAttempt, &target_attempt)) in ExpectRebootInNewVersion()
1354 target_attempt = 0; in ExpectRebootInNewVersion()
1357 target_attempt = 0; in ExpectRebootInNewVersion()
1359 prefs_->SetInt64(kPrefsTargetVersionAttempt, target_attempt + 1); in ExpectRebootInNewVersion()
1372 int64_t target_attempt; in ResetUpdateStatus() local
[all …]
Dmock_metrics_reporter.h80 MOCK_METHOD1(ReportFailedUpdateCount, void(int target_attempt));
Dmetrics_reporter_android.h80 void ReportFailedUpdateCount(int target_attempt) override {} in ReportFailedUpdateCount() argument
Dmetrics_reporter_stub.h80 void ReportFailedUpdateCount(int target_attempt) override {} in ReportFailedUpdateCount() argument
Dmetrics_reporter_interface.h197 virtual void ReportFailedUpdateCount(int target_attempt) = 0;
Dmetrics_reporter_omaha.h157 void ReportFailedUpdateCount(int target_attempt) override;
Dmetrics_reporter_omaha.cc558 void MetricsReporterOmaha::ReportFailedUpdateCount(int target_attempt) { in ReportFailedUpdateCount() argument
561 target_attempt, in ReportFailedUpdateCount()
566 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()