Searched refs:payload_path (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/payload_generator/ |
D | payload_signer_unittest.cc | 130 string payload_path; in DoWriteAndLoadPayloadTest() local 131 EXPECT_TRUE(utils::MakeTempFile("payload.XXXXXX", &payload_path, nullptr)); in DoWriteAndLoadPayloadTest() 132 ScopedPathUnlinker payload_path_unlinker(payload_path); in DoWriteAndLoadPayloadTest() 135 payload.WritePayload(payload_path, "/dev/null", "", &metadata_size)); in DoWriteAndLoadPayloadTest() 139 EXPECT_TRUE(PayloadSigner::LoadPayloadMetadata(payload_path, in DoWriteAndLoadPayloadTest() 218 string payload_path; in TEST_F() local 219 EXPECT_TRUE(utils::MakeTempFile("payload.XXXXXX", &payload_path, nullptr)); in TEST_F() 220 ScopedPathUnlinker payload_path_unlinker(payload_path); in TEST_F() 228 payload.WritePayload(payload_path, "/dev/null", "", &metadata_size)); in TEST_F() 232 payload_path, sizes, &unsigned_payload_hash, &unsigned_metadata_hash)); in TEST_F() [all …]
|
D | payload_signer.h | 43 static bool LoadPayloadMetadata(const std::string& payload_path, 53 static bool VerifySignedPayload(const std::string& payload_path, 108 static bool HashPayloadForSigning(const std::string& payload_path, 122 const std::string& payload_path, 137 static bool ExtractPayloadProperties(const std::string& payload_path,
|
D | payload_signer.cc | 84 bool AddSignatureBlobToPayload(const string& payload_path, in AddSignatureBlobToPayload() argument 98 PayloadSigner::LoadPayloadMetadata(payload_path, in AddSignatureBlobToPayload() 106 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in AddSignatureBlobToPayload() 237 bool PayloadSigner::LoadPayloadMetadata(const string& payload_path, in LoadPayloadMetadata() argument 244 brillo::FileStream::Open(base::FilePath(payload_path), in LoadPayloadMetadata() 304 bool PayloadSigner::VerifySignedPayload(const string& payload_path, in VerifySignedPayload() argument 309 TEST_AND_RETURN_FALSE(LoadPayloadMetadata(payload_path, in VerifySignedPayload() 316 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); in VerifySignedPayload() 431 bool PayloadSigner::HashPayloadForSigning(const string& payload_path, in HashPayloadForSigning() argument 449 TEST_AND_RETURN_FALSE(AddSignatureBlobToPayload(payload_path, in HashPayloadForSigning() [all …]
|
D | generate_delta_main.cc | 237 int ExtractProperties(const string& payload_path, const string& props_file) { in ExtractProperties() argument 240 PayloadSigner::ExtractPayloadProperties(payload_path, &properties)); in ExtractProperties()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 181 const string& payload_path, in InsertSignaturePlaceholder() argument 187 payload_path, in InsertSignaturePlaceholder() 190 payload_path, in InsertSignaturePlaceholder() 194 static void SignGeneratedPayload(const string& payload_path, in SignGeneratedPayload() argument 200 payload_path, {signature_size}, &hash, nullptr)); in SignGeneratedPayload() 204 payload_path, {signature}, {}, payload_path, out_metadata_size)); in SignGeneratedPayload() 206 payload_path, GetBuildArtifactsPath(kUnittestPublicKeyPath))); in SignGeneratedPayload() 210 const string& payload_path) { in SignGeneratedShellPayload() argument 258 payload_path.c_str(), in SignGeneratedShellPayload() 288 payload_path.c_str(), in SignGeneratedShellPayload() [all …]
|
D | delta_performer_unittest.cc | 161 string payload_path; in GeneratePayload() local 162 EXPECT_TRUE(utils::MakeTempFile("Payload-XXXXXX", &payload_path, nullptr)); in GeneratePayload() 163 ScopedPathUnlinker payload_unlinker(payload_path); in GeneratePayload() 167 payload_path, blob_path, private_key, &payload_.metadata_size)); in GeneratePayload() 170 EXPECT_TRUE(utils::ReadFile(payload_path, &payload_data)); in GeneratePayload()
|