From 80ef84d8785901afcd445e09cd30dac216aac36f Mon Sep 17 00:00:00 2001 From: Caisking Date: Thu, 19 Mar 2026 16:38:19 +0800 Subject: [PATCH] =?utf8?q?debug=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= =?utf8?q?=E4=B8=BA=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../debug_output_notification.cpp | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp index 9362834e5..624a85180 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp @@ -152,49 +152,49 @@ namespace OHOS void DebugOutputViewEventListener::InitDebugOutputItem() { int index = 0; - debugOutputItemInfo[index++] = {index, "exit"}; // 标题:设置() - debugOutputItemInfo[index++] = {index, "bt_ble_connectstat"}; - debugOutputItemInfo[index++] = {index, "cat1_runtime_status_t"}; - debugOutputItemInfo[index++] = {index, "runtime_status_t"}; + debugOutputItemInfo[index++] = {index, "退出"}; // 标题:设置() + debugOutputItemInfo[index++] = {index, "蓝牙BLE连接状态"}; + debugOutputItemInfo[index++] = {index, "CAT1运行时状态"}; + debugOutputItemInfo[index++] = {index, "运行时状态"}; // 系统日志 - debugOutputItemInfo[index++] = {index, "system_log"}; + debugOutputItemInfo[index++] = {index, "系统日志"}; // 电池服务 - debugOutputItemInfo[index++] = {index, "battery_service"}; + debugOutputItemInfo[index++] = {index, "电池服务"}; // 死机文件列表 - debugOutputItemInfo[index++] = {index, "shutdown_file_list"}; + debugOutputItemInfo[index++] = {index, "死机文件列表"}; // 睡眠数据 - debugOutputItemInfo[index++] = {index, "sleep_data"}; + debugOutputItemInfo[index++] = {index, "睡眠数据"}; // 系统空闲内存 - debugOutputItemInfo[index++] = {index, "system_free_memory"}; + debugOutputItemInfo[index++] = {index, "系统空闲内存"}; // nextday执行日志 - debugOutputItemInfo[index++] = {index, "nextday_log"}; + debugOutputItemInfo[index++] = {index, "次日执行日志"}; // 读取心率 - debugOutputItemInfo[index++] = {index, "heart_rate_data"}; + debugOutputItemInfo[index++] = {index, "心率数据"}; // 弹窗日志 - debugOutputItemInfo[index++] = {index, "popup_windows_log"}; + debugOutputItemInfo[index++] = {index, "弹窗日志"}; // 当前系统亮屏时长 - debugOutputItemInfo[index++] = {index, "current_screen_time"}; + debugOutputItemInfo[index++] = {index, "当前亮屏时长"}; // 串口状态服务 - debugOutputItemInfo[index++] = {index, "uart_service_status"}; + debugOutputItemInfo[index++] = {index, "串口服务状态"}; // Vote状态服务 - debugOutputItemInfo[index++] = {index, "vote_service_status"}; + debugOutputItemInfo[index++] = {index, "投票服务状态"}; // 佩戴状态 - debugOutputItemInfo[index++] = {index, "wear_status"}; + debugOutputItemInfo[index++] = {index, "佩戴状态"}; // 电量信息 - debugOutputItemInfo[index++] = {index, "battery_percent"}; + debugOutputItemInfo[index++] = {index, "电量百分比"}; // 离线日志开关控制窗口,需要采用 ./autobuild.sh uoffline 【CONFIG_DFX_SUPPORT_OFFLINE_LOG_FILE=1】编译才有效 - debugOutputItemInfo[index++] = {index, "offline_log"}; + debugOutputItemInfo[index++] = {index, "离线日志"}; // 心率广播 - debugOutputItemInfo[index++] = {index, "hrs_ble_swtich"}; - - debugOutputItemInfo[index++] = {index, "save_runtime_log"}; + debugOutputItemInfo[index++] = {index, "心率蓝牙广播开关"}; + + debugOutputItemInfo[index++] = {index, "保存运行时日志"}; // CAT1升级 - debugOutputItemInfo[index++] = {index, "CAT1_UPDATA"}; - - debugOutputItemInfo[index++] = {index, "cwm_runtime_log"}; - + debugOutputItemInfo[index++] = {index, "CAT1升级"}; + + debugOutputItemInfo[index++] = {index, "CWM日志开关"}; + usedLen = index; - /* -------------------------------- Add data -------------------------------- */ + /* -------------------------------- 添加数据 -------------------------------- */ for (uint8_t i = 0; i < usedLen; i++) { if (debugOutputAdapter) -- 2.17.1