Determine mcts/mts mode using original/update module status

When MctsMedia* tests are started in MCTS mode, check whether the media
modules are updated (both media and swcodec).  If both are updated, then
run the test under MTS mode.
This relaxes some missing data around codec performance.

Also includes some gerrit-suggested/enforced style formatting updates.

Bug: 418937398
Flag: EXEMPT test fix
Test: atest MctsMediaDecoderTestCases:android.media.decoder.cts.VideoDecoderPerfTest
  with combinations of  original/updated media modules
Change-Id: I426c41ee7cf9a4d6b1c0e73835ea9ceacc5c8c15
1 file changed