Hidden API: only log what we deny.

Only print a "Accessing hidden ..." warning in logcat when we deny access
to any API, or if the app is debuggable. This reduces log spam.

Update test expectations accordingly.

Bug: 79914966
Test: $ art/test.py -b --host -t 674-hiddenapi

(cherry picked from commit 46b26278907301dcc27010b397d1a4bd1cd53b33)

Merged-In: Ic6dfa0dd519a8854e3a40ba19c9a001c0c2a378b
Change-Id: Ieda769d51e53ec4b7712d0bb1bf76e1a95d2120f
2 files changed