Use CTS/MTS mode to decide if we test vendorParameters

Modify MediaCodecTest's vendorParameters() test so that it uses CTS/MTS
mode information to decide whether to test a codec.
In short, this avoids testing hardware codec behavior when in MTS mode.

Bug: 235801570
Test: cts & mts runs of android.media.codec.cts.MediaCodecTest
Change-Id: I4fd2ab1f961ada704847cd6b118d7e135d3b3f3d
2 files changed