Searched refs:DownloadSource (Results 1 – 16 of 16) sorted by relevance
/system/update_engine/ |
D | payload_state.h | 103 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_;
|
D | payload_state_interface.h | 145 virtual uint64_t GetCurrentBytesDownloaded(DownloadSource source) = 0; 150 virtual uint64_t GetTotalBytesDownloaded(DownloadSource source) = 0;
|
D | mock_payload_state.h | 67 MOCK_METHOD1(GetCurrentBytesDownloaded, uint64_t(DownloadSource source)); 68 MOCK_METHOD1(GetTotalBytesDownloaded, uint64_t(DownloadSource source));
|
D | payload_state.cc | 94 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()
|
D | mock_metrics_reporter.h | 58 DownloadSource download_source,
|
D | metrics_reporter_interface.h | 145 DownloadSource download_source,
|
D | metrics_reporter_stub.h | 61 DownloadSource download_source, in ReportUpdateAttemptDownloadMetrics()
|
D | metrics_reporter_android.h | 61 DownloadSource download_source,
|
D | metrics_reporter_android.cc | 108 DownloadSource /* download_source */, in ReportUpdateAttemptDownloadMetrics() argument
|
D | metrics_reporter_omaha.h | 138 DownloadSource download_source,
|
D | metrics_reporter_omaha.cc | 348 DownloadSource download_source, in ReportUpdateAttemptDownloadMetrics() 416 DownloadSource source = static_cast<DownloadSource>(i); in ReportSuccessfulUpdateMetrics()
|
D | update_attempter_android.cc | 717 DownloadSource::kNumDownloadSources, in CollectAndReportUpdateMetricsOnUpdateFinished() 733 num_bytes_downloaded[DownloadSource::kDownloadSourceHttpsServer] = in CollectAndReportUpdateMetricsOnUpdateFinished()
|
D | metrics_reporter_omaha_unittest.cc | 280 DownloadSource download_source = kDownloadSourceHttpServer; in TEST_F()
|
/system/update_engine/common/ |
D | constants.h | 121 } DownloadSource; typedef
|
D | utils.h | 206 std::string ToString(DownloadSource source);
|
D | utils.cc | 872 string ToString(DownloadSource source) { in ToString()
|