当前位置:网站首页>Logcat -b events and eventlogtags print the location correspondence of the events log in the code
Logcat -b events and eventlogtags print the location correspondence of the events log in the code
2022-06-13 06:21:00 【Moon Mountain cicada】
logcat -b events and EventLogTags Print this... In your code events log Location correspondence of
1, events log for activity Life cycle :
1, events log for activity Life cycle :
logcat -b events | grep -E "wm_|am_"
events log: wm_create_task: [0,27]
events log Corresponding code
grep -r "writeWm" ./frameworks/base/services --include *.java --color
2, events log for power relevant :
2, events log for power relevant :
logcat -b events | grep -E "power_"
events log: power_screen_state: [0,3,0,0,457]
events log Corresponding code :
grep -r "writePower" ./frameworks/base/services --include *.java --color
And so on
3, events log The law of the corresponding code is :
events log The law of the corresponding code is :
events log The first field , such as wm_xxx
The corresponding code can be passed through grep Grab writeWmxxx Find out where it was printed events log
for example : wm_create_task: [0,27] The corresponding code function is :writeWmCreateTask()
stay android Search in source code grep -r "writeWm" You can find out all wm_ Of event logs
边栏推荐
- JS to realize bidirectional data binding
- Dart class inherits and implements mixed operators
- 347. top k high frequency elements heap sort + bucket sort +map
- Uniapp secondary encapsulates uview components, and the parent component controls display and hiding
- Echart柱状图:堆叠柱状图value格式化显示
- JVM Foundation
- [JS] array de duplication
- App performance test: (II) CPU
- Applet export (use) public function, public data
- Echart柱状图:echart实现堆叠柱状图
猜你喜欢

Failed to extract manifest from apk: processexception:%1 is not a valid Win32 Application.

Echart line chart: different colors are displayed when the names of multiple line charts are the same

El form form verification

Echart histogram: stack histogram value formatted display

微信小程序:点击事件获取当前设备信息(基础)

HBuilderX:HBuilderX安装以及其常用插件安装

Echart line chart: multiple line charts show only one line at a time

You should consider upgrading via

Wechat applet (get location)

微信小程序:基础复习
随机推荐
Uniapp (upload local pictures, preview pictures, convert Base64 format, upload audio files)
Hbuilderx: installation of hbuilderx and its common plug-ins
Binary search
Wechat applet (get location)
USB debugging assistant 20181018 (v1.3)
Echart柱状图:堆叠柱状图value格式化显示
USB debugging assistant (20191028)
线程相关点
Echart histogram: stack histogram value formatted display
View绘制整体流程简析
The technical analysis of ERP systems of the two camps in the world has been picked up many times.
Swift--function
Basic knowledge of knowledge map
[JS] array flattening
Uni app dynamic setting title
Waterfall flow layout of uni app Homepage
动态链接库嵌套样例
【js】var、let、const
Failed to extract manifest from apk: processexception:%1 is not a valid Win32 Application.
Echart矩形树图:简单实现矩形树图