adb shell dumpsys window windows
adb shell dumpsys activity containers
adb shell dumpsys activity activities
Adb shell dumpsys SurfaceFlinger
grep 'xxx' ./ -rn
protolog : 开启 adb shell wm logging enable-txt xx模块;
adb logcat -b all ¦ grep wm;
adb logcat -b events -c;adb logcat -b events | gerp input_focus 过滤event事件;
adb shell dumpsys window/input查看焦点窗口;
adb shell getevent -h。查看所有event命令。
adb shell getevent -ltr .查看驱动打印的事件。
网友评论