CTS API Surface Coverage Tool

Adds a few make rules to generate coverage reports that use
dexdeps to see what methods from the API are directly
called from the tests rather than using the usual approach
of using EMMA.

    make cts-test-coverage

This rule will generate coverage of the API from the test
cases in CtsTestCaseList's CTS_COVERAGE_TEST_CASE_LIST list.

    make cts-verifier-coverage

This rule will generate coverage by the CtsVerifier.

Change-Id: I28c8d825cff5b1c6b293b786e28a472059a7259a
diff --git a/CtsTestCaseList.mk b/CtsTestCaseList.mk
index 46db63c..16b81c9 100644
--- a/CtsTestCaseList.mk
+++ b/CtsTestCaseList.mk
@@ -27,16 +27,14 @@
 	CtsTargetInstrumentationApp \
 	CtsUsePermissionDiffCert
 
-CTS_TEST_CASE_LIST := \
-	TestDeviceSetup \
-	CtsTestStubs \
+# These test cases will be analyzed by the CTS API coverage tools. 
+CTS_COVERAGE_TEST_CASE_LIST := \
 	CtsAccessibilityServiceTestCases \
 	CtsAccountManagerTestCases \
 	CtsAppTestCases \
 	CtsBluetoothTestCases \
 	CtsContentTestCases \
 	CtsDatabaseTestCases \
-	CtsDelegatingAccessibilityService \
 	CtsDpiTestCases \
 	CtsDpiTestCases2 \
 	CtsExampleTestCases \
@@ -53,19 +51,25 @@
 	CtsSaxTestCases \
 	CtsSpeechTestCases \
 	CtsTelephonyTestCases \
+	CtsTestStubs \
 	CtsTextTestCases \
 	CtsUtilTestCases \
 	CtsViewTestCases \
 	CtsWebkitTestCases \
 	CtsWidgetTestCases \
 	CtsNetTestCases \
-	SignatureTest \
 	CtsPerformanceTestCases \
 	CtsPerformance2TestCases \
 	CtsPerformance3TestCases \
 	CtsPerformance4TestCases \
-	CtsPerformance5TestCases \
+	CtsPerformance5TestCases
+
+CTS_TEST_CASE_LIST := \
+	TestDeviceSetup \
+	CtsDelegatingAccessibilityService \
+	SignatureTest \
 	ApiDemos \
 	ApiDemosReferenceTest \
 	$(CTS_APPS_LIST) \
+	$(CTS_COVERAGE_TEST_CASE_LIST) \
 	$(CTS_SECURITY_APPS_LIST)