Home
last modified time | relevance | path

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

/build/make/tools/releasetools/
Dbuild_image.py85 def GetFilesystemCharacteristics(fs_type, image_path, sparse_image=True): argument
96 if sparse_image:
107 if sparse_image:
480 sparse_image = False
482 sparse_image = True
483 fs_dict = GetFilesystemCharacteristics(fs_type, out_file, sparse_image)
524 sparse_image = False
526 sparse_image = True
527 fs_dict = GetFilesystemCharacteristics(fs_type, out_file, sparse_image)
Dtest_utils.py129 sparse_image = common.MakeTempFile(prefix='sparse-', suffix='.img')
130 with open(sparse_image, 'wb') as fp:
152 return sparse_image
Dtest_add_img_to_target_files.py395 sparse_image = test_utils.construct_sparse_image([
403 name, care_map = GetCareMap('system', sparse_image)
411 sparse_image = test_utils.construct_sparse_image([
419 self.assertRaises(AssertionError, GetCareMap, 'system', sparse_image)
Dtest_common.py1033 sparse_image = common.GetSparseImage('system', tempdir, input_zip, False)
1040 sparse_image.file_map)
1161 sparse_image = common.GetSparseImage('system', tempdir, input_zip, True)
1170 sparse_image.file_map)
1175 sparse_image.file_map['/system/file2'].extra['uses_shared_blocks'])
1177 'incomplete', sparse_image.file_map['/system/file2'].extra)
1180 self.assertEqual(1, len(sparse_image.file_map['/system/file1'].extra))
1183 self.assertFalse(sparse_image.file_map['__COPY'].extra)
1184 self.assertFalse(sparse_image.file_map['__NONZERO-0'].extra)
1205 sparse_image = common.GetSparseImage('system', tempdir, input_zip, False)
[all …]