Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvboot_display_tests.c100 char hwid[VB_REGION_HWID_LEN]; in DebugInfoTest() local
109 VbRegionReadHWID(&cparams, hwid, sizeof(hwid)); in DebugInfoTest()
110 TEST_EQ(strcmp(hwid, "Test HWID"), 0, "HWID"); in DebugInfoTest()
115 VbRegionReadHWID(&cparams, hwid, sizeof(hwid)); in DebugInfoTest()
116 TEST_EQ(strcmp(hwid, "{INVALID}"), 0, "HWID bad gbb"); in DebugInfoTest()
121 VbRegionReadHWID(&cparams, hwid, sizeof(hwid)); in DebugInfoTest()
122 TEST_EQ(strcmp(hwid, "{INVALID}"), 0, "HWID missing"); in DebugInfoTest()
127 VbRegionReadHWID(&cparams, hwid, sizeof(hwid)); in DebugInfoTest()
128 TEST_EQ(strcmp(hwid, "{INVALID}"), 0, "HWID past end"); in DebugInfoTest()
133 VbRegionReadHWID(&cparams, hwid, sizeof(hwid)); in DebugInfoTest()
[all …]
Dvb2_firmware_tests.sh36 ${FUTILITY} gbb_utility gbb.test -s --hwid='Test GBB' \
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports.py43 for port, desc, hwid in comports():
44 if r.search(port) or r.search(desc) or r.search(hwid):
45 yield port, desc, hwid
88 for port, desc, hwid in iterator:
92 print(" hwid: %s" % (hwid,))
Dlist_ports_posix.py100 for port, desc, hwid in sorted(comports()):
101 print "%s: %s [%s]" % (port, desc, hwid)
Dlist_ports_linux.py150 for port, desc, hwid in sorted(comports()):
151 print "%s: %s [%s]" % (port, desc, hwid)
Dlist_ports_osx.py206 for port, desc, hwid in sorted(comports()):
207 print "%s: %s [%s]" % (port, desc, hwid)
Dlist_ports_windows.py239 for port, desc, hwid in sorted(comports()):
240 print "%s: %s [%s]" % (port, desc, hwid)
Dminiterm.py155 for port, desc, hwid in sorted(comports()):
/external/autotest/site_utils/
Dhwid_lib_unittest.py119 hwid = 'mock_hwid'
122 info_type, hwid,
130 hwid_lib.get_hwid_info(hwid, info_type, dummy_key_file)
142 hwid = 'mock hwid with space'
151 hwid_lib.get_hwid_info(hwid, info_type, self.dummy_key_file)
158 hwid = 'mock hwid with space'
160 self.assertEqual(hwid_lib.get_hwid_info(hwid, info_type, key_file), {})
Dhwid_lib.py26 def get_hwid_info(hwid, info_type, key_file): argument
44 if not isinstance(hwid, str):
57 'hwid': urllib2.quote(hwid),
/external/vboot_reference/scripts/image_signing/
Dmake_dev_firmware.sh100 local hwid="$1"
106 if [ "$hwid" != "$hwid_no_dev" ]; then
107 hwid="$hwid_no_dev"
109 local hwid_dev="$hwid DEV"
243 --hwid="$new_hwid" \
/external/vboot_reference/tests/futility/
Dtest_gbb_utility.sh25 if ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDEF" ${TMP}.blob; then
29 ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDE" ${TMP}.blob
189 if ${FUTILITY} gbb_utility -s --hwid="A" ${TMP}.blob.bad; then false; fi
217 hwid="123456789ABCDEF"
218 ${FUTILITY} gbb_utility -s --hwid=${hwid} ${TMP}.blob
219 expect=$(echo -n "$hwid" | sha256sum | cut -d ' ' -f 1)
/external/vboot_reference/firmware/lib/
Dregion-kernel.c65 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid, in VbRegionReadHWID() argument
73 *hwid = '\0'; in VbRegionReadHWID()
74 StrnAppend(hwid, "{INVALID}", max_size); in VbRegionReadHWID()
89 ret = VbRegionReadGbb(cparams, gbb->hwid_offset, gbb->hwid_size, hwid); in VbRegionReadHWID()
Dvboot_display.c221 char hwid[256]; in VbDisplayScreenFromGBB() local
267 VbRegionReadHWID(cparams, hwid, sizeof(hwid)); in VbDisplayScreenFromGBB()
268 text_to_show = hwid; in VbDisplayScreenFromGBB()
510 char hwid[256]; in VbDisplayDebugInfo() local
520 VbRegionReadHWID(cparams, hwid, sizeof(hwid)); in VbDisplayDebugInfo()
522 used += StrnAppend(buf + used, hwid, DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo()
/external/autotest/server/site_tests/firmware_TPMExtend/
Dfirmware_TPMExtend.py33 hwid = self.faft_client.system.run_shell_command_get_output(
35 logging.debug('HWID reported by device is: %s', hwid)
36 if not self._check_pcr(1, hashlib.sha256(hwid)):
/external/autotest/client/site_tests/longevity_Tracker/
Dlongevity_Tracker.py97 hwid = hwid_proc.read()
98 if not hwid:
99 hwid = 'undefined'
100 return hwid
/external/vboot_reference/firmware/include/
Dregion.h52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
/external/autotest/server/hosts/
Dcros_repair.py312 hwid = host.run('crossystem hwid', ignore_status=True).stdout
313 if hwid:
314 info.attributes['HWID'] = hwid
Dcros_label.py558 hwid = host.run_output('crossystem hwid').strip()
559 hwid_info_list = hwid_lib.get_hwid_info(hwid, hwid_lib.HWID_INFO_LABEL,
/external/chromium-trace/catapult/third_party/pyserial/serial/urlhandler/
Dprotocol_hwgrep.py31 for port, desc, hwid in serial.tools.list_ports.grep(url):
/external/vboot_reference/utility/include/
Dgbb_utility.h64 bool set_hwid(const char *hwid); // NOTE: hwid is NUL-terminated.
/external/vboot_reference/utility/
Dvbutil_what_keys89 echo "$space hwid: ${matchh:-$hwid}"
/external/autotest/
Dglobal_config.ini397 # File for hwid key.