diff options
Diffstat (limited to 'firmware/2lib/include/2ui_private.h')
-rw-r--r-- | firmware/2lib/include/2ui_private.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/firmware/2lib/include/2ui_private.h b/firmware/2lib/include/2ui_private.h deleted file mode 100644 index 9f08c3eb..00000000 --- a/firmware/2lib/include/2ui_private.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2020 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - * Private declarations for 2ui.c. Defined here for testing purposes. - */ - -#include "2api.h" -#include "2common.h" - -#ifndef VBOOT_REFERENCE_2UI_PRIVATE_H_ -#define VBOOT_REFERENCE_2UI_PRIVATE_H_ - -/* Time-related constants */ -#define KEY_DELAY_MS 20 /* Delay between key scans in UI loops */ -#define DEV_DELAY_SHORT_MS (2 * VB2_MSEC_PER_SEC) /* 2 seconds */ -#define DEV_DELAY_NORMAL_MS (30 * VB2_MSEC_PER_SEC) /* 30 seconds */ -#define DEV_DELAY_BEEP1_MS (20 * VB2_MSEC_PER_SEC) /* 20 seconds */ -#define DEV_DELAY_BEEP2_MS (20 * VB2_MSEC_PER_SEC + 500) /* 20.5 seconds */ - -/* From 2ui.c */ -vb2_error_t vb2_check_shutdown_request(struct vb2_ui_context *ui); -const struct vb2_menu *vb2_get_menu(struct vb2_ui_context *ui); -vb2_error_t vb2_error_exit_action(struct vb2_ui_context *ui); -vb2_error_t vb2_menu_navigation_action(struct vb2_ui_context *ui); -vb2_error_t -vb2_ui_loop(struct vb2_context *ctx, enum vb2_screen root_screen_id, - vb2_error_t (*global_action)(struct vb2_ui_context *ui)); -vb2_error_t developer_action(struct vb2_ui_context *ui); -vb2_error_t manual_recovery_action(struct vb2_ui_context *ui); - -/* From 2ui_screens.c */ -const struct vb2_menu *vb2_get_language_menu(struct vb2_ui_context *ui); -vb2_error_t vb2_advanced_options_init(struct vb2_ui_context *ui); -vb2_error_t recovery_select_init(struct vb2_ui_context *ui); -vb2_error_t recovery_to_dev_init(struct vb2_ui_context *ui); -vb2_error_t recovery_to_dev_confirm_action(struct vb2_ui_context *ui); -vb2_error_t recovery_to_dev_action(struct vb2_ui_context *ui); -vb2_error_t developer_mode_init(struct vb2_ui_context *ui); -vb2_error_t developer_mode_action(struct vb2_ui_context *ui); -vb2_error_t developer_to_norm_action(struct vb2_ui_context *ui); - -#endif /* VBOOT_REFERENCE_2UI_PRIVATE_H_ */ |