/system/update_engine/payload_generator/ |
payload_signer.h | 36 // Reads the payload metadata from the given |payload_path| into the 43 static bool LoadPayloadMetadata(const std::string& payload_path, 50 // Returns true if the payload in |payload_path| is signed and its hash can be 53 static bool VerifySignedPayload(const std::string& payload_path, 97 // Given an unsigned payload in |payload_path|, 104 // |payload_path| (except signatures) and returns the result in 108 static bool HashPayloadForSigning(const std::string& payload_path, 113 // Given an unsigned payload in |payload_path| (with no dummy signature op) 116 // new payload is stored in |signed_payload_path|. |payload_path| and 122 const std::string& payload_path, [all...] |
payload_signer_unittest.cc | 128 string payload_path; local 129 EXPECT_TRUE(utils::MakeTempFile("payload.XXXXXX", &payload_path, nullptr)); 130 ScopedPathUnlinker payload_path_unlinker(payload_path); 133 payload.WritePayload(payload_path, "/dev/null", "", &metadata_size)); 137 EXPECT_TRUE(PayloadSigner::LoadPayloadMetadata(payload_path, 209 string payload_path; local 210 EXPECT_TRUE(utils::MakeTempFile("payload.XXXXXX", &payload_path, nullptr)); 211 ScopedPathUnlinker payload_path_unlinker(payload_path); 219 payload.WritePayload(payload_path, "/dev/null", "", &metadata_size)); 223 payload_path, sizes, &unsigned_payload_hash, &unsigned_metadata_hash)) 234 string payload_path; local [all...] |
payload_signer.cc | 76 // Given an unsigned payload under |payload_path| and the |signature_blob| and 84 bool AddSignatureBlobToPayload(const string& payload_path, 98 PayloadSigner::LoadPayloadMetadata(payload_path, 106 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); 237 bool PayloadSigner::LoadPayloadMetadata(const string& payload_path, 244 brillo::FileStream::Open(base::FilePath(payload_path), 304 bool PayloadSigner::VerifySignedPayload(const string& payload_path, 309 TEST_AND_RETURN_FALSE(LoadPayloadMetadata(payload_path, 316 TEST_AND_RETURN_FALSE(utils::ReadFile(payload_path, &payload)); 431 bool PayloadSigner::HashPayloadForSigning(const string& payload_path, [all...] |
generate_delta_main.cc | 234 int ExtractProperties(const string& payload_path, const string& props_file) { 237 PayloadSigner::ExtractPayloadProperties(payload_path, &properties));
|
/system/update_engine/payload_consumer/ |
delta_performer_integration_test.cc | 171 const string& payload_path, 177 payload_path, 180 payload_path, 184 static void SignGeneratedPayload(const string& payload_path, 189 payload_path, 198 payload_path, 201 payload_path, 204 payload_path, 209 const string& payload_path) { 244 payload_path.c_str() [all...] |
delta_performer_unittest.cc | 166 string payload_path; local 167 EXPECT_TRUE(utils::MakeTempFile("Payload-XXXXXX", &payload_path, nullptr)); 168 ScopedPathUnlinker payload_unlinker(payload_path); 169 EXPECT_TRUE(payload.WritePayload(payload_path, blob_path, 174 EXPECT_TRUE(utils::ReadFile(payload_path, &payload_data)); [all...] |
/system/core/crash_reporter/ |
crash_collector.cc | 384 const std::string &payload_path) { 386 base::GetFileSize(FilePath(payload_path), &payload_size); 393 payload_path.c_str(),
|
crash_collector.h | 149 const std::string &payload_path);
|
/external/autotest/client/site_tests/logging_UserCrash/ |
logging_UserCrash.py | 288 def _check_generated_report_sending(self, meta_path, payload_path, 294 report=os.path.basename(payload_path)) 302 if result['report_payload'] != payload_path:
|