Add API to query if a UID is active

Test: cts-tradefed run cts-dev -m CtsCameraTestCases

Bug: 72863398

Change-Id: I8e5021f2ef4cd77fc89ae3b47cc32ad6913da0d6
4 files changed