首页 > 解决方案 > adb 命令检查设备是否锁定到网络

问题描述

在我的 python 框架中,我想检查 dut 是否使用 ADB 命令锁定到网络。我使用了以下命令:

adb shell dumpsys telephony.registry | grep "mServiceState"

但它给出了一个大字符串,使我的代码复杂,有没有直接命令???

标签: androidadb

解决方案


推荐阅读