/external/autotest/client/site_tests/hardware_ProbeComponents/ |
control | 7 PURPOSE = "Probe all hardware components for HWID generation" 12 DOC = "This test logs the output of gooftool probe command used for HWID."
|
hardware_ProbeComponents.py | 8 components and used to generate a new 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...] |
/external/vboot_reference/tests/bitmaps/ |
case_badbmp.yaml | 8 $HWID: FontFile.bin 14 - [100, 100, $HWID]
|
/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,
|
gbb_header.h | 30 /* v1.2 - added field to hold sha256 digest of the HWID */ 32 /* Maximum length of a HWID in bytes, counting terminating null. */ 84 uint32_t hwid_offset; /* HWID */
|
bmpblk_header.h | 102 uint32_t tag; /* Tag it as a special image, like HWID */ 121 TAG_HWID_RTOL, /* "right-to-left", ie, right-justified HWID */ 133 * ASCII HWID should be displayed. For RENDER_HWID, the image coordinates 134 * specify upper-left corner of the HWID string. For RENDER_HWID_RTOL, they 137 #define RENDER_HWID "$HWID" 138 #define RENDER_HWID_RTOL "$HWID.rtol"
|
/cts/suite/audio_quality/test/ |
MixerTest.cpp | 38 int hwId = AudioHardware::detectAudioHw(); 39 ASSERT_TRUE(hwId >= 0); 40 struct mixer* mixerp = mixer_open(hwId);
|
AudioHardwareTest.cpp | 27 int hwId = AudioHardware::detectAudioHw(); 28 ASSERT_TRUE(hwId >= 0);
|
/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!')
|
control | 9 PURPOSE = "Ensure TPM PCRs have been correctly extended with boot mode and HWID" 21 encodes the current boot mode and the HWID, respectively.
|
/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,))
|
/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);
|
/system/update_engine/common/ |
hwid_override.h | 28 // Class that allows HWID to be read from <root>/etc/lsb-release. 34 // Read HWID from an /etc/lsb-release file under given root.
|
/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:__anon37478 80 unsigned long hwid; member in struct:__anon37479 87 unsigned long hwid; member in struct:__anon37480
|
/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:__anon39392 80 unsigned long hwid; member in struct:__anon39393 87 unsigned long hwid; member in struct:__anon39394
|
/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/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/vboot_reference/futility/ |
cmd_gbb_utility.c | 30 " --hwid \tReport hardware id (default).\n" 32 " --digest \tReport digest of hwid (>= v1.2)\n" 41 " --hwid=HWID \tThe new hardware id to be changed.\n" 53 " %s --set --hwid='New Model' -k key.bin" 75 {"hwid", 0, NULL, OPT_HWID}, 377 opt_has_arg("hwid", 0); 382 opt_has_arg("hwid", 1); 401 /* --hwid is optional: null might be okay */ 462 /* With no args, show the HWID */ [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioPlaybackLocal.cpp | 41 AudioPlaybackLocal::AudioPlaybackLocal(int hwId) 42 : mHwId(hwId),
|
AudioRecordingLocal.cpp | 28 AudioRecordingLocal::AudioRecordingLocal(int hwId) 29 : mHwId(hwId),
|
/cts/suite/audio_quality/lib/include/audio/ |
AudioPlaybackLocal.h | 30 AudioPlaybackLocal(int hwId);
|
AudioRecordingLocal.h | 30 AudioRecordingLocal(int hwId);
|
/external/vboot_reference/firmware/2lib/include/ |
2struct.h | 110 /* HWID digest from GBB header */ 167 /* v1.2 - added fields for sha256 digest of the HWID */ 231 uint32_t hwid_offset; /* HWID */ 241 uint8_t hwid_digest[VB2_GBB_HWID_DIGEST_SIZE]; /* SHA-256 of HWID */
|
/external/autotest/client/bin/ |
site_sysinfo.py | 359 # Get the hwid (hardware ID), if applicable. 361 keyval["hwid"] = utils.system_output('crossystem hwid') 363 # The hwid may not be available (e.g, when running on a VM). 365 # we expect the hwid to not be avilable, and we can proceed in this 366 # case. Otherwise, the hwid is missing unexpectedly. 370 'HWID not available; not logging it as a test keyval.') 372 logging.exception('HWID expected but could not be identified; '
|