Home
last modified time | relevance | path

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

/build/make/tools/releasetools/
Dtest_utils.py95 sparse_image = common.MakeTempFile(prefix='sparse-', suffix='.img')
96 with open(sparse_image, 'wb') as fp:
118 return sparse_image
Dtest_common.py635 sparse_image = common.GetSparseImage('system', tempdir, input_zip, False)
642 sparse_image.file_map)
711 sparse_image = common.GetSparseImage('system', tempdir, input_zip, True)
720 sparse_image.file_map)
725 sparse_image.file_map['/system/file2'].extra['uses_shared_blocks'])
727 'incomplete', sparse_image.file_map['/system/file2'].extra)
730 self.assertFalse(sparse_image.file_map['__COPY'].extra)
731 self.assertFalse(sparse_image.file_map['__NONZERO-0'].extra)
732 self.assertFalse(sparse_image.file_map['/system/file1'].extra)
752 sparse_image = common.GetSparseImage('system', tempdir, input_zip, False)
[all …]
Dtest_add_img_to_target_files.py360 sparse_image = test_utils.construct_sparse_image([
367 name, care_map = GetCareMap('system', sparse_image)
375 sparse_image = test_utils.construct_sparse_image([
382 self.assertRaises(AssertionError, GetCareMap, 'system', sparse_image)
Dbuild_image.py85 def GetFilesystemCharacteristics(image_path, sparse_image=True): argument
96 if sparse_image:
103 if sparse_image:
424 sparse_image = False
426 sparse_image = True
427 fs_dict = GetFilesystemCharacteristics(out_file, sparse_image)