/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/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/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);
|
tpm_bootmode.c | 159 /* Extend the HWID Digest into PCR1 (GBB v1.2 and later only) */ 163 VBDEBUG(("TPM: SetTPMBootModeState HWID PCR%d result %d\n",
|
/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:__anon30794 80 unsigned long hwid; member in struct:__anon30795 87 unsigned long hwid; member in struct:__anon30796
|
/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:__anon32708 80 unsigned long hwid; member in struct:__anon32709 87 unsigned long hwid; member in struct:__anon32710
|
/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/vboot_reference/utility/include/ |
gbb_utility.h | 64 bool set_hwid(const char *hwid); // NOTE: hwid is NUL-terminated.
|
/external/vboot_reference/host/arch/mips/lib/ |
crossystem_arch.c | 50 if (!strcasecmp(name,"hwid")) {
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
patchram.cpp | 592 UINT32 hwId = 0; 598 hwId = num; 613 if ((hwId == 0) && (xtalFreq == 0) && (xtalIndex == 0)) 616 ALOGD ("%s: hwId=0x%lX; freq=%u; index=%u", __FUNCTION__, hwId, xtalFreq, xtalIndex); 617 nfc_post_reset_cb.dev_init_config.xtal_cfg[0].brcm_hw_id = (hwId & BRCM_NFC_GEN_MASK);
|
/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}"
|