Pass sampled value to hidden api access logger

The hidden api access logger can use multiple logging methods, each with
its own sampling rate. ART will only be aware of the maximum sampling
rate, and it will be up to the logger to choose which logging method or
methods will be chosen.

Test: m
Bug: 119217680

(cherry picked from commit 5746f795e254fc74ab54ba4e59bc0c5e994efb03)

Change-Id: Ida8d494cb280cb94cd27adf1264776d3e9306471
Merged-In: I888e55c76ea7a032c35e880a981d1fc9dd4ba6b6
3 files changed