Searched refs:testMediaType (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | PlayerListener.java | 180 String testMediaType = testFormat.sampleMimeType; in isFormatSimilar() local 182 assertTrue(refMediaType.startsWith("audio/") && testMediaType.startsWith("audio/")); in isFormatSimilar() 188 assertTrue((refMediaType.startsWith("text/") && testMediaType.startsWith("text/")) || ( in isFormatSimilar() 189 refMediaType.startsWith("application/") && testMediaType.startsWith("application/"))); in isFormatSimilar() 191 if (!refMediaType.equals(testMediaType)) { in isFormatSimilar()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CompareStreams.java | 106 public CompareStreams(RawResource refYuv, String testMediaType, String testFile, in CompareStreams() argument 108 super(findDecoderForStream(testMediaType, testFile), testMediaType, testFile, LOG_TAG); in CompareStreams() local 127 public CompareStreams(String refMediaType, String refFile, String testMediaType, in CompareStreams() argument 129 this(new DecodeStreamToYuv(refMediaType, refFile).getDecodedYuv(), testMediaType, testFile, in CompareStreams() 134 public CompareStreams(RawResource refYuv, String testMediaType, String testFile, in CompareStreams() argument 137 super(findDecoderForStream(testMediaType, testFile), testMediaType, testFile, LOG_TAG); in CompareStreams() local
|
/cts/tests/media/jni/ |
D | NativeMediaCommon.cpp | 98 const char *refMediaType = nullptr, *testMediaType = nullptr; in isFormatSimilar() local 103 AMediaFormat_getString(testFormat, AMEDIAFORMAT_KEY_MIME, &testMediaType); in isFormatSimilar() 105 if (strcmp(refMediaType, testMediaType) != 0) return false; in isFormatSimilar()
|
D | NativeCodecTestBase.cpp | 685 const char *refMediaType = nullptr, *testMediaType = nullptr; in isFormatSimilar() local 688 AMediaFormat_getString(outFormat, AMEDIAFORMAT_KEY_MIME, &testMediaType); in isFormatSimilar() 701 (strncmp(testMediaType, "audio/", strlen("audio/")) == 0); in isFormatSimilar() 709 (strncmp(testMediaType, "video/", strlen("video/")) == 0); in isFormatSimilar()
|
D | NativeExtractorTest.cpp | 459 const char *refMediaType = nullptr, *testMediaType = nullptr; in isFileFormatIdentical() local 463 AMediaFormat_getString(testFormat, AMEDIAFORMAT_KEY_MIME, &testMediaType); in isFileFormatIdentical() 465 if (hasRefKey && hasTestKey && strcmp(refMediaType, testMediaType) == 0) { in isFileFormatIdentical() 468 ALOGE("file format exp/got : %s/%s", refMediaType, testMediaType); in isFileFormatIdentical()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 259 String testMediaType = testFormat.getString(MediaFormat.KEY_MIME); in isFormatSimilar() local 261 if (!refMediaType.equals(testMediaType)) return false; in isFormatSimilar() 541 String testMediaType = bundle.getString(MediaExtractor.MetricsConstants.MIME_TYPE); in areMetricsIdentical() local 543 testMediaType.equals(refMediaType); in areMetricsIdentical() 547 Log.d(LOG_TAG, " Mediatype exp/got: " + refMediaType + '/' + testMediaType); in areMetricsIdentical()
|