Add missing module_controller filter to host tests

Without a module_filter, these tests will attempt to run on devices that
should not have the rkpd mainline module (e.g. pre Android 14 devices).

Test: these tests don't run on earlier targets
Bug: 289986564
(cherry picked from https://android-review.googlesource.com/q/commit:146b36657bb0995d8a08671fbc67529ca6d13656)
Merged-In: Ifde0720083e78ef49d68c1653b74d75e92c22f47
Change-Id: Ifde0720083e78ef49d68c1653b74d75e92c22f47
diff --git a/app/tests/hosttest/AndroidTest.xml b/app/tests/hosttest/AndroidTest.xml
index 5e79b2e..10c71c2 100644
--- a/app/tests/hosttest/AndroidTest.xml
+++ b/app/tests/hosttest/AndroidTest.xml
@@ -26,4 +26,11 @@
     <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >
         <option name="jar" value="RkpdAppHostTests.jar" />
     </test>
+
+    <!-- Only run if RKPD mainline module is installed -->
+    <object type="module_controller"
+            class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController">
+        <option name="enable" value="true" />
+        <option name="mainline-module-package-name" value="com.android.rkpd" />
+    </object>
 </configuration>