Home
last modified time | relevance | path

Searched refs:kDeltaMagic (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/payload_consumer/
Dpayload_constants.h57 extern const char kDeltaMagic[4];
Dpayload_constants.cc33 const char kDeltaMagic[4] = {'C', 'r', 'A', 'U'}; variable
Ddelta_performer_unittest.cc642 EXPECT_TRUE(performer_.Write(kDeltaMagic, sizeof(kDeltaMagic))); in TEST_F()
Ddelta_performer.cc59 const uint64_t DeltaPerformer::kDeltaVersionOffset = sizeof(kDeltaMagic);
409 if (memcmp(payload.data(), kDeltaMagic, sizeof(kDeltaMagic)) != 0) { in ParsePayloadMetadata()
/system/update_engine/payload_generator/
Dpayload_file.cc186 sizeof(kDeltaMagic) + 2 * sizeof(uint64_t) + serialized_manifest.size(); in WritePayload()
196 TEST_AND_RETURN_FALSE(writer.Write(kDeltaMagic, sizeof(kDeltaMagic))); in WritePayload()
Dpayload_signer.cc257 memcmp(read_pointer, kDeltaMagic, sizeof(kDeltaMagic)) == 0); in LoadPayloadMetadata()
258 read_pointer += sizeof(kDeltaMagic); in LoadPayloadMetadata()