Home
last modified time | relevance | path

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

/external/autotest/client/bin/result_tools/
Dshrink_file_throttler.py55 def _trim_file(file_info, file_size_limit_byte): argument
64 file_size_limit_byte))
85 int((file_size_limit_byte - header_size_bytes) *
88 seek_pos = -(file_size_limit_byte - new_file.tell() -
111 def _get_shrinkable_files(file_infos, file_size_limit_byte): argument
131 if info.trimmed_size <= file_size_limit_byte:
138 file_size_limit_byte=DEFAULT_FILE_SIZE_LIMIT_BYTE, argument
158 file_infos = _get_shrinkable_files(file_infos, file_size_limit_byte)
160 _trim_file(info, file_size_limit_byte)
Dshrink_file_throttler_unittest.py93 file_size_limit_byte=FILE_SIZE_LIMIT_BYTE)
133 file_size_limit_byte=50 * 1024)
137 file_size_limit_byte=25 * 1024)