Home
last modified time | relevance | path

Searched refs:output_path (Results 1 – 12 of 12) sorted by relevance

/system/update_engine/scripts/
Dsimulate_ota.py51 def extract_img(zip_archive: zipfile.ZipFile, img_name, output_path, is_source): argument
55 extract_file(zip_archive, entry_name, output_path)
58 extract_file(zip_archive, "RADIO/" + img_name + ".img", output_path)
59 if is_sparse_image(output_path):
60 raw_img_path = output_path + ".raw"
61 subprocess.check_output(["simg2img", output_path, raw_img_path])
62 os.rename(raw_img_path, output_path)
68 file_size = os.path.getsize(output_path)
72 .format(output_path))
76 .format(output_path))
[all …]
/system/extras/vbmeta_tools/
Dvbmake.cc50 std::string output_path; in main() local
73 output_path = optarg; in main()
86 if (output_path.empty()) { in main()
91 if (!WriteToSuperVBMetaFile(output_path.c_str(), images)) { in main()
/system/core/libsparse/
Dappend2simg.cpp50 char* output_path; in main() local
63 output_path = argv[1]; in main()
70 ret = asprintf(&tmp_path, "%s.append2simg", output_path); in main()
76 output = open(output_path, O_RDWR | O_BINARY); in main()
128 ret = rename(tmp_path, output_path); in main()
/system/update_engine/aosp/
Dota_extractor.cc119 const auto output_path = in ExtractImagesFromOTA() local
124 out_fd->Open(output_path.c_str(), O_RDWR | O_CREAT, 0644)); in ExtractImagesFromOTA()
179 truncate64(output_path.c_str(), partition.new_partition_info().size()); in ExtractImagesFromOTA()
181 PLOG(ERROR) << "Failed to truncate " << output_path << " to " in ExtractImagesFromOTA()
186 HashCalculator::RawHashOfFile(output_path, &actual_hash)); in ExtractImagesFromOTA()
/system/extras/partition_tools/
Dlpmake.cc244 std::string output_path; in main() local
296 output_path = optarg; in main()
411 if (output_path.empty()) { in main()
495 if (!WriteToImageFile(output_path.c_str(), *metadata.get(), block_size, images, in main()
500 if (!WriteSplitImageFiles(output_path, *metadata.get(), block_size, images, in main()
505 } else if (!WriteToImageFile(output_path.c_str(), *metadata.get())) { in main()
Dlpunpack.cc257 std::string output_path = output_dir_ + "/" + GetPartitionName(*partition) + ".img"; in ExtractPartition() local
258 unique_fd output_fd(open(output_path.c_str(), O_RDWR | O_CLOEXEC | O_CREAT | O_TRUNC, 0644)); in ExtractPartition()
260 std::cerr << "open failed: " << output_path << ": " << strerror(errno) << "\n"; in ExtractPartition()
/system/update_engine/payload_generator/
Ddelta_diff_generator.h41 const std::string& output_path,
Ddelta_diff_generator.cc163 const string& output_path, in GenerateUpdatePayloadFile() argument
252 output_path, data_file.path(), private_key_path, metadata_size)); in GenerateUpdatePayloadFile()
/system/apex/apexd/
Dapex_file.h61 android::base::Result<void> Decompress(const std::string& output_path) const;
/system/tools/mkbootimg/gki/
Dcertify_bootimg_test.py177 output_path = os.path.join(
179 with open(output_path, 'wb') as output:
/system/extras/simpleperf/scripts/
Dreport_html.py41 def __init__(self, output_path: Union[Path, str]):
42 self.fh = open(output_path, 'w')
/system/core/fastboot/fuzzy_fastboot/
DREADME.md186 …idation script. It is saved in whatever location is specified by the --output_path argument …
277 - **--output_path**: Some oem tests can download an image to the host for validation. This is the l…