/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/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/autotest/site_utils/ |
D | hwid_lib_unittest.py | 119 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), {})
|
D | hwid_lib.py | 26 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/ |
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 | 33 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/ |
D | longevity_Tracker.py | 97 hwid = hwid_proc.read() 98 if not hwid: 99 hwid = 'undefined' 100 return hwid
|
/external/vboot_reference/firmware/include/ |
D | region.h | 52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
|
/external/chromium-trace/catapult/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}"
|
/external/autotest/server/hosts/ |
D | cros_label.py | 485 hwid = host.run_output('crossystem hwid').strip() 486 hwid_info_list = hwid_lib.get_hwid_info(hwid, hwid_lib.HWID_INFO_LABEL,
|
/external/autotest/ |
D | global_config.ini | 400 # File for hwid key.
|