Add CTS test for hidden API whitelisting.

This test is identical to the existing hidden-api-killswitch test except
that it sets the whitelist to "L" instead of "*". This is very
significant, as it results in a very different codepath being invoked:
there is a special case for "*" which disables the entire hidden API
feature, including the logging. When we set it to "L", the value is
pushed down to the preforked zygote, and the hidden API logic remains
enabled but all APIs are whitelisted.

Since this codepath is only ever run if/when we push changes to the
whitelist, having some confidence that it work is important.

Bug: 64382372
Test: $ cts/tests/signature/runSignatureTests.sh
Change-Id: Ide21f33915c78ca6f0325bfb0002fdbb8cd03622
5 files changed