Searched refs:target_attempt (Results 1 – 8 of 8) sorted by relevance
1323 int64_t target_attempt; in ReportFailedBootIfNeeded() local1324 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() local1353 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 …]
80 MOCK_METHOD1(ReportFailedUpdateCount, void(int target_attempt));
80 void ReportFailedUpdateCount(int target_attempt) override {} in ReportFailedUpdateCount() argument
197 virtual void ReportFailedUpdateCount(int target_attempt) = 0;
157 void ReportFailedUpdateCount(int target_attempt) override;
558 void MetricsReporterOmaha::ReportFailedUpdateCount(int target_attempt) { in ReportFailedUpdateCount() argument561 target_attempt, in ReportFailedUpdateCount()566 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()