Add CTS tests for correct logging of DisplayInfoChanged atom

The CTS tests check for 1) brightness event not reported as it is not a basic changed event, 2) state change is reported at least twice 3) rotation is reported with both DisplayInfo groups that changed.

Bug: 439773426
Flag: com.android.server.display.feature.flags.enable_logging_for_display_events
Test: atest DisplayEventOccurredStatsTests
Test: atest DisplayInfoChangedStatsTests
Change-Id: I8c135cf431b6f786c6d1512bd49467eccf2624b9
4 files changed