Home
last modified time | relevance | path

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

/system/update_engine/scripts/
Dpayload_info.py98 if manifest.HasField('signatures_offset'):
118 (signature.version if signature.HasField('version') else None,
151 if op.HasField('data_offset'):
153 if op.HasField('data_length'):
Dpayload_info_unittest.py68 def HasField(self, field): member in FakeOp
119 def HasField(self, field_name): member in FakeManifest
/system/update_engine/scripts/update_payload/
Dpayload.py248 if self.manifest.HasField('old_image_info'):
251 if self.manifest.HasField('new_image_info'):
266 return (any(partition.HasField('old_partition_info')
Dchecker.py368 if not msg.HasField(name):
413 if msg.HasField(field_name):
835 if not op.HasField('src_length') or not op.HasField('dst_length'):
838 if op.HasField('src_length') or op.HasField('dst_length'):
923 if op.HasField('src_length'):
925 if op.HasField('dst_length'):
928 if op.HasField('data_sha256_hash'):
Dchecker_unittest.py211 self.addPostCheckForMockFunction(msg.HasField, name)
212 msg.HasField.return_value = is_present
865 self.assertEqual(op.data_length if op.HasField('data_length') else 0,