Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_attempter_unittest.cc262 uint64_t bytes_total = 20 * 1024 * 1024; // 20MB in TEST_F() local
265 static_cast<double>(bytes_received_1) / static_cast<double>(bytes_total); in TEST_F()
267 static_cast<double>(bytes_received_2) / static_cast<double>(bytes_total); in TEST_F()
272 attempter_.new_payload_size_ = bytes_total; in TEST_F()
278 Field(&UpdateEngineStatus::new_size_bytes, bytes_total)))); in TEST_F()
283 Field(&UpdateEngineStatus::new_size_bytes, bytes_total)))); in TEST_F()
285 attempter_.BytesReceived(bytes_progressed_1, bytes_received_1, bytes_total); in TEST_F()
290 attempter_.BytesReceived(bytes_progressed_2, bytes_received_2, bytes_total); in TEST_F()
299 uint64_t bytes_total = 20 * 1024 * 1024; // 300MB in TEST_F() local
303 attempter_.new_payload_size_ = bytes_total; in TEST_F()
[all …]