Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state.h103 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { in GetCurrentBytesDownloaded()
107 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { in GetTotalBytesDownloaded()
328 std::string GetPrefsKey(const std::string& prefix, DownloadSource source);
334 void LoadCurrentBytesDownloaded(DownloadSource source);
338 void SetCurrentBytesDownloaded(DownloadSource source,
346 void LoadTotalBytesDownloaded(DownloadSource source);
350 void SetTotalBytesDownloaded(DownloadSource source,
489 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.h67 MOCK_METHOD1(GetCurrentBytesDownloaded, uint64_t(DownloadSource source));
68 MOCK_METHOD1(GetTotalBytesDownloaded, uint64_t(DownloadSource source));
Dpayload_state.cc94 DownloadSource source = static_cast<DownloadSource>(i); in Initialize()
615 DownloadSource download_source = current_download_source_; in CollectAndReportAttemptMetrics()
709 DownloadSource source = static_cast<DownloadSource>(i); in CollectAndReportSuccessfulUpdateMetrics()
811 DownloadSource source = static_cast<DownloadSource>(i); in ResetDownloadSourcesOnNewUpdate()
1164 string PayloadState::GetPrefsKey(const string& prefix, DownloadSource source) { in GetPrefsKey()
1168 void PayloadState::LoadCurrentBytesDownloaded(DownloadSource source) { in LoadCurrentBytesDownloaded()
1173 void PayloadState::SetCurrentBytesDownloaded(DownloadSource source, in SetCurrentBytesDownloaded()
1191 void PayloadState::LoadTotalBytesDownloaded(DownloadSource source) { in LoadTotalBytesDownloaded()
1196 void PayloadState::SetTotalBytesDownloaded(DownloadSource source, in SetTotalBytesDownloaded()
Dmock_metrics_reporter.h58 DownloadSource download_source,
Dmetrics_reporter_interface.h145 DownloadSource download_source,
Dmetrics_reporter_stub.h61 DownloadSource download_source, in ReportUpdateAttemptDownloadMetrics()
Dmetrics_reporter_android.h61 DownloadSource download_source,
Dmetrics_reporter_android.cc108 DownloadSource /* download_source */, in ReportUpdateAttemptDownloadMetrics() argument
Dmetrics_reporter_omaha.h138 DownloadSource download_source,
Dmetrics_reporter_omaha.cc348 DownloadSource download_source, in ReportUpdateAttemptDownloadMetrics()
416 DownloadSource source = static_cast<DownloadSource>(i); in ReportSuccessfulUpdateMetrics()
Dupdate_attempter_android.cc717 DownloadSource::kNumDownloadSources, in CollectAndReportUpdateMetricsOnUpdateFinished()
733 num_bytes_downloaded[DownloadSource::kDownloadSourceHttpsServer] = in CollectAndReportUpdateMetricsOnUpdateFinished()
Dmetrics_reporter_omaha_unittest.cc280 DownloadSource download_source = kDownloadSourceHttpServer; in TEST_F()
/system/update_engine/common/
Dconstants.h121 } DownloadSource; typedef
Dutils.h206 std::string ToString(DownloadSource source);
Dutils.cc872 string ToString(DownloadSource source) { in ToString()