vts(wifi): stop framework after getting pm feature list

1. In AndroidTest.xml, do NOT add precondition to stop Android framework
2. Get pm feature list in method "CreateTestCases" with Android framework alive
3. Disable Android framwork in method "setUpClass"
4. Enable Android framework in method "tearDownClass"

Follow these 4 steps, we can run VTS test cases without framework interference
and also can get pm feature list to identify if P2P feature is existed or not

Bug: 122856600
Test: Run VTS tests
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_0Host -l INFO
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_1Host -l INFO

Change-Id: I39ccf1940e161da4dca3c3542eb0f76702f7525d
4 files changed