dynamic cts phase 1
--add DynamicConfigPusher which push config file to certain location on device/host
--DynamicConfig will parse config file and store it in a Map
--Alter one host test case (SampleHostTests) to test dynamic config infrastructure. Modify its AndroidTest.xml to trigger DynamicConfigPusher.
Change-Id: I51eb6eeeaf344ade9f4cfe4225abbd5d04f78d49
diff --git a/tests/sample/AndroidTest.xml b/tests/sample/AndroidTest.xml
index f2ec348..3fb350d 100644
--- a/tests/sample/AndroidTest.xml
+++ b/tests/sample/AndroidTest.xml
@@ -20,4 +20,8 @@
<option name="package" value="android.sample.cts" />
<option name="runner" value="android.support.test.runner.AndroidJUnitRunner" />
</test>
+ <target_preparer class="com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusher">
+ <option name="target" value="device" />
+ <option name="module-name" value="CtsSampleDeviceTestCases"/>
+ </target_preparer>
</configuration>