Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dpayload_metadata.cc33 const uint64_t PayloadMetadata::kDeltaVersionOffset = sizeof(kDeltaMagic);
57 if (memcmp(payload.data(), kDeltaMagic, sizeof(kDeltaMagic)) != 0) { 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.cc904 EXPECT_TRUE(performer_.Write(kDeltaMagic, sizeof(kDeltaMagic))); in TEST_F()
939 EXPECT_TRUE(performer_.Write(kDeltaMagic, sizeof(kDeltaMagic))); in TEST_F()
972 EXPECT_TRUE(performer_.Write(kDeltaMagic, sizeof(kDeltaMagic))); in TEST_F()
/system/update_engine/payload_generator/
Dpayload_file.cc183 sizeof(kDeltaMagic) + 2 * sizeof(uint64_t) + serialized_manifest.size(); in WritePayload()
193 TEST_AND_RETURN_FALSE_ERRNO(writer.Write(kDeltaMagic, sizeof(kDeltaMagic))); in WritePayload()