InputManagerService: Add method to get the UID for a package

The InputTracer will use this to tell if a UID target matches a list of
packages specified in the trace config.

Bug: 210460522
Test: manual with perfetto
Change-Id: I53bd1b33eefcc7656655e6cbfbef753406b93bd3
2 files changed