mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 02:35:22 +00:00
Add more display tests
BUG=chromium-os:38139 BRANCH=none TEST=make runtests && FEATURES=test emerge-daisy vboot_reference Change-Id: I28cd31f995f078d1715acaeaccce6e864930a986 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/42846 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
committed by
ChromeBot
parent
7f43669630
commit
fe510c0620
@@ -8,6 +8,7 @@
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_DISPLAY_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_DISPLAY_H_
|
||||
|
||||
#include "bmpblk_font.h"
|
||||
#include "vboot_api.h"
|
||||
#include "vboot_nvstorage.h"
|
||||
|
||||
@@ -21,6 +22,21 @@ VbError_t VbCheckDisplayKey(VbCommonParams *cparams, uint32_t key,
|
||||
|
||||
/* Internal functions, for unit testing */
|
||||
|
||||
typedef FontArrayHeader VbFont_t;
|
||||
|
||||
VbFont_t *VbInternalizeFontData(FontArrayHeader *fonthdr);
|
||||
|
||||
void VbDoneWithFontForNow(VbFont_t *ptr);
|
||||
|
||||
ImageInfo *VbFindFontGlyph(VbFont_t *font, uint32_t ascii,
|
||||
void **bufferptr, uint32_t *buffersize);
|
||||
|
||||
/**
|
||||
* Try to display the specified text at a particular position.
|
||||
*/
|
||||
void VbRenderTextAtPos(char *text, int right_to_left,
|
||||
uint32_t x, uint32_t y, VbFont_t *font);
|
||||
|
||||
/**
|
||||
* Return a description of the recovery reason code.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user