/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 | 45 def BuildAndRunTool(country_zones_txt, country_code, output_dir): argument 48 subprocess.check_call(['java', '-jar', jar_file, country_zones_txt, country_code, output_dir]) 50 def CreatePngs(output_dir): argument 51 gv_files = glob.glob('%s/*.gv' % output_dir) 76 output_dir = args.output 79 if not os.path.exists(output_dir): 80 print('Creating dir: %s' % output_dir) 81 os.mkdir(output_dir) 82 i18nutil.CheckDirExists(output_dir, '-output') 84 BuildAndRunTool(country_zones_txt, country_code, output_dir) [all …]
|
D | dump-tzdata.py | 48 def SplitTzData(tzdata_file, output_dir): argument 50 subprocess.check_call(['java', '-jar', jar_file, tzdata_file, output_dir]) 73 output_dir = args.output 76 if not os.path.exists(output_dir): 77 print('Creating dir: %s' % output_dir) 78 os.mkdir(output_dir) 79 i18nutil.CheckDirExists(output_dir, '-output') 83 SplitTzData(tzdata_file, output_dir) 85 zones_dir = '%s/zones' % output_dir 86 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)
|
/system/ca-certificates/google/ |
D | extract_from_pem.py | 24 def WriteCertificateFile(content, base_name, output_dir): argument 35 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i)) 42 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i)) 66 assert os.path.isdir(args.output_dir) and os.path.isfile(args.pem_file) 68 args.output_dir): 71 for existing_file in os.listdir(args.output_dir): 72 os.remove(os.path.join(args.output_dir, existing_file)) 82 WriteCertificateFile(content, base_name, args.output_dir)
|
/system/bt/tools/scripts/ |
D | dump_metrics_ascii.py | 27 def compile_proto(proto_path, output_dir): argument 47 if not os.path.exists(output_dir): 48 os.mkdirs(output_dir) 49 elif not os.path.isdir(output_dir): 50 logging.error("Output path is not a valid directory: %s" % (output_dir)) 54 output_path = os.path.join(output_dir, output_filename) 55 protoc_command = [protoc, '-I=%s' % (input_dir), '--python_out=%s' % (output_dir), proto_path] 63 def compile_import_proto(output_dir, proto_path): argument 71 output_module_name = compile_proto(proto_path, output_dir) 74 sys.path.append(output_dir)
|
/system/bt/ |
D | build.py | 126 self.output_dir = os.path.abspath(self.args.output) 150 os.makedirs(self.output_dir, exist_ok=True) 162 '{}/out/Default/'.format(self.output_dir), 175 cargo_home = os.path.join(self.output_dir, 'cargo_home') 180 self.env['CARGO_TARGET_DIR'] = self.output_dir 181 self.env['CARGO_HOME'] = os.path.join(self.output_dir, 'cargo_home') 203 log_file = os.path.join(self.output_dir, '{}.log'.format(target)) 237 return os.path.join(self.output_dir, 'out/Default') 275 'build_root': self.output_dir, 387 shutil.copytree(os.path.join(self.output_dir, 'debug'), rust_dir) [all …]
|
/system/extras/partition_tools/ |
D | lpunpack.cc | 42 std::unordered_set<std::string>&& partitions, const std::string& output_dir); 131 std::string output_dir = "."; in main() local 133 output_dir = argv[optind++]; in main() 168 ImageExtractor extractor(std::move(fd), std::move(metadata), std::move(partitions), output_dir); in main() 177 const std::string& output_dir) in ImageExtractor() argument 181 output_dir_(output_dir) {} in ImageExtractor()
|
/system/core/fs_mgr/liblp/ |
D | images.cpp | 205 bool ImageBuilder::ExportFiles(const std::string& output_dir) { in ExportFiles() argument 209 std::string file_path = output_dir + "/" + file_name; in ExportFiles() 481 bool WriteSplitImageFiles(const std::string& output_dir, const LpMetadata& metadata, in WriteSplitImageFiles() argument 485 return builder.IsValid() && builder.Build() && builder.ExportFiles(output_dir); in WriteSplitImageFiles()
|
/system/extras/simpleperf/scripts/ |
D | annotate.py | 176 output_dir = config['annotate_dest_dir'] 177 if os.path.isdir(output_dir): 178 shutil.rmtree(output_dir) 179 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,
|