diff options
| author | Dieter Hsu <dieterhsu@google.com> | 2019-03-28 17:55:43 +0800 |
|---|---|---|
| committer | Dieter Hsu <dieterhsu@google.com> | 2019-04-26 16:59:48 +0000 |
| commit | a533e52b075db89d275418d02a6dcf5daf46a1b1 (patch) | |
| tree | 28f9ede3a1e67da80a397048ed675f86bbb4f08e /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 9b4cdaa80fa0c4936202412a4f18f47cb6f6ac19 (diff) | |
Dump accessibility event and node when tag is loggable
Let accessibility cache to dump events and nodes info only when
log.tag property has been set up in a debuggable build.
When analyzing we care about events before diving into details.
Using separate log level to decrease interfere and to lower the
performance impact.
- To debugging Cache and event set log.tag.AccessibilityCache property
to DEBUG
- To dump node as well when get/add to Cache set
log.tag.AccessibilityCache property to VERBOSE
- To dump additional debug info for NodeInfo/Event set corresponding
log.tag.AccessibilityNodeInfo/log.tag.AccessibilityEvent property set
to DEBUG.
Bug: 117150182
Test: `setprop log.tag.AccessibilityCache D` and
enable talkback to use and check logcat manually
Test: `setprop log.tag.AccessibilityCache V` and
enable talkback to use and check logcat manually
Change-Id: I433e21ffd21d4125caf938bc8271135bcefd66c3
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
