/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
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,))
|
list_ports_posix.py | 100 for port, desc, hwid in sorted(comports()): 101 print "%s: %s [%s]" % (port, desc, hwid)
|
list_ports_linux.py | 150 for port, desc, hwid in sorted(comports()): 151 print "%s: %s [%s]" % (port, desc, hwid)
|
list_ports_osx.py | 206 for port, desc, hwid in sorted(comports()): 207 print "%s: %s [%s]" % (port, desc, hwid)
|
list_ports_windows.py | 239 for port, desc, hwid in sorted(comports()): 240 print "%s: %s [%s]" % (port, desc, hwid)
|
miniterm.py | 155 for port, desc, hwid in sorted(comports()): 156 #~ sys.stderr.write('--- %-20s %s [%s]\n' % (port, desc, hwid))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
comstats.h | 39 unsigned long hwid; member in struct:__anon38598 80 unsigned long hwid; member in struct:__anon38599 87 unsigned long hwid; member in struct:__anon38600
|
cdk.h | 413 unsigned long hwid; member in struct:asystats
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
comstats.h | 39 unsigned long hwid; member in struct:__anon40512 80 unsigned long hwid; member in struct:__anon40513 87 unsigned long hwid; member in struct:__anon40514
|
cdk.h | 413 unsigned long hwid; member in struct:asystats
|
/external/vboot_reference/firmware/include/ |
region.h | 45 * @param hwid Place to put HWID, which will be null-terminated 46 * @param max_size Maximum size of HWID including terminated null 52 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid,
|
/external/vboot_reference/tests/ |
vboot_display_tests.c | 45 strcpy(gbb_data + gbb->hwid_offset, "Test HWID"); 100 char hwid[VB_REGION_HWID_LEN]; local 107 /* HWID should come from the gbb */ 109 VbRegionReadHWID(&cparams, hwid, sizeof(hwid)); 110 TEST_EQ(strcmp(hwid, "Test HWID"), 0, "HWID"); 115 VbRegionReadHWID(&cparams, hwid, sizeof(hwid)); [all...] |
vb2_firmware_tests.sh | 36 ${FUTILITY} gbb_utility gbb.test -s --hwid='Test GBB' \
|
/external/vboot_reference/scripts/image_signing/ |
make_dev_firmware.sh | 8 # image or system live firmware (EEPROM), and assign proper HWID, FLAGS as well. 98 # Converts HWID from $1 to proper format with "DEV" extension 100 local hwid="$1" 101 local hwid_no_dev="${hwid% DEV}" 103 # NOTE: Some DEV firmware image files may put GUID in HWID. 106 if [ "$hwid" != "$hwid_no_dev" ]; then 107 hwid="$hwid_no_dev" 109 local hwid_dev="$hwid DEV" 222 debug_msg "Extract current HWID" 224 old_hwid="$(gbb_utility --get --hwid "$IMAGE" 2>"$EXEC_LOG" [all...] |
/external/autotest/server/site_tests/firmware_TPMExtend/ |
firmware_TPMExtend.py | 34 logging.info('Verifying HWID digest in PCR1') 35 hwid = self.faft_client.system.run_shell_command_get_output( 36 'crossystem hwid')[0] 37 logging.debug('HWID reported by device is: %s', hwid) 38 if not self._check_pcr(1, hashlib.sha256(hwid)): 39 error.TestFail('PCR1 was not extended with SHA256 digest of HWID!')
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/urlhandler/ |
protocol_hwgrep.py | 31 for port, desc, hwid in serial.tools.list_ports.grep(url):
|
/external/vboot_reference/firmware/lib/ |
region-kernel.c | 65 VbError_t VbRegionReadHWID(VbCommonParams *cparams, char *hwid, 73 *hwid = '\0'; 74 StrnAppend(hwid, "{INVALID}", max_size); 81 VBDEBUG(("VbHWID(): invalid hwid size\n")); 86 VBDEBUG(("VbDisplayDebugInfo(): invalid hwid offset/size\n")); 89 ret = VbRegionReadGbb(cparams, gbb->hwid_offset, gbb->hwid_size, hwid);
|
vboot_display.c | 221 char hwid[256]; local 267 VbRegionReadHWID(cparams, hwid, sizeof(hwid)); 268 text_to_show = hwid; 510 char hwid[256]; local 520 VbRegionReadHWID(cparams, hwid, sizeof(hwid)); 521 used += StrnAppend(buf + used, "HWID: ", DEBUG_INFO_SIZE - used); 522 used += StrnAppend(buf + used, hwid, DEBUG_INFO_SIZE - used);
|
/external/vboot_reference/utility/include/ |
gbb_utility.h | 64 bool set_hwid(const char *hwid); // NOTE: hwid is NUL-terminated.
|
/external/vboot_reference/tests/futility/ |
test_gbb_utility.sh | 24 # HWID length should include the terminating null - this is too long 25 if ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDEF" ${TMP}.blob; then 29 ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDE" ${TMP}.blob 104 # (HWID) 0x0080 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 00 123 # HWID not null-terminated is invalid 127 # HWID of length zero is okay 130 # And HWID of length 1 consisting only of '\0' is okay, too. 134 # zero-length HWID not null-terminated is invalid 162 # hwid: offset + size == end of file is okay; beyond is invalid 189 if ${FUTILITY} gbb_utility -s --hwid="A" ${TMP}.blob.bad; then false; f [all...] |
/device/google/dragon/recovery/updater/ |
fwtool.cpp | 102 char *hwid = fdt_read_string("hardware-id"); local 107 printf("HWID: %s\n", hwid); 113 free(hwid);
|
/system/update_engine/ |
omaha_request_params_unittest.cc | 119 EXPECT_EQ(fake_system_state_.hardware()->GetHardwareClass(), out.hwid()); 142 EXPECT_EQ(fake_system_state_.hardware()->GetHardwareClass(), out.hwid()); 290 EXPECT_EQ(fake_system_state_.hardware()->GetHardwareClass(), out.hwid()); 315 EXPECT_EQ(fake_system_state_.hardware()->GetHardwareClass(), out.hwid()); 338 EXPECT_EQ(fake_system_state_.hardware()->GetHardwareClass(), out.hwid()); 444 EXPECT_EQ(fake_system_state_.hardware()->GetHardwareClass(), out.hwid());
|
omaha_request_params.h | 110 inline std::string hwid() const { return hwid_; } function in class:chromeos_update_engine::OmahaRequestParams 251 // Compares hwid to a set of whitelisted prefixes.
|
/external/vboot_reference/utility/ |
vbutil_what_keys | 74 local hwid matchh rootkey matchn recoverykey matchr 76 hwid=$(futility gbb_utility --hwid "$file" | sed -e 's/^.*: *//') || return 77 matchh=$(grep "$hwid" "$0" 2>/dev/null | sed -e 's/^# //') 89 echo "$space hwid: ${matchh:-$hwid}"
|
/external/autotest/server/cros/ |
factory_install_test.py | 45 # string with a single argument (the name of the HWID cfg). 52 mkdir -p "$MOUNT_DIR/dev_image/share/chromeos-hwid" 53 echo %s > "$MOUNT_DIR/dev_image/share/chromeos-hwid/cfg" 86 Returns the HWID cfg, used to select a test list. 190 # Create a pseudo-HWID-updater that merely sets the HWID to "vm" or
|