/build/soong/scripts/ |
D | generate-notice-files.py | 76 def combine_notice_files_html(file_hash, input_dir, output_filename): argument 79 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 134 def combine_notice_files_text(file_hash, input_dir, output_filename, file_title): argument 137 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 149 def combine_notice_files_xml(files_with_same_hash, input_dir, output_filename): argument 152 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 233 input_dir = os.path.normpath(args.source_dir) 235 for root, dir, files in os.walk(input_dir): 241 if (root == (input_dir + '/' + subdir) or 242 root.startswith(input_dir + '/' + subdir + '/')): [all …]
|
/build/make/tools/releasetools/ |
D | make_recovery_patch.py | 36 input_dir, output_dir = args 40 OPTIONS.info_dict = common.LoadInfoDict(input_dir) 43 input_dir, "RECOVERY") 45 input_dir, "BOOT") 63 common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
|
D | test_merge_target_files.py | 50 input_dir = common.MakeTempDir() 59 createEmptyFile(os.path.join(input_dir, 'a.cpp')), 60 createEmptyFile(os.path.join(input_dir, 'b.cpp')), 61 createEmptyFile(os.path.join(input_dir, 'subdir', 'c.txt')), 62 createEmptyFile(os.path.join(input_dir, 'subdir', 'd.txt')), 64 os.path.join(input_dir, 'subdir', 'subsubdir', 'e.txt')), 65 createSymLink('a.cpp', os.path.join(input_dir, 'a_link.cpp')), 68 createEmptyFile(os.path.join(input_dir, 'a.h')) 69 createEmptyFile(os.path.join(input_dir, 'b.h')) 70 createEmptyFile(os.path.join(input_dir, 'subdir', 'subsubdir', 'f.gif')) [all …]
|
D | test_verity_utils.py | 219 input_dir = common.MakeTempDir() 221 cmd = ['mkuserimg_mke2fs', input_dir, image, 'ext4', '/system', 260 input_dir = common.MakeTempDir() 262 cmd = ['mksquashfsimage.sh', input_dir, image, '-s'] 302 input_dir = common.MakeTempDir() 306 cmd = ['mkuserimg_mke2fs', input_dir, system_image, 'ext4', '/system', 399 input_dir = common.MakeTempDir() 404 cmd = ['mkuserimg_mke2fs', input_dir, system_image, 'ext4', '/system',
|
D | test_build_image.py | 80 input_dir = common.MakeTempDir() 82 command = ['mkuserimg_mke2fs', input_dir, output_image, 'ext4', 185 input_dir = common.MakeTempDir() 187 command = ['mkuserimg_mke2fs', input_dir, output_image, 'ext4',
|
D | add_img_to_target_files.py | 99 def __init__(self, output_zip, input_dir, *args): argument 102 self.name = os.path.join(input_dir, *args) 400 def CreateImage(input_dir, info_dict, what, output_file, block_list=None): argument 412 input_dir, "META/" + fs_config_prefix + "filesystem_config.txt") 432 os.path.join(input_dir, what.upper()), image_props, output_file.name)
|
D | add_img_to_target_files | 99 def __init__(self, output_zip, input_dir, *args): 102 self.name = os.path.join(input_dir, *args) 400 def CreateImage(input_dir, info_dict, what, output_file, block_list=None): 412 input_dir, "META/" + fs_config_prefix + "filesystem_config.txt") 432 os.path.join(input_dir, what.upper()), image_props, output_file.name)
|
D | test_common.py | 1695 input_dir = common.MakeTempDir() 1697 build_image_cmd = ['mkuserimg_mke2fs', input_dir, system_image, 'ext4',
|
D | common.py | 3454 def MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img, argument 3493 path = os.path.join(input_dir, recovery_resource_dat_path)
|
/build/make/tools/ |
D | generate-notice-files.py | 235 for input_dir in input_dirs: 236 for root, dir, files in os.walk(input_dir): 242 if (root == (input_dir + '/' + subdir) or 243 root.startswith(input_dir + '/' + subdir + '/')): 248 if (root == (input_dir + '/' + subdir) or 249 root.startswith(input_dir + '/' + subdir + '/')):
|