Home
last modified time | relevance | path

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

/system/update_engine/scripts/
Dsimulate_ota.py58 def run_ota(source, target, payload_path, tempdir): argument
60 payload = update_payload.Payload(payload_path)
86 delta_generator_args = ["delta_generator", "--in_file=" + payload_path]
136 payload_path = args.payload[0]
137 if zipfile.is_zipfile(payload_path):
138 with zipfile.ZipFile(payload_path, "r") as zfp:
141 payload_path = os.path.join(tempdir, payload_entry_name)
143 run_ota(args.source[0], args.target[0], payload_path, tempdir)
Dcow_converter.py52 payload_path = ota_zip.extract("payload.bin", output_dir)
68 subprocess.call(["cow_converter", payload_path,
/system/update_engine/payload_generator/
Dpayload_signer.h39 static bool VerifySignedPayload(const std::string& payload_path,
90 static bool HashPayloadForSigning(const std::string& payload_path,
104 const std::string& payload_path,
120 static bool ExtractPayloadProperties(const std::string& payload_path,
Dpayload_signer.cc90 bool AddSignatureBlobToPayload(const string& payload_path, in AddSignatureBlobToPayload() argument
101 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in AddSignatureBlobToPayload()
247 bool PayloadSigner::VerifySignedPayload(const string& payload_path, in VerifySignedPayload() argument
250 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in VerifySignedPayload()
411 bool PayloadSigner::HashPayloadForSigning(const string& payload_path, in HashPayloadForSigning() argument
429 TEST_AND_RETURN_FALSE(AddSignatureBlobToPayload(payload_path, in HashPayloadForSigning()
446 const string& payload_path, in AddSignatureToPayload() argument
465 TEST_AND_RETURN_FALSE(AddSignatureBlobToPayload(payload_path, in AddSignatureToPayload()
Dpayload_properties.cc52 PayloadProperties::PayloadProperties(const string& payload_path) in PayloadProperties() argument
53 : payload_path_(payload_path) {} in PayloadProperties()
Dpayload_properties.h32 explicit PayloadProperties(const std::string& payload_path);
Dgenerate_delta_main.cc250 bool ExtractProperties(const string& payload_path, in ExtractProperties() argument
254 PayloadProperties payload_props(payload_path); in ExtractProperties()
/system/update_engine/stable/
Dupdate_engine_stable_client.cc120 const char* payload_path; in Run() local
123 payload_path = FLAGS_payload.data() + file_prefix.length(); in Run()
125 payload_path = FLAGS_payload.data(); in Run()
128 TEMP_FAILURE_RETRY(open(payload_path, O_RDONLY))); in Run()
130 PLOG(ERROR) << "Can't open " << payload_path; in Run()
/system/update_engine/payload_consumer/
Dpayload_metadata.cc225 bool PayloadMetadata::ParsePayloadFile(const string& payload_path, in ParsePayloadFile() argument
230 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ParsePayloadFile()
235 utils::ReadFileChunk(payload_path, in ParsePayloadFile()
245 payload_path, GetMetadataSize(), GetMetadataSignatureSize(), &payload)); in ParsePayloadFile()
Ddelta_performer_integration_test.cc215 const string& payload_path, in InsertSignaturePlaceholder() argument
220 return PayloadSigner::AddSignatureToPayload(payload_path, in InsertSignaturePlaceholder()
224 payload_path, in InsertSignaturePlaceholder()
228 static void SignGeneratedPayload(const string& payload_path, in SignGeneratedPayload() argument
236 payload_path, {signature_size}, &payload_hash, &metadata_hash)); in SignGeneratedPayload()
242 ASSERT_TRUE(PayloadSigner::AddSignatureToPayload(payload_path, in SignGeneratedPayload()
246 payload_path, in SignGeneratedPayload()
249 payload_path, GetBuildArtifactsPath(kUnittestPublicKeyPath))); in SignGeneratedPayload()
253 const string& payload_path, in SignGeneratedShellPayloadWithKeys() argument
273 payload_path.c_str(), in SignGeneratedShellPayloadWithKeys()
[all …]
Dpayload_metadata.h101 bool ParsePayloadFile(const std::string& payload_path,
/system/update_engine/aosp/
Dcow_converter.cc82 const char* payload_path = argv[1]; in main() local
84 int payload_fd = open(payload_path, O_RDONLY); in main()