Add libinput stack leakage test to presubmit
To prevent future breakages from adding / removing fields to
InputMessage, add this security test to presubmit for all input-related
code.
Test: cd frameworks/native/services/inputflinger && atest
Observe:
Running Tests...
arm64-v8a CtsSecurityBulletinHostTestCases
------------------------------------------
com.android.compatibility.common.tradefed.testtype.JarHostTest (1 Test)
[1/1] android.security.cts.Poc19_03#testPocBug_115739809: PASSED (29.769s)
Bug: 184090953
Bug: 120630087
Change-Id: I269b7fbac298377bd2ae87ae7977f7843f0f455b
diff --git a/services/inputflinger/TEST_MAPPING b/services/inputflinger/TEST_MAPPING
index 8073a93..dc0e60c 100644
--- a/services/inputflinger/TEST_MAPPING
+++ b/services/inputflinger/TEST_MAPPING
@@ -38,6 +38,14 @@
"include-filter": "android.security.cts.MotionEventTest"
}
]
+ },
+ {
+ "name": "CtsSecurityBulletinHostTestCases",
+ "options": [
+ {
+ "include-filter": "android.security.cts.Poc19_03#testPocBug_115739809"
+ }
+ ]
}
]
}