Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dpayload_metadata.cc34 const uint64_t PayloadMetadata::kDeltaVersionOffset = sizeof(kDeltaMagic);
63 if (memcmp(payload, kDeltaMagic, sizeof(kDeltaMagic)) != 0) { in ParsePayloadHeader()
72 kDeltaMagic[0], in ParsePayloadHeader()
73 kDeltaMagic[1], in ParsePayloadHeader()
74 kDeltaMagic[2], in ParsePayloadHeader()
75 kDeltaMagic[3]); in ParsePayloadHeader()
Dpayload_constants.h76 extern const char kDeltaMagic[4];
Dpayload_constants.cc47 const char kDeltaMagic[4] = {'C', 'r', 'A', 'U'}; variable
Ddelta_performer_unittest.cc832 EXPECT_TRUE(performer_.Write(kDeltaMagic, sizeof(kDeltaMagic))); in TEST_F()
867 EXPECT_TRUE(performer_.Write(kDeltaMagic, sizeof(kDeltaMagic))); in TEST_F()
900 EXPECT_TRUE(performer_.Write(kDeltaMagic, sizeof(kDeltaMagic))); in TEST_F()
/system/update_engine/payload_generator/
Dpayload_file.cc204 sizeof(kDeltaMagic) + 2 * sizeof(uint64_t) + serialized_manifest.size(); in WritePayload()
214 TEST_AND_RETURN_FALSE_ERRNO(writer.Write(kDeltaMagic, sizeof(kDeltaMagic))); in WritePayload()