Home
last modified time | relevance | path

Searched refs:hwid (Results 1 – 17 of 17) 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/telemetry/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/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.py35 hwid = self.faft_client.system.run_shell_command_get_output(
37 logging.debug('HWID reported by device is: %s', hwid)
38 if not self._check_pcr(1, hashlib.sha256(hwid)):
/external/vboot_reference/firmware/include/
Dregion.h52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
/external/chromium-trace/catapult/telemetry/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}"