1.adb shell "dumpsys power|grep -i wake"
查看androidtv屏保是否释放
2.adb shell dumpsys meminfo 包名
查看内存信息,是否有内存泄露
3.adb shell am force-stop 包名
4. 启动service
adb shell am startservice --user 0 com.xx/com.xx.Service
adb shell am startservice -n com.xx/com.xx.Service
adb shell am startforegroundservice com.xx/com.xx.Service
5. 查看进程
adb shell "ps|grep packageName"
6.启动广播
adb shell am broadcast -a android.net.conn.CONNECTIVITY_CHANGE
7.查看屏保信息
adb shell dumpsys power
8.查看系统service
adb shell service list
9.查看三方应用service
adb shell dumpsys activity services 包名