/system/apex/apexer/ |
D | runtests.sh | 34 output_dir=$(mktemp -d) 41 rm -rf ${output_dir} 79 output_file=${output_dir}/test.apex 97 unzip ${output_file} apex_payload.img -d ${output_dir} 98 size=$(avbtool info_image --image ${output_dir}/apex_payload.img | awk '/Image size:/{print $3}') 102 mkdir ${output_dir}/mnt 104 sudo mount -o ro /dev/loop10 ${output_dir}/mnt 105 unzip ${output_file} apex_manifest.pb -d ${output_dir} 108 avbtool verify_image --image ${output_dir}/apex_payload.img \ 112 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.pb [all …]
|
/system/timezone/debug_tools/host/ |
D | visualize_zone_trees.py | 43 def BuildAndRunTool(country_zones_txt, country_code, output_dir): argument 46 subprocess.check_call(['java', '-jar', jar_file, country_zones_txt, country_code, output_dir]) 48 def CreatePngs(output_dir): argument 49 gv_files = glob.glob('%s/*.gv' % output_dir) 74 output_dir = args.output 77 if not os.path.exists(output_dir): 78 print('Creating dir: %s' % output_dir) 79 os.mkdir(output_dir) 80 i18nutil.CheckDirExists(output_dir, '-output') 82 BuildAndRunTool(country_zones_txt, country_code, output_dir) [all …]
|
D | dump-tzdata.py | 46 def SplitTzData(tzdata_file, output_dir): argument 48 subprocess.check_call(['java', '-jar', jar_file, tzdata_file, output_dir]) 71 output_dir = args.output 74 if not os.path.exists(output_dir): 75 print('Creating dir: %s' % output_dir) 76 os.mkdir(output_dir) 77 i18nutil.CheckDirExists(output_dir, '-output') 81 SplitTzData(tzdata_file, output_dir) 83 zones_dir = '%s/zones' % output_dir 84 csvs_dir = '%s/csvs' % output_dir [all …]
|
/system/update_engine/scripts/ |
D | cow_converter.py | 42 def ConvertCOW(ota_path, target_file_path, tmp_dir, output_dir): argument 52 payload_path = ota_zip.extract("payload.bin", output_dir) 61 target_img_path = os.path.join(output_dir, img_name) 69 output_dir]) 79 output_dir = sys.argv[3] 80 os.makedirs(output_dir, exist_ok=True) 82 ConvertCOW(ota_path, target_file_path, tmp_dir, output_dir)
|
D | simulate_ota.py | 81 def run_ota(source, target, payload_path, tempdir, output_dir): argument 136 shutil.copy(part, output_dir) 183 if args.output_dir is None: 184 args.output_dir = "." 185 if not os.path.exists(args.output_dir): 186 os.makedirs(args.output_dir, exist_ok=True) 187 assert os.path.isdir(args.output_dir) 188 run_ota(args.source, args.target, payload_path, tempdir, args.output_dir)
|
/system/extras/perf_tools/ |
D | progress_report.py | 140 if not os.path.isdir(args.output_dir): 141 os.mkdir(args.output_dir) 142 timestamp_fixed_logcat_fp = open(os.path.join(args.output_dir, "timestamp_fixed_log.txt"), 'w') 143 report_fp = open(os.path.join(args.output_dir, "report.txt"), 'w') 144 report_proto_fp = open(os.path.join(args.output_dir, "report_proto.txt"), 'w')
|
/system/tools/mkbootimg/ |
D | unpack_bootimg.py | 184 def unpack_boot_image(boot_img, output_dir): argument 287 create_out_dir(output_dir) 289 extract_image(offset, size, boot_img, os.path.join(output_dir, name)) 290 info.image_dir = output_dir 381 def unpack_vendor_boot_image(boot_img, output_dir): argument 458 create_out_dir(output_dir) 460 extract_image(offset, size, boot_img, os.path.join(output_dir, name)) 461 info.image_dir = output_dir 465 output_dir, 'vendor-ramdisk-by-name') 478 def unpack_bootimg(boot_img, output_dir): argument [all …]
|
/system/media/camera/docs/ |
D | metadata_enums.py | 36 output_dir = sys.argv[3] variable 49 output_name = output_dir + "/" + enum_name + ".aidl"
|
/system/extras/partition_tools/ |
D | lpunpack.cc | 44 std::unordered_set<std::string>&& partitions, const std::string& output_dir); 144 std::string output_dir = "."; in main() local 146 output_dir = argv[optind++]; in main() 191 … ImageExtractor extractor(std::move(fds), std::move(metadata), std::move(partitions), output_dir); in main() 200 const std::string& output_dir) in ImageExtractor() argument 204 output_dir_(output_dir) {} in ImageExtractor()
|
/system/tools/mkbootimg/gki/ |
D | certify_bootimg_test.py | 148 def extract_boot_signatures(boot_img, output_dir): argument 156 boot_img_copy = os.path.join(output_dir, 'boot_image_copy') 178 output_dir, 'boot_signature' + str(num_signatures)) 186 def extract_boot_archive_with_signatures(boot_img_archive, output_dir): argument 199 shutil.unpack_archive(boot_img_archive, output_dir) 200 for boot_img in glob.glob(os.path.join(output_dir, 'boot*.img')): 202 signature_output_dir = os.path.join(output_dir, img_name)
|
/system/update_engine/aosp/ |
D | ota_extractor.cc | 47 DEFINE_string(output_dir, "", "Directory to put output images"); 101 std::string_view output_dir, in ExtractImagesFromOTA() argument 108 base::StringPiece(output_dir.data(), output_dir.size())); in ExtractImagesFromOTA()
|
/system/core/trusty/utils/coverage-controller/ |
D | controller.h | 52 void run(std::string output_dir);
|
D | controller.cpp | 40 void Controller::run(std::string output_dir) { in run() argument 60 filename.insert(0, output_dir); in run()
|
/system/core/fs_mgr/liblp/ |
D | images.cpp | 238 bool ImageBuilder::ExportFiles(const std::string& output_dir) { in ExportFiles() argument 242 std::string file_path = output_dir + "/" + file_name; in ExportFiles() 520 bool WriteSplitImageFiles(const std::string& output_dir, const LpMetadata& metadata, in WriteSplitImageFiles() argument 524 return builder.IsValid() && builder.Build() && builder.ExportFiles(output_dir); in WriteSplitImageFiles()
|
/system/extras/simpleperf/scripts/ |
D | annotate.py | 167 output_dir = config['annotate_dest_dir'] 168 if os.path.isdir(output_dir): 169 shutil.rmtree(output_dir) 170 os.makedirs(output_dir)
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | liblp.h | 96 bool WriteSplitImageFiles(const std::string& output_dir, const LpMetadata& metadata,
|