Add DeviceTypeRule to filter tests only for large screens or foldable

This allows SysUI test classes to specify if they are meant only for large screens or tablet by using an annotation.

This allow us to avoid having several custom suites to manually setup for special needs (e.g. foldable/tablet), simplifying test configuration. After this change, it is only needed to add the usual integration test suite also to foldable/tablet build targets, and everything will work fine (on phones, annotated tests will not work)

If those rules work, then FoldableOnlyRuleTest and LargeScreenOnlyRuleTest shouldn't fail in any target during presubmits.

Test: atest FoldableOnlyRuleTest && atest LargeScreenOnlyRuleTest
Bug: 228597099
Change-Id: I8f1579cdee9df9d8e5001730c184d34575651273
1 file changed