/external/vboot_reference/tests/ |
D | vboot_display_tests.c | 100 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 …]
|
D | vb2_firmware_tests.sh | 36 ${FUTILITY} gbb_utility gbb.test -s --hwid='Test GBB' \
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
D | list_ports.py | 43 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,))
|
D | list_ports_posix.py | 100 for port, desc, hwid in sorted(comports()): 101 print "%s: %s [%s]" % (port, desc, hwid)
|
D | list_ports_linux.py | 150 for port, desc, hwid in sorted(comports()): 151 print "%s: %s [%s]" % (port, desc, hwid)
|
D | list_ports_osx.py | 206 for port, desc, hwid in sorted(comports()): 207 print "%s: %s [%s]" % (port, desc, hwid)
|
D | list_ports_windows.py | 239 for port, desc, hwid in sorted(comports()): 240 print "%s: %s [%s]" % (port, desc, hwid)
|
D | miniterm.py | 155 for port, desc, hwid in sorted(comports()):
|
/external/vboot_reference/scripts/image_signing/ |
D | make_dev_firmware.sh | 100 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/ |
D | test_gbb_utility.sh | 25 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/ |
D | region-kernel.c | 65 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()
|
D | vboot_display.c | 221 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/ |
D | firmware_TPMExtend.py | 35 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/ |
D | region.h | 52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/urlhandler/ |
D | protocol_hwgrep.py | 31 for port, desc, hwid in serial.tools.list_ports.grep(url):
|
/external/vboot_reference/utility/include/ |
D | gbb_utility.h | 64 bool set_hwid(const char *hwid); // NOTE: hwid is NUL-terminated.
|
/external/vboot_reference/utility/ |
D | vbutil_what_keys | 89 echo "$space hwid: ${matchh:-$hwid}"
|