Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 10 of 10) sorted by relevance

/system/gsid/aidl/android/gsi/
DGsiProgress.aidl28 long total_bytes;
/system/update_engine/
Dupdate_attempter_android_unittest.cc175 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local
176 total_bytes[kDownloadSourceHttpsServer] = 90; in TEST_F()
183 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
Dmetrics_reporter_omaha.cc413 int64_t total_bytes = 0; in ReportSuccessfulUpdateMetrics() local
428 total_bytes += num_bytes_downloaded[i]; in ReportSuccessfulUpdateMetrics()
432 mbs = total_bytes / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
Dpayload_state.cc704 int64_t total_bytes = 0; in CollectAndReportSuccessfulUpdateMetrics() local
725 total_bytes += bytes; in CollectAndReportSuccessfulUpdateMetrics()
733 (total_bytes - successful_bytes) * 100ULL / successful_bytes; in CollectAndReportSuccessfulUpdateMetrics()
Dpayload_state_unittest.cc900 int64_t total_bytes[kNumDownloadSources] = {}; in TEST() local
901 total_bytes[kDownloadSourceHttpServer] = num_bytes; in TEST()
909 test_utils::DownloadSourceMatcher(total_bytes), in TEST()
/system/gsid/
Dgsi_tool.cpp152 if (last_update_.total_bytes == 0) { in FinishLastBar()
156 last_update_.bytes_processed = last_update_.total_bytes; in FinishLastBar()
162 if (progress.total_bytes == 0) { in Display()
171 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()
172 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
Dgsi_service.h118 void StartAsyncOperation(const std::string& step, int64_t total_bytes);
Dgsi_service.cpp147 void GsiService::StartAsyncOperation(const std::string& step, int64_t total_bytes) { in StartAsyncOperation() argument
153 progress_.total_bytes = total_bytes; in StartAsyncOperation()
161 progress_.bytes_processed = progress_.total_bytes; in UpdateProgress()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp191 size_t total_bytes = start + bytes; local
199 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) {
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc141 const size_t total_bytes) { in RemoveIdenticalBlockRanges() argument
177 if (do_remove && (nonfull_block_bytes = total_bytes % kBlockSize)) in RemoveIdenticalBlockRanges()