feat(lcd): add boundary performance test

This commit is contained in:
chenjintao
2026-08-26 14:49:41 +08:00
parent 549f495800
commit f92915057a
43 changed files with 707 additions and 9 deletions
+2
View File
@@ -170,6 +170,7 @@ typedef enum {
DOMAIN_EXPRESSION_WUXING,
DOMAIN_EXPRESSION_LISTENING,
DOMAIN_EXPRESSION_OTA_UPDATE,
DOMAIN_EXPRESSION_LCD_BOUNDARY_TEST,
} domain_expression_id_t;
typedef enum {
@@ -198,6 +199,7 @@ typedef enum {
DOMAIN_EXPRESSION_TRIGGER_OTA_UPDATE,
DOMAIN_EXPRESSION_TRIGGER_MODEL_LUCKY_COLOR,
DOMAIN_EXPRESSION_TRIGGER_PTT_BUTTON,
DOMAIN_EXPRESSION_TRIGGER_FACTORY_LCD_TEST,
} domain_expression_trigger_t;
typedef struct {
@@ -81,6 +81,10 @@ static const uint8_t s_basic_face_frame_order[] = {0, 1, 2};
static const uint8_t s_muyu_frame_order[] = {0, 1, 2, 1};
static const uint8_t s_listening_frame_order[] = {0, 1, 2};
static const uint8_t s_ota_update_frame_order[] = {0, 1, 2};
static const uint8_t s_lcd_boundary_test_frame_order[] = {
0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15,
};
static const char *const s_chouqian_result_asset_dirs[] = {
"chouqian_buyun",
"chouqian_heping",
@@ -280,6 +284,22 @@ static const domain_expression_catalog_entry_t s_expression_catalog[] = {
.frame_ms = 200,
},
},
{
.id = DOMAIN_EXPRESSION_LCD_BOUNDARY_TEST,
.platform_request = {
.kind = PLATFORM_LCD_PRESENTATION_ASSET_SEQUENCE,
.priority = 250,
.interrupt_current = true,
.return_to_idle = true,
.asset_dir = "lcd_boundary_test",
.frame_order = s_lcd_boundary_test_frame_order,
.frame_order_count = sizeof(s_lcd_boundary_test_frame_order) /
sizeof(s_lcd_boundary_test_frame_order[0]),
.repeat_count = 0,
.frame_ms = 1,
.duration_ms = 10000,
},
},
};
static void snapshot_domain_wifi_behavior_hooks(domain_wifi_behavior_hooks_t *out_hooks)