/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_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 | test_verity_utils.py | 218 input_dir = common.MakeTempDir() 220 cmd = ['mkuserimg_mke2fs', input_dir, image, 'ext4', '/system', 259 input_dir = common.MakeTempDir() 261 cmd = ['mksquashfsimage.sh', input_dir, image, '-s'] 301 input_dir = common.MakeTempDir() 305 cmd = ['mkuserimg_mke2fs', input_dir, system_image, 'ext4', '/system',
|
D | add_img_to_target_files.py | 96 def __init__(self, output_zip, input_dir, prefix, name): argument 99 self.name = os.path.join(input_dir, prefix, name) 398 def CreateImage(input_dir, info_dict, what, output_file, block_list=None): argument 410 input_dir, "META/" + fs_config_prefix + "filesystem_config.txt") 429 os.path.join(input_dir, what.upper()), image_props, output_file.name)
|
D | add_img_to_target_files | 96 def __init__(self, output_zip, input_dir, prefix, name): 99 self.name = os.path.join(input_dir, prefix, name) 398 def CreateImage(input_dir, info_dict, what, output_file, block_list=None): 410 input_dir, "META/" + fs_config_prefix + "filesystem_config.txt") 429 os.path.join(input_dir, what.upper()), image_props, output_file.name)
|
D | test_common.py | 1592 input_dir = common.MakeTempDir() 1594 build_image_cmd = ['mkuserimg_mke2fs', input_dir, system_image, 'ext4',
|
D | common.py | 3070 def MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img, argument 3109 path = os.path.join(input_dir, recovery_resource_dat_path)
|
/build/make/tools/ |
D | generate-notice-files.py | 234 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 + '/')):
|