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: m FunctionalTestsDesktopMode
Flag: EXEMPT test change
Change-Id: I1a84034c760788d0c38196ddc6dc047ee5c42e55
7 files changed