/external/vboot_reference/firmware/stub/ |
D | vboot_api_stub.c | 28 return VBERROR_SUCCESS; in VbExBeep() 33 return VBERROR_SUCCESS; in VbExDisplayInit() 38 return VBERROR_SUCCESS; in VbExDisplayBacklight() 43 return VBERROR_SUCCESS; in VbExDisplaySetDimension() 48 return VBERROR_SUCCESS; in VbExDisplayScreen() 54 return VBERROR_SUCCESS; in VbExDisplayImage() 59 return VBERROR_SUCCESS; in VbExDisplayDebugInfo() 86 return VBERROR_SUCCESS; in VbExDecompress() 97 return VBERROR_SUCCESS; in VbExEcRunningRW() 102 return VBERROR_SUCCESS; in VbExEcJumpToRW() [all …]
|
D | vboot_api_stub_disk.c | 25 return VBERROR_SUCCESS; in VbExDiskGetInfo() 31 return VBERROR_SUCCESS; in VbExDiskFreeInfo() 37 return VBERROR_SUCCESS; in VbExDiskRead() 43 return VBERROR_SUCCESS; in VbExDiskWrite()
|
D | tpm_lite_stub.c | 112 return VBERROR_SUCCESS; in TpmExecute() 149 return VBERROR_SUCCESS; in VbExTpmClose() 159 return VBERROR_SUCCESS; /* Already open */ in VbExTpmOpen() 172 return VBERROR_SUCCESS; in VbExTpmOpen() 215 if (result != VBERROR_SUCCESS) in VbExTpmSendReceive() 249 return VBERROR_SUCCESS; in VbExTpmSendReceive()
|
D | vboot_api_stub_stream.c | 46 return VBERROR_SUCCESS; in VbExStreamOpen() 68 if (rv != VBERROR_SUCCESS) in VbExStreamRead() 74 return VBERROR_SUCCESS; in VbExStreamRead()
|
D | vboot_api_stub_init.c | 66 return VBERROR_SUCCESS; in VbExNvStorageRead() 71 return VBERROR_SUCCESS; in VbExNvStorageWrite()
|
D | vboot_api_stub_region.c | 20 return VBERROR_SUCCESS; in VbExRegionRead()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_api_kernel.c | 85 if (VBERROR_SUCCESS != VbExDiskGetInfo(&disk_info, &disk_count, in VbTryLoadKernel() 133 if (VBERROR_SUCCESS == retval) in VbTryLoadKernel() 138 if (VBERROR_SUCCESS != retval) { in VbTryLoadKernel() 390 if (VBERROR_SUCCESS == in VbBootDeveloper() 396 return VBERROR_SUCCESS; in VbBootDeveloper() 473 if (VBERROR_SUCCESS != VbExDiskGetInfo(&disk_info, &disk_count, in VbBootRecovery() 484 if (VBERROR_SUCCESS != in VbBootRecovery() 531 if (VBERROR_SUCCESS == retval) in VbBootRecovery() 614 return VBERROR_SUCCESS; in VbBootRecovery() 626 } else if (rv != VBERROR_SUCCESS) { in EcProtectRW() [all …]
|
D | vboot_api_firmware.c | 51 if (VBERROR_SUCCESS != retval) { in VbSelectFirmware() 62 if (VBERROR_SUCCESS != retval) in VbSelectFirmware() 69 if (VBERROR_SUCCESS != retval) in VbSelectFirmware() 125 retval = VBERROR_SUCCESS; in VbSelectFirmware()
|
D | vboot_display.c | 36 return VBERROR_SUCCESS; in VbGetLocalizationCount() 129 if (VBERROR_SUCCESS != VbExDisplayImage(cur_x, cur_y, buffer, in VbRenderTextAtPos() 291 if (VBERROR_SUCCESS != retval) in VbDisplayScreenFromGBB() 296 retval = VBERROR_SUCCESS; in VbDisplayScreenFromGBB() 313 if (VBERROR_SUCCESS != retval) in VbDisplayScreen() 319 return VBERROR_SUCCESS; in VbDisplayScreen() 328 if (VBERROR_SUCCESS == VbDisplayScreenFromGBB(cparams, screen, in VbDisplayScreen() 330 return VBERROR_SUCCESS; in VbDisplayScreen() 649 if (VBERROR_SUCCESS != VbGetLocalizationCount(cparams, &count)) in VbCheckDisplayKey() 676 return VBERROR_SUCCESS; in VbCheckDisplayKey()
|
D | region-kernel.c | 62 return VBERROR_SUCCESS; in VbGbbReadBmpHeader() 82 return VBERROR_SUCCESS; /* oddly enough! */ in VbRegionReadHWID() 93 return VBERROR_SUCCESS; in VbRegionReadHWID() 167 return VBERROR_SUCCESS; in VbGbbReadImage()
|
D | vboot_firmware.c | 239 if (VBERROR_SUCCESS != rv) { in LoadFirmware() 324 retval = VBERROR_SUCCESS; in LoadFirmware() 352 VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ? in LoadFirmware() 359 VBERROR_SUCCESS != retval) { in LoadFirmware()
|
D | vboot_kernel.c | 109 if (VBERROR_SUCCESS != retval) in LoadKernel() 510 retval = VBERROR_SUCCESS; in LoadKernel() 524 VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ? in LoadKernel()
|
D | region-init.c | 42 return VBERROR_SUCCESS; in VbRegionReadData()
|
/external/vboot_reference/tests/ |
D | vboot_api_devmode_tests.c | 51 0x00000001, VBERROR_SUCCESS, 60 0x00000000, VBERROR_SUCCESS, 95 0x00000000, VBERROR_SUCCESS, 114 0x00000000, VBERROR_SUCCESS, 180 beep_return = VBERROR_SUCCESS; in ResetMocks() 191 return VBERROR_SUCCESS; in VbExNvStorageRead() 196 return VBERROR_SUCCESS; in VbExNvStorageWrite() 206 return VBERROR_SUCCESS; in VbExDiskFreeInfo() 294 return VBERROR_SUCCESS; in VbExDisplayScreen()
|
D | vboot_api_kernel_tests.c | 78 .diskgetinfo_return_val = VBERROR_SUCCESS, 85 .expected_return_val = VBERROR_SUCCESS 97 .diskgetinfo_return_val = VBERROR_SUCCESS, 103 .expected_return_val = VBERROR_SUCCESS 127 .diskgetinfo_return_val = VBERROR_SUCCESS, 133 .expected_return_val = VBERROR_SUCCESS 140 .diskgetinfo_return_val = VBERROR_SUCCESS, 168 .diskgetinfo_return_val = VBERROR_SUCCESS, 275 return VBERROR_SUCCESS; in VbExDiskFreeInfo()
|
D | vboot_api_kernel3_tests.c | 79 in_rw_retval = VBERROR_SUCCESS; in ResetMocks() 80 protect_retval = VBERROR_SUCCESS; in ResetMocks() 81 update_retval = VBERROR_SUCCESS; in ResetMocks() 82 run_retval = VBERROR_SUCCESS; in ResetMocks() 83 get_expected_retval = VBERROR_SUCCESS; in ResetMocks() 147 return mock_ec_hash_size ? VBERROR_SUCCESS : VBERROR_SIMULATED; in VbExEcHashRW() 168 return want_ec_hash_size ? VBERROR_SUCCESS : VBERROR_SIMULATED; in VbExEcGetExpectedRWHash() 189 return VBERROR_SUCCESS; in VbDisplayScreen()
|
D | vboot_region_tests.c | 121 return VBERROR_SUCCESS; in SetTPMBootModeState() 126 return VBERROR_SUCCESS; in VbExNvStorageRead() 131 return VBERROR_SUCCESS; in VbExNvStorageWrite() 144 return VBERROR_SUCCESS; in VbExRegionRead() 161 return VBERROR_SUCCESS; in VbExDisplayImage() 170 return VBERROR_SUCCESS; in VbExDecompress() 186 TEST_EQ(VbSelectFirmware(&cparams, &fparams), VBERROR_SUCCESS, in VbRegionReadTest()
|
D | vboot_api_kernel4_tests.c | 60 ecsync_retval = VBERROR_SUCCESS; in ResetMocks() 62 rkr_retval = rkw_retval = rkl_retval = VBERROR_SUCCESS; in ResetMocks() 63 vbboot_retval = VBERROR_SUCCESS; in ResetMocks() 71 return VBERROR_SUCCESS; in VbExNvStorageRead() 77 return VBERROR_SUCCESS; in VbExNvStorageWrite()
|
D | vboot_firmware_tests.c | 179 return VBERROR_SUCCESS; in VbExHashFirmwareBody() 283 TestLoadFirmware(VBERROR_SUCCESS, 0, "Key version check + GBB override"); in LoadFirmwareTest() 316 TestLoadFirmware(VBERROR_SUCCESS, 0, "Firmware version check + GBB bypass"); in LoadFirmwareTest() 340 TestLoadFirmware(VBERROR_SUCCESS, 0, "RO normal A"); in LoadFirmwareTest() 353 TestLoadFirmware(VBERROR_SUCCESS, 0, "Check A then B"); in LoadFirmwareTest() 365 TestLoadFirmware(VBERROR_SUCCESS, 0, "Check B then A"); in LoadFirmwareTest() 382 TestLoadFirmware(VBERROR_SUCCESS, 0, "Check A then B advancing version"); in LoadFirmwareTest() 395 TestLoadFirmware(VBERROR_SUCCESS, 0, "Verify firmware body"); in LoadFirmwareTest()
|
D | verify_kernel.c | 38 return VBERROR_SUCCESS; in VbExDiskRead() 52 return VBERROR_SUCCESS; in VbExDiskWrite() 123 if (rv != VBERROR_SUCCESS) { in main()
|
D | vboot_api_kernel2_tests.c | 154 return VBERROR_SUCCESS; in VbExDiskGetInfo() 160 return VBERROR_SUCCESS; in VbExDiskFreeInfo() 190 return VBERROR_SUCCESS; in VbDisplayScreen() 425 vbtlk_retval = VBERROR_SUCCESS - VB_DISK_FLAG_REMOVABLE; in VbBootDevTest() 432 vbtlk_retval = VBERROR_SUCCESS - VB_DISK_FLAG_REMOVABLE; in VbBootDevTest() 471 vbtlk_retval = VBERROR_SUCCESS - VB_DISK_FLAG_REMOVABLE; in VbBootRecTest()
|
D | tlcl_tests.c | 51 mock_retval = VBERROR_SUCCESS; in ResetMocks() 113 TEST_EQ(TlclLibInit(), VBERROR_SUCCESS, "Init"); in TlclTest() 120 TEST_EQ(TlclLibClose(), VBERROR_SUCCESS, "Close"); in TlclTest()
|
D | vboot_api_firmware_tests.c | 84 return VBERROR_SUCCESS; in VbExNvStorageRead() 90 return VBERROR_SUCCESS; in VbExNvStorageWrite()
|
D | vboot_kernel_tests.c | 193 return VBERROR_SUCCESS; in VbExDiskRead() 207 return VBERROR_SUCCESS; in VbExDiskWrite() 249 return VBERROR_SUCCESS; in KeyBlockVerify() 277 return VBERROR_SUCCESS; in VerifyKernelPreamble() 286 return VBERROR_SUCCESS; in VerifyData()
|
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 52 return VBERROR_SUCCESS; in VbExDiskRead() 68 return VBERROR_SUCCESS; in VbExDiskWrite() 75 return VBERROR_SUCCESS; in VbExDiskWrite() 224 if (VBERROR_SUCCESS == rv) { in main() 251 return rv != VBERROR_SUCCESS; in main()
|