Add CheckFlagsRule to tests with `@RequiresFlags[Enabled|Disabled]`

To enable Global lint CheckFlagsRuleDetector, we need to first fix
(or baseline) all existing errors.

For context on the development of this new lint, see b/430031210.

Bug: 435371380
Test: presubmit
Flag: EXEMPT test change
Change-Id: I188f5adaaa3a6105775e0d45d95d3ce9772d22c7
1 file changed