当前位置:主页 > 移动开发 > Android代码 >

Android 常用log 关键字

时间:2021-12-16 09:50:10 | 栏目:Android代码 | 点击:

记录下常用的log关键字

1.windowmanager接收到全局按键

 WindowManager: interceptKeyTq keycode=26 interactive=false keyguardActive=true policyFlags=2000000
 WindowManager: interceptKeyTq keycode=26 interactive=false keyguardActive=true policyFlags=2000000 down =true  // 按下
 WindowManager: interceptKeyTq keycode=26 interactive=true keyguardActive=false policyFlags=22000000
 WindowManager: interceptKeyTq keycode=26 interactive=true keyguardActive=false policyFlags=22000000 down =false // 松开

2.powermanager接收到power键灭屏

PowerManagerService: Going to sleep due to power button

3.亮灭屏

DisplayManagerService: Display device changed state: "内置屏幕", OFF
DisplayManagerService: Display device changed state: "内置屏幕", ON

总结

您可能感兴趣的文章:

相关文章