Log metrics to get data on picker uri query patterns

Log metrics for apps requesting unknown/unsupported columns for picker
uris. This will help us know how many apps expect unsupported (unknown)
columns for picker uris. This helps us understand app patterns and
expectations and how we want to support app compatibility for
GET_CONTENT takeover.

Move Picker uri projection check before calling internal methods, this
is done because other calls are from within MediaProvider and passing
own uid/packagename through a stack of methods is redundant. We still
throw error later as well, but do not log that as it is from within
MediaProvider.

Bug: 218862369
Test: manual
Change-Id: Ic3d5dd3757930bbc03b608483d9573d7b51c09e1
4 files changed