feat: dev-5.1 分支基线(v1.3.35 发版后代码 + 5.1 声道改造文档)

- 以 main(ccc65af) 为基线提交当前工作区代码
- 新增 5.1 声道改造文档两份
- .gitignore 补充 .vscode/、.screenshots/
This commit is contained in:
freeboss
2026-11-02 19:25:12 +08:00
parent ccc65afcbc
commit b7b5518834
1394 changed files with 13694 additions and 3710 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# skyworth_security_test.sh - 创维广播白名单校验测试
# 用非白名单 sender 包名投递创维 VOD 广播,验证被 SkyworthVoiceAdapter 丢弃
# 用法: skyworth_security_test.sh [fakeSenderPkg]
# fakeSenderPkg 默认 com.attacker.malicious
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# shellcheck disable=SC1091
source "${SCRIPT_DIR}/lib/common.sh"
require_adb
check_skyworth_adapter_exists
FAKE_SENDER="${1:-com.attacker.malicious}"
print_header "创维广播安全校验(sender=${FAKE_SENDER})"
send_skyworth_broadcast "越权点播片" "${FAKE_SENDER}"
log_ok "投递完成,预期 sender 不在白名单时被丢弃(logcat: dropped sender not in whitelist)"
log_warn "验证方法:adb logcat -v threadtime VoiceCommand:V '*:S' 过滤 dropped 日志"