Add CTS testing for permission usage info.

We can utilize LocationManager.addTestProvider() to add our test app
as a location provider on S+, but that doesn't work on R and we have
to assumeTrue() that such a location provider exists before we
continue the test.

Bug: 182204957
Test: atest PermissionUsageInfoTest

Merged-In: I34588bec44951821bf42f24538eade7f02d973dd

Change-Id: I34588bec44951821bf42f24538eade7f02d973dd
7 files changed