Home
last modified time | relevance | path

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

/system/update_engine/scripts/
Dpayload_info.py103 if manifest.HasField('signatures_offset'):
123 (signature.version if signature.HasField('version') else None,
156 if op.HasField('data_offset'):
158 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
Dsimulate_ota.py101 if part.HasField("old_partition_info"):
/system/update_engine/scripts/update_payload/
Dchecker.py370 if not msg.HasField(name):
415 if msg.HasField(field_name):
837 if not op.HasField('src_length') or not op.HasField('dst_length'):
840 if op.HasField('src_length') or op.HasField('dst_length'):
925 if op.HasField('src_length'):
927 if op.HasField('dst_length'):
930 if op.HasField('data_sha256_hash'):
Dpayload.py156 return any([part.HasField("old_partition_info") for part in self.manifest.partitions])
292 return (any(partition.HasField('old_partition_info')
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,