Inject log group mapping into ProtoLogImpl generated classes

We then keep track of the logging state of each group that way and in
particular use this to toggle groups to logcat on and off.

Test: adb shell wm logging enable-text WM_DEBUG_WINDOW_TRANSITIONS
Bug: 327491675
Change-Id: I2a2e4cfdc51113a5aaf2adc51aa10f5df47a5051
Merged-In: I2a2e4cfdc51113a5aaf2adc51aa10f5df47a5051
(cherry picked from commit 869ebffa4314862fc4a53e11676030369b8049e6)
9 files changed