Home
last modified time | relevance | path

Searched refs:DownloadSource (Results 1 – 16 of 16) sorted by relevance

/system/update_engine/cros/
Dpayload_state.h104 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { in GetCurrentBytesDownloaded()
108 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { in GetTotalBytesDownloaded()
341 std::string GetPrefsKey(const std::string& prefix, DownloadSource source);
347 void LoadCurrentBytesDownloaded(DownloadSource source);
351 void SetCurrentBytesDownloaded(DownloadSource source,
359 void LoadTotalBytesDownloaded(DownloadSource source);
363 void SetTotalBytesDownloaded(DownloadSource source,
503 DownloadSource current_download_source_;
Dpayload_state_interface.h145 virtual uint64_t GetCurrentBytesDownloaded(DownloadSource source) = 0;
150 virtual uint64_t GetTotalBytesDownloaded(DownloadSource source) = 0;
Dmock_payload_state.h66 MOCK_METHOD1(GetCurrentBytesDownloaded, uint64_t(DownloadSource source));
67 MOCK_METHOD1(GetTotalBytesDownloaded, uint64_t(DownloadSource source));
Dpayload_state.cc97 DownloadSource source = static_cast<DownloadSource>(i); in Initialize()
644 DownloadSource download_source = current_download_source_; in CollectAndReportAttemptMetrics()
739 DownloadSource source = static_cast<DownloadSource>(i); in CollectAndReportSuccessfulUpdateMetrics()
840 DownloadSource source = static_cast<DownloadSource>(i); in ResetDownloadSourcesOnNewUpdate()
1175 string PayloadState::GetPrefsKey(const string& prefix, DownloadSource source) { in GetPrefsKey()
1179 void PayloadState::LoadCurrentBytesDownloaded(DownloadSource source) { in LoadCurrentBytesDownloaded()
1184 void PayloadState::SetCurrentBytesDownloaded(DownloadSource source, in SetCurrentBytesDownloaded()
1200 void PayloadState::LoadTotalBytesDownloaded(DownloadSource source) { in LoadTotalBytesDownloaded()
1205 void PayloadState::SetTotalBytesDownloaded(DownloadSource source, in SetTotalBytesDownloaded()
Dmetrics_reporter_omaha.cc308 DownloadSource download_source, in ReportUpdateAttemptDownloadMetrics()
366 DownloadSource source = static_cast<DownloadSource>(i); in ReportSuccessfulUpdateMetrics()
Dmetrics_reporter_omaha.h134 DownloadSource download_source,
Dmetrics_reporter_omaha_unittest.cc261 DownloadSource download_source = kDownloadSourceHttpServer; in TEST_F()
/system/update_engine/common/
Dmock_metrics_reporter.h56 DownloadSource download_source,
Dmetrics_reporter_stub.h57 DownloadSource download_source, in ReportUpdateAttemptDownloadMetrics()
Dmetrics_reporter_interface.h136 DownloadSource download_source,
Dconstants.h144 } DownloadSource; typedef
Dutils.h213 std::string ToString(DownloadSource source);
Dutils.cc777 string ToString(DownloadSource source) { in ToString()
/system/update_engine/aosp/
Dmetrics_reporter_android.h62 DownloadSource download_source,
Dmetrics_reporter_android.cc155 DownloadSource /* download_source */, in ReportUpdateAttemptDownloadMetrics() argument
Dupdate_attempter_android.cc843 DownloadSource::kNumDownloadSources, in CollectAndReportUpdateMetricsOnUpdateFinished()
859 num_bytes_downloaded[DownloadSource::kDownloadSourceHttpsServer] = in CollectAndReportUpdateMetricsOnUpdateFinished()