/system/update_engine/scripts/update_payload/ |
D | payload.py | 78 def ReadFromPayload(self, payload_file, hasher=None): argument 96 magic = common.Read(payload_file, len(self._MAGIC), hasher=hasher) 100 self.version = _ReadInt(payload_file, self._VERSION_SIZE, True, 102 self.manifest_len = _ReadInt(payload_file, self._MANIFEST_LEN_SIZE, True, 111 payload_file, self._METADATA_SIGNATURE_LEN_SIZE, True, 115 def __init__(self, payload_file, payload_file_offset=0): argument 122 self.payload_file = payload_file 142 header.ReadFromPayload(self.payload_file, self.manifest_hasher) 157 return common.Read(self.payload_file, self.header.manifest_len, 174 self.payload_file, self.header.metadata_signature_len, [all …]
|
D | checker_unittest.py | 68 payload_file = cStringIO.StringIO() 69 payload_gen_write_to_file_func(payload_file, **payload_gen_dargs) 70 payload_file.seek(0) 71 payload = Payload(payload_file) 78 payload_file = cStringIO.StringIO() 79 payload_gen.WriteToFile(payload_file) 80 payload_file.seek(0) 81 payload = Payload(payload_file)
|
D | checker.py | 1276 common.Read(self.payload.payload_file, self.sigs_offset, 1316 self.payload.payload_file.seek(0, 2) 1317 payload_file_size = self.payload.payload_file.tell()
|
D | applier.py | 298 self.payload.payload_file.seek(start_block * block_size)
|
/system/update_engine/scripts/ |
D | test_paycheck.sh | 84 payload_file=$1 87 time ${paycheck} -t ${payload_type} ${payload_file} 91 payload_file=$1 95 time ${paycheck} ${payload_file} \ 101 payload_file=$1 109 time ${paycheck} ${payload_file} \
|
D | paycheck.py | 211 with open(args.payload) as payload_file: 212 payload = update_payload.Payload(payload_file)
|
D | payload_info.py | 212 self.payload = update_payload.Payload(self.options.payload_file)
|
D | payload_info_unittest.py | 48 self.payload_file = None
|
/system/update_engine/payload_generator/ |
D | payload_signer_unittest.cc | 166 test_utils::ScopedTempFile payload_file("payload.XXXXXX"); in TEST_F() local 173 payload_file.path(), "/dev/null", "", &metadata_size)); in TEST_F() 176 EXPECT_TRUE(PayloadSigner::HashPayloadForSigning(payload_file.path(), in TEST_F() 181 payload.WritePayload(payload_file.path(), in TEST_F() 187 payload_file.path(), sizes, &signed_payload_hash, &signed_metadata_hash)); in TEST_F() 193 test_utils::ScopedTempFile payload_file("payload.XXXXXX"); in TEST_F() local 200 payload.WritePayload(payload_file.path(), in TEST_F() 205 payload_file.path(), GetBuildArtifactsPath(kUnittestPublicKeyPath))); in TEST_F()
|
D | payload_file.h | 52 bool WritePayload(const std::string& payload_file,
|
D | payload_file.cc | 111 bool PayloadFile::WritePayload(const string& payload_file, in WritePayload() argument 217 TEST_AND_RETURN_FALSE_ERRNO(writer.Open(payload_file.c_str(), in WritePayload() 256 payload_file, metadata_size, &metadata_hash)); in WritePayload() 285 payload_file, in WritePayload()
|
D | generate_delta_main.cc | 198 bool ApplyPayload(const string& payload_file, in ApplyPayload() argument 213 payload.size = utils::FileSize(payload_file); in ApplyPayload() 216 HashCalculator::RawHashOfFile(payload_file, payload.size, &payload.hash); in ApplyPayload() 220 base::MakeAbsoluteFilePath(base::FilePath(payload_file)).value(); in ApplyPayload()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 230 test_utils::ScopedTempFile payload_file("Payload-XXXXXX"); in GeneratePayload() local 233 EXPECT_TRUE(payload.WritePayload(payload_file.path(), in GeneratePayload() 239 EXPECT_TRUE(utils::ReadFile(payload_file.path(), &payload_data)); in GeneratePayload()
|
/system/update_engine/ |
D | update_engine.gyp | 426 'payload_generator/payload_file.cc',
|
D | Android.bp | 498 "payload_generator/payload_file.cc",
|