[AAPM] Tests for DisallowInstallUnknownSources state after disable

To perform the tests, this change adds a test app called
CtsAdvancedProtectionTestApp.

In addition, this change fixes a test failure in
AdvancedProtectionManagerTest.

Bug: 380543696
Bug: 369361373
Test: atest DisallowInstallUnknownSourcesTest
Test: atest AdvancedProtectionManagerTest
Test: atest DisallowCellular2GTest
Test: atest MemoryTaggingExtensionTest
Flag: android.security.aapm_feature_disable_install_unknown_sources
Change-Id: I8a1104bda63bc5650d462773c2207786d1ebb584
9 files changed