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.cc185 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local
186 total_bytes[kDownloadSourceHttpsServer] = 90; in TEST_F()
193 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
Dmetrics_reporter_omaha.cc409 int64_t total_bytes = 0; in ReportSuccessfulUpdateMetrics() local
424 total_bytes += num_bytes_downloaded[i]; in ReportSuccessfulUpdateMetrics()
428 mbs = total_bytes / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
Dpayload_state.cc731 int64_t total_bytes = 0; in CollectAndReportSuccessfulUpdateMetrics() local
752 total_bytes += bytes; in CollectAndReportSuccessfulUpdateMetrics()
760 (total_bytes - successful_bytes) * 100ULL / successful_bytes; in CollectAndReportSuccessfulUpdateMetrics()
Dpayload_state_unittest.cc903 int64_t total_bytes[kNumDownloadSources] = {}; in TEST() local
904 total_bytes[kDownloadSourceHttpServer] = num_bytes; in TEST()
912 test_utils::DownloadSourceMatcher(total_bytes), in TEST()
/system/gsid/
Dgsi_tool.cpp138 if (last_update_.total_bytes == 0) { in FinishLastBar()
142 last_update_.bytes_processed = last_update_.total_bytes; in FinishLastBar()
148 if (progress.total_bytes == 0) { in Display()
157 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()
158 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
Dgsi_service.h73 void StartAsyncOperation(const std::string& step, int64_t total_bytes);
Dgsi_service.cpp199 void GsiService::StartAsyncOperation(const std::string& step, int64_t total_bytes) { in StartAsyncOperation() argument
205 progress_.total_bytes = total_bytes; in StartAsyncOperation()
213 progress_.bytes_processed = progress_.total_bytes; in UpdateProgress()
/system/memory/libmeminfo/
Dprocmeminfo.cpp355 size_t total_bytes = page_cache.size() * sizeof(uint64_t); in ReadVmaStats() local
356 ssize_t bytes = pread64(pagemap_fd, page_cache.data(), total_bytes, in ReadVmaStats()
358 if (bytes != total_bytes) { in ReadVmaStats()
365 << " expected bytes " << total_bytes; in ReadVmaStats()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp206 size_t total_bytes = start + bytes; in dump_memory() local
219 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) { in dump_memory()