Home
last modified time | relevance | path

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

/system/apex/apexer/
Druntests.sh32 output_dir=$(mktemp -d)
39 rm -rf ${output_dir}
75 output_file=${output_dir}/test.apex
91 unzip ${output_file} apex_payload.img -d ${output_dir}
92 size=$(avbtool info_image --image ${output_dir}/apex_payload.img | awk '/Image size:/{print $3}')
96 mkdir ${output_dir}/mnt
98 sudo mount -o ro /dev/loop10 ${output_dir}/mnt
99 unzip ${output_file} apex_manifest.json -d ${output_dir}
102 avbtool verify_image --image ${output_dir}/apex_payload.img \
106 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.json
[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.py26 def compile_proto(proto_path, output_dir): argument
48 if not os.path.exists(output_dir):
49 os.mkdirs(output_dir)
50 elif not os.path.isdir(output_dir):
52 (output_dir))
56 output_path = os.path.join(output_dir, output_filename)
58 protoc, '-I=%s' % (input_dir), '--python_out=%s' % (output_dir),
68 def compile_import_proto(output_dir, proto_path): argument
76 output_module_name = compile_proto(proto_path, output_dir)
79 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.cpp171 bool ImageBuilder::ExportFiles(const std::string& output_dir) { in ExportFiles() argument
175 std::string file_path = output_dir + "/" + file_name; in ExportFiles()
447 bool WriteSplitImageFiles(const std::string& output_dir, const LpMetadata& metadata, in WriteSplitImageFiles() argument
451 return builder.IsValid() && builder.Build() && builder.ExportFiles(output_dir); in WriteSplitImageFiles()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h86 bool WriteSplitImageFiles(const std::string& output_dir, const LpMetadata& metadata,
/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)