Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/fields/
Dscalar_field.cc171 int total_bytes; in GenRustGetter() local
173 total_bytes = 1; in GenRustGetter()
175 total_bytes = 2; in GenRustGetter()
177 total_bytes = 4; in GenRustGetter()
179 total_bytes = 8; in GenRustGetter()
181 for (int i = 0; i < total_bytes; i++) { in GenRustGetter()
/system/gsid/aidl/android/gsi/
DGsiProgress.aidl28 long total_bytes;
/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc187 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local
188 total_bytes[kDownloadSourceHttpsServer] = 90; in TEST_F()
195 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
/system/iorap/src/prefetcher/
Dsession.cc543 size_t total_bytes = 0; in Dump() local
551 total_bytes += entry.length; in Dump()
569 double bytes_success_rate = local_read_ahead_bytes * 100.0 / total_bytes; in Dump()
572 double bytes_failure_rate = (total_bytes - local_read_ahead_bytes) * 100.0 / total_bytes; in Dump()
581 << ", Bytes=" << (total_bytes - local_read_ahead_bytes) in Dump()
585 << ", Bytes=" << total_bytes in Dump()
/system/gsid/
Dgsi_tool.cpp140 if (last_update_.total_bytes == 0) { in FinishLastBar()
144 last_update_.bytes_processed = last_update_.total_bytes; in FinishLastBar()
150 if (progress.total_bytes == 0) { in Display()
159 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()
160 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
Dgsi_service.h75 void StartAsyncOperation(const std::string& step, int64_t total_bytes);
Dgsi_service.cpp238 void GsiService::StartAsyncOperation(const std::string& step, int64_t total_bytes) { in StartAsyncOperation() argument
244 progress_.total_bytes = total_bytes; in StartAsyncOperation()
252 progress_.bytes_processed = progress_.total_bytes; in UpdateProgress()
/system/update_engine/cros/
Dmetrics_reporter_omaha.cc363 int64_t total_bytes = 0; in ReportSuccessfulUpdateMetrics() local
378 total_bytes += num_bytes_downloaded[i]; in ReportSuccessfulUpdateMetrics()
382 mbs = total_bytes / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
Dpayload_state.cc734 int64_t total_bytes = 0; in CollectAndReportSuccessfulUpdateMetrics() local
755 total_bytes += bytes; in CollectAndReportSuccessfulUpdateMetrics()
763 (total_bytes - successful_bytes) * 100ULL / successful_bytes; in CollectAndReportSuccessfulUpdateMetrics()
Dpayload_state_unittest.cc899 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F() local
900 total_bytes[kDownloadSourceHttpServer] = num_bytes; in TEST_F()
908 test_utils::DownloadSourceMatcher(total_bytes), in TEST_F()
/system/memory/libmeminfo/
Dprocmeminfo.cpp400 size_t total_bytes = page_cache.size() * sizeof(uint64_t); in ReadVmaStats() local
401 ssize_t bytes = pread64(pagemap_fd, page_cache.data(), total_bytes, in ReadVmaStats()
403 if (bytes != total_bytes) { in ReadVmaStats()
410 << " expected bytes " << total_bytes; in ReadVmaStats()