Move ASM code to shared class

This change:
1. Moves ASM and BAL code into the same class
2. Updates ASM's minimum tSDK to V
3. Inverts some boolean checks to make the flow easier to follow

Test: atest ActivitySecurityModelTest
Test: ActivitySecurityModelEmbeddingTest BackgroundActivityLaunchTest
Bug: 263368846
Change-Id: I945e8d53f0977479a12473a824956d5acdfe1a14
10 files changed