Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/vpd_ReadWrite/
Dvpd_ReadWrite.py17 def _write_to_vpd(self, vpd_field, value): argument
28 result = utils.run('vpd -i RW_VPD -s %s=%d' % (vpd_field, value))
33 vpd_field, err)
37 def _read_from_vpd(self, vpd_field): argument
47 result = utils.run('vpd -i RW_VPD -g %s' % vpd_field)
51 logging.info('Failed to read %s vpd field: %s', vpd_field, err)
55 def _execute_read_write_cycle(self, repetitions, vpd_field): argument
60 if not self._write_to_vpd(vpd_field, value):
64 value_from_vpd = self._read_from_vpd(vpd_field)