Fix MediaCodecCapabilitiesTest fail on low ram device

Google c2 mpeg4 decoder seems have larger memory usage than other Google
c2 video codecs. Each time this CTS test is run, it always fails in the middle of
creating Google c2 mpeg4 decoder.

Since testGetMaxSupportedInstances fail can ONLY be reproduced on 512 MB project,
a filter is added to reduce max concurrent instances to test.

Bug: 143668757
Bug: 158025785
Test: run cts -m CtsMediaTestCases
      -t android.media.cts.MediaCodecCapabilitiesTest#testGetMaxSupportedInstances
Change-Id: Iccd6eae4fd9ecec4f10def0be62299065c55c9d4
1 file changed