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.py56 def _trim_file(file_info, file_size_limit_byte): argument
65 file_size_limit_byte))
86 int((file_size_limit_byte - header_size_bytes) *
89 seek_pos = -(file_size_limit_byte - new_file.tell() -
112 def _get_shrinkable_files(file_infos, file_size_limit_byte): argument
132 if info.trimmed_size <= file_size_limit_byte:
139 file_size_limit_byte=DEFAULT_FILE_SIZE_LIMIT_BYTE, argument
159 file_infos = _get_shrinkable_files(file_infos, file_size_limit_byte)
161 _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)