Searched refs:tpm_obj (Results 1 – 4 of 4) sorted by relevance
/external/tpm2/generator/ |
D | structure_generator_test.py | 149 tpm_obj = types['UINT16'] 150 self.assertEqual(tpm_obj.old_type, 'uint16_t') 151 self.assertEqual(tpm_obj.new_type, 'UINT16') 152 tpm_obj = types['TPMA_LOCALITY'] 153 self.assertEqual(tpm_obj.old_type, 'base_type') 154 self.assertEqual(tpm_obj.new_type, 'TPMA_LOCALITY') 155 self.assertEqual(tpm_obj.reserved[0], '4_7') 156 self.assertEqual(tpm_obj.reserved[1], '9') 157 tpm_obj = types['const_type'] 158 self.assertEqual(tpm_obj.old_type, 'base_type') [all …]
|
D | tpm_table.py | 235 def _SetBaseType(self, old_type, tpm_obj): argument 260 tpm_obj.SetBaseType(base_type) 544 tpm_obj = AttributeStructure(self._title_type, type_name) 545 self._type_map[type_name] = tpm_obj 546 self._SetBaseType(self._title_type, tpm_obj) 565 tpm_obj.reserved.append(field_name.replace('reserved', '')) 574 tpm_obj.reserved.append(name.replace('reserved', '')) 646 def _StructOrUnionToHfile(self, body_fields, type_name, union_mode, tpm_obj): argument 649 tpm_obj.AddField(field) 681 self._type_map[type_name] = tpm_obj [all …]
|
/external/autotest/client/site_tests/hardware_TPMtspi/ |
D | hardware_TPMtspi.py | 28 self.tpm_obj = self._prepareTpmController() 32 self.tpm_obj.setupContext() 33 self.tpm_obj.getTpmVersion() 34 self.tpm_obj.runTpmSelfTest() 67 if self.tpm_obj.closeContext():
|
/external/autotest/client/site_tests/hardware_TPMTakeOwnership/ |
D | hardware_TPMTakeOwnership.py | 21 self.tpm_obj = None 39 self.tpm_obj = smogcheck_tpm.TpmController() 82 self.tpm_obj.runTpmSelfTest() 117 timestamps[i] = self.tpm_obj.takeTpmOwnership() 159 if self.tpm_obj.closeContext():
|