CTS test for b/138650665

Test attempts to install a test APK with INSTALL_DISABLE_VERIFICATION
flag set and then asserts that verifier was still called.

Since a device doesn't require to have a verifier to pass CTS tests,
android.security.cts package is used as a verifier, while test app has
android.security.cts package specified in the package-verifier stanza
of the manifest.

Because specifying a verifier in the manifest of an APK requires a
knowledge of verifiers public key, android.security.cts package is not
signed with it's own certificate.

Certificate created via:
development/tools/make_key security_cts_test_cert \
'/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'

Bug: 138650665
Test: atest CtsSecurityTestCases:android.security.cts.PackageInstallerTest
Test: atest InstallUtilTest
Change-Id: I47f818ded9c812956f8debbda4ff8330f30094b0
11 files changed