/system/update_engine/scripts/ |
D | simulate_ota.py | 58 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)
|
D | cow_converter.py | 52 payload_path = ota_zip.extract("payload.bin", output_dir) 68 subprocess.call(["cow_converter", payload_path,
|
/system/update_engine/payload_generator/ |
D | payload_signer.h | 39 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,
|
D | payload_signer.cc | 90 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()
|
D | payload_properties.cc | 52 PayloadProperties::PayloadProperties(const string& payload_path) in PayloadProperties() argument 53 : payload_path_(payload_path) {} in PayloadProperties()
|
D | payload_properties.h | 32 explicit PayloadProperties(const std::string& payload_path);
|
D | generate_delta_main.cc | 250 bool ExtractProperties(const string& payload_path, in ExtractProperties() argument 254 PayloadProperties payload_props(payload_path); in ExtractProperties()
|
/system/update_engine/stable/ |
D | update_engine_stable_client.cc | 120 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/ |
D | payload_metadata.cc | 225 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()
|
D | delta_performer_integration_test.cc | 215 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 …]
|
D | payload_metadata.h | 101 bool ParsePayloadFile(const std::string& payload_path,
|
/system/update_engine/aosp/ |
D | cow_converter.cc | 82 const char* payload_path = argv[1]; in main() local 84 int payload_fd = open(payload_path, O_RDONLY); in main()
|