文档分析与注释
1. 设备兼容性测试命令
run gts -m GtsEdiHostTestCases
run cts -m CtsCurrentApiSignatureTestCases -t android.signature.cts.api.SignatureTest
run cts -m CtsSecurityTestCases -s
run gts-smr -s
run sts-dynamic-incremental -s
- 用途:这些命令用于执行Android兼容性测试套件(CTS)、Google测试套件(GTS)和安全测试套件(STS),验证设备是否符合Android兼容性和安全标准。
2. 设备属性查询命令
adb shell getprop ro.build.fingerprint
adb shell getprop ro.com.google.gmsversion
adb shell getprop ro.build.version.security_patch
adb shell "getprop | grep clientidbase"
adb shell getprop ro.product.first_api_level
adb shell getprop ro.build.version.base_os
- 用途:收集设备关键信息,用于验证系统合规性、安全更新状态和身份标识。
3. GSI版本标识
git_tm-gsi-release
git_sc-v2-gsi-rel