This change dumps information through IME tracing for the getter methods
exposed by the InputConnection interface. The dump is done through the
ImeTracing interface and is triggered by events in the wrapper classes
used to handle InputConnection implementations corresponding to:
- different apps
- InputMethodService
The new data is available under inputConnectionCall in the clients
output proto.
Bug: 154348613
Test: flash a device
start IME tracing by calling "adb shell ime tracing start"
end IME tracing by calling "adb shell ime tracing stop"
pull generated trace files and visualize in Winscope
or start tracing directly through ADB Connect and visualize traces
Change-Id: Iabd6af1b858803030848a0ef5e7dd9ecfc562716
This CL adds proto2 files which declare the structure of IME related
server states dumps. These files are compiled into individual classes
which contain a fieldId for every field to be saved in the proto
dump file.
The Desing Doc for the IME tracing project is: go/ime-tracing
Bug: 154348613
Test: make and flash to see compiled classes
Change-Id: I673fb71d96ba5de2e8946f160d47ffe82198baa4