Searched refs:target_attempt (Results 1 – 8 of 8) sorted by relevance
1300 int64_t target_attempt; in ReportFailedBootIfNeeded() local1301 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() local1330 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 …]
80 MOCK_METHOD1(ReportFailedUpdateCount, void(int target_attempt));
199 virtual void ReportFailedUpdateCount(int target_attempt) = 0;
82 void ReportFailedUpdateCount(int target_attempt) override {} in ReportFailedUpdateCount() argument
159 void ReportFailedUpdateCount(int target_attempt) override;
562 void MetricsReporterOmaha::ReportFailedUpdateCount(int target_attempt) { in ReportFailedUpdateCount() argument565 target_attempt, in ReportFailedUpdateCount()570 LOG(INFO) << "Uploading " << target_attempt << " (count) for metric " in ReportFailedUpdateCount()
449 int target_attempt = 3; in TEST_F() local452 SendToUMA(metrics::kMetricFailedUpdateCount, target_attempt, _, _, _)) in TEST_F()455 reporter_.ReportFailedUpdateCount(target_attempt); in TEST_F()