HomeSort by relevance Sort by last modified time
    Searched refs:hwid (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium-trace/catapult/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.15-4.8/sysroot/usr/include/linux/
comstats.h 39 unsigned long hwid; member in struct:__anon62440
80 unsigned long hwid; member in struct:__anon62441
87 unsigned long hwid; member in struct:__anon62442
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/autotest/site_utils/
hwid_lib.py 8 # HWID info types to request.
14 # HWID url vars.
17 URL_FORMAT_STRING='%(base_url)s/%(version)s/%(info_type)s/%(hwid)s/?key=%(key)s'
19 # Key file name to use when we don't want hwid labels.
23 """Raised whenever anything fails in the hwid info request."""
26 def get_hwid_info(hwid, info_type, key_file):
27 """Given a hwid and info type, return a dict of the requested info.
29 @param hwid: hwid to use for the query.
35 @raises HwIdException: If hwid/info_type/key_file is invalid or there's a
    [all...]
hwid_lib_unittest.py 58 """Test that an empty hwid raises a ValueError."""
64 self.validate_exception(ValueError, 'hwid', 'invalid_info_type', None)
69 self.validate_exception(IOError, 'hwid', hwid_lib.HWID_INFO_BOM,
76 self.validate_exception(hwid_lib.HwIdException, 'hwid',
86 self.validate_exception(hwid_lib.HwIdException, 'hwid',
94 """Test that get_hwid_info successfully returns a hwid dict.
104 self.assertEqual(hwid_lib.get_hwid_info('hwid', valid_info_type,
119 hwid = 'mock_hwid'
122 info_type, hwid,
130 hwid_lib.get_hwid_info(hwid, info_type, dummy_key_file
    [all...]
  /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 32 logging.info('Verifying HWID digest in PCR1')
33 hwid = self.faft_client.system.run_shell_command_get_output(
34 'crossystem hwid')[0]
35 logging.debug('HWID reported by device is: %s', hwid)
36 if not self._check_pcr(1, hashlib.sha256(hwid)):
37 error.TestFail('PCR1 was not extended with SHA256 digest of HWID!')
  /external/chromium-trace/catapult/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...]
  /external/autotest/client/site_tests/longevity_Tracker/
longevity_Tracker.py 92 """Get hwid of test device, e.g., 'WOLF C4A-B2B-A47'.
94 @returns string of hwid (Hardware ID) of device under test.
96 with os.popen('crossystem hwid 2>/dev/null', 'r') as hwid_proc:
97 hwid = hwid_proc.read()
98 if not hwid:
99 hwid = 'undefined'
100 return hwid
  /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
  /system/update_engine/
omaha_request_params.h 122 inline std::string hwid() const { return hwid_; } function in class:chromeos_update_engine::OmahaRequestParams
279 // Compares hwid to a set of whitelisted prefixes.
  /external/autotest/server/hosts/
cros_label.py 546 """Return all the labels generated from the hwid."""
551 # Grab the key file needed to access the hwid service.
558 hwid = host.run_output('crossystem hwid').strip()
559 hwid_info_list = hwid_lib.get_hwid_info(hwid, hwid_lib.HWID_INFO_LABEL,
589 logging.error('hwid service: %s', e)

Completed in 556 milliseconds

1 2