mediav2 CTS: Add unit tests for mediacodec components

- Added a test to validate the list of color formats advertised by the
  components
- Added a test that checks if the profiles supported by the component
  are in compliance with display capabilities of the device
- Added a test to verify if the encoder-decode pair exists on the
  device
- Added a test to verify that encoded output in EncoderProfileLevelTest
  can be decoded on the device

Bug: 206153517
Bug: 221338308
Test: atest android.mediav2.cts.CodecInfoTest
Test: atest android.mediav2.cts.EncoderProfileLevelTest

Change-Id: I174811dfdaa919abf0a565b99c43938bcc86878b
3 files changed