Home
last modified time | relevance | path

Searched refs:output_dir (Results 1 – 9 of 9) sorted by relevance

/system/apex/apexer/
Druntests.sh32 output_dir=$(mktemp -d)
39 rm -rf ${output_dir}
77 output_file=${output_dir}/test.apex
94 unzip ${output_file} apex_payload.img -d ${output_dir}
95 size=$(avbtool info_image --image ${output_dir}/apex_payload.img | awk '/Image size:/{print $3}')
99 mkdir ${output_dir}/mnt
101 sudo mount -o ro /dev/loop10 ${output_dir}/mnt
102 unzip ${output_file} apex_manifest.pb -d ${output_dir}
105 avbtool verify_image --image ${output_dir}/apex_payload.img \
109 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.pb
[all …]
/system/timezone/debug_tools/host/
Dvisualize_zone_trees.py45 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 …]
Ddump-tzdata.py48 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/ca-certificates/google/
Dextract_from_pem.py24 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/
Ddump_metrics_ascii.py27 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/extras/partition_tools/
Dlpunpack.cc42 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/
Dimages.cpp205 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/
Dannotate.py173 output_dir = config['annotate_dest_dir']
174 if os.path.isdir(output_dir):
175 shutil.rmtree(output_dir)
176 os.makedirs(output_dir)
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h96 bool WriteSplitImageFiles(const std::string& output_dir, const LpMetadata& metadata,