Searched refs:target_files_dir (Results 1 – 7 of 7) sorted by relevance
/build/make/tools/releasetools/merge/ |
D | merge_compatibility_checks.py | 33 def CheckCompatibility(target_files_dir, partition_map): argument 40 errors.extend(CheckVintf(target_files_dir)) 41 errors.extend(CheckShareduidViolation(target_files_dir, partition_map)) 42 errors.extend(CheckApexDuplicatePackages(target_files_dir, partition_map)) 51 errors.extend(CheckInitRcFiles(target_files_dir, partition_map)) 52 errors.extend(CheckCombinedSepolicy(target_files_dir, partition_map)) 57 def CheckVintf(target_files_dir): argument 61 if not check_target_files_vintf.CheckVintf(target_files_dir): 68 def CheckShareduidViolation(target_files_dir, partition_map): argument 76 target_files_dir, partition_map) [all …]
|
D | merge_target_files.py | 243 def generate_missing_images(target_files_dir): argument 256 add_img_args.append(target_files_dir) 261 def rebuild_image_with_sepolicy(target_files_dir): argument 267 if os.path.exists(os.path.join(target_files_dir, 'ODM')): 277 input_filename = os.path.join(target_files_dir, input_path) 287 os.path.join(target_files_dir, partition.upper(), 'etc/selinux', 303 os.path.join(target_files_dir, 'IMAGES', partition_img)) 330 os.path.join(target_files_dir, partition.upper()), 350 if not os.path.exists(os.path.join(target_files_dir, 'IMAGES')): 351 os.makedirs(os.path.join(target_files_dir, 'IMAGES')) [all …]
|
/build/make/tools/releasetools/ |
D | make_recovery_patch.py | 54 target_files_dir = "VENDOR" 56 target_files_dir = "SYSTEM" 59 with open(os.path.join(output_dir, target_files_dir,
|
D | ota_utils.py | 797 def LocatePartitionPath(target_files_dir: str, partition: str, allow_empty): 799 path = os.path.join(target_files_dir, subdir, partition + ".img") 805 "Partition {} not found in target files {}".format(partition, target_files_dir)) 808 def GetPartitionImages(target_files_dir: str, ab_partitions, allow_empty=True): 809 assert os.path.isdir(target_files_dir) 810 …return ":".join([LocatePartitionPath(target_files_dir, partition, allow_empty) for partition in ab… 813 def LocatePartitionMap(target_files_dir: str, partition: str): 815 path = os.path.join(target_files_dir, subdir, partition + ".map") 821 def GetPartitionMaps(target_files_dir: str, ab_partitions): 822 assert os.path.isdir(target_files_dir) [all …]
|
D | non_ab_ota.py | 681 target_files_dir = "VENDOR" 683 target_files_dir = "SYSTEM/vendor" 685 patch = "%s/recovery-from-boot.p" % target_files_dir 686 img = "%s/etc/recovery.img" % target_files_dir
|
D | test_common.py | 1049 target_files_dir = common.MakeTempDir() 1050 os.makedirs(os.path.join(target_files_dir, 'SYSTEM')) 1051 os.makedirs(os.path.join(target_files_dir, 'SYSTEM', 'vendor')) 1052 os.makedirs(os.path.join(target_files_dir, 'PRODUCT')) 1053 os.makedirs(os.path.join(target_files_dir, 'SYSTEM', 'product')) 1054 os.makedirs(os.path.join(target_files_dir, 'SYSTEM', 'vendor', 'odm')) 1055 os.makedirs(os.path.join(target_files_dir, 'VENDOR_DLKM')) 1056 partition_map = common.PartitionMapFromTargetFiles(target_files_dir)
|
D | common.py | 1337 def PartitionMapFromTargetFiles(target_files_dir): argument 1355 if os.path.exists(os.path.join(target_files_dir, subdir)):
|