Home
last modified time | relevance | path

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

/system/update_engine/cros/
Dupdate_attempter_unittest.cc523 uint64_t bytes_total = 20 * 1024 * 1024; // 20MB in TEST_F() local
526 static_cast<double>(bytes_received_1) / static_cast<double>(bytes_total); in TEST_F()
528 static_cast<double>(bytes_received_2) / static_cast<double>(bytes_total); in TEST_F()
533 attempter_.new_payload_size_ = bytes_total; in TEST_F()
539 Field(&UpdateEngineStatus::new_size_bytes, bytes_total)))); in TEST_F()
544 Field(&UpdateEngineStatus::new_size_bytes, bytes_total)))); in TEST_F()
546 attempter_.BytesReceived(bytes_progressed_1, bytes_received_1, bytes_total); in TEST_F()
551 attempter_.BytesReceived(bytes_progressed_2, bytes_received_2, bytes_total); in TEST_F()
560 uint64_t bytes_total = 20 * 1024 * 1024; // 300MB in TEST_F() local
564 attempter_.new_payload_size_ = bytes_total; in TEST_F()
[all …]