Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state.h107 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { in GetCurrentBytesDownloaded()
111 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { in GetTotalBytesDownloaded()
343 std::string GetPrefsKey(const std::string& prefix, DownloadSource source);
349 void LoadCurrentBytesDownloaded(DownloadSource source);
353 void SetCurrentBytesDownloaded(DownloadSource source,
361 void LoadTotalBytesDownloaded(DownloadSource source);
365 void SetTotalBytesDownloaded(DownloadSource source,
507 DownloadSource current_download_source_;
Dmock_payload_state.h68 MOCK_METHOD1(GetCurrentBytesDownloaded, uint64_t(DownloadSource source));
69 MOCK_METHOD1(GetTotalBytesDownloaded, uint64_t(DownloadSource source));
Dpayload_state_interface.h145 virtual uint64_t GetCurrentBytesDownloaded(DownloadSource source) = 0;
150 virtual uint64_t GetTotalBytesDownloaded(DownloadSource source) = 0;
Dpayload_state.cc88 DownloadSource source = static_cast<DownloadSource>(i); in Initialize()
603 DownloadSource download_source = current_download_source_; in CollectAndReportAttemptMetrics()
692 DownloadSource source = static_cast<DownloadSource>(i); in CollectAndReportSuccessfulUpdateMetrics()
794 DownloadSource source = static_cast<DownloadSource>(i); in ResetDownloadSourcesOnNewUpdate()
1133 string PayloadState::GetPrefsKey(const string& prefix, DownloadSource source) { in GetPrefsKey()
1137 void PayloadState::LoadCurrentBytesDownloaded(DownloadSource source) { in LoadCurrentBytesDownloaded()
1143 DownloadSource source, in SetCurrentBytesDownloaded()
1161 void PayloadState::LoadTotalBytesDownloaded(DownloadSource source) { in LoadTotalBytesDownloaded()
1167 DownloadSource source, in SetTotalBytesDownloaded()
Dmetrics.cc215 DownloadSource download_source, in ReportUpdateAttemptMetrics()
387 DownloadSource source = static_cast<DownloadSource>(i); in ReportSuccessfulUpdateMetrics()
Dmetrics.h265 DownloadSource download_source,
/system/update_engine/common/
Dconstants.h110 } DownloadSource; typedef
Dutils.h213 std::string ToString(DownloadSource source);
Dutils.cc880 string ToString(DownloadSource source) { in ToString()