Add perfetto IME parsers

- Add HierarchyTreeFactoryClients with common logic
  shared between legacy and perfetto parsers.

- Add perfetto parsers
   - inputmethod clients
   - inputmethod manager service
   - inputmethod service

- Add ime/latest protos.

- Extend TranslateIntDef to also pick intdef mapping
  from '.perfetto.protos.typedef' field options.

Bug: 276433199
Test: npm run test:presubmit
Change-Id: Ie14d5cc43089f9a3310d16048095e9f5b98fce2d
20 files changed