Searched refs:trackMime (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/module/extractors/tests/ |
D | ExtractorUnitTest.cpp | 489 const char *extractorMime, *trackMime; in TEST_P() local 491 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &trackMime); in TEST_P() 492 ASSERT_TRUE(!strcmp(extractorMime, trackMime)) in TEST_P() 908 const char *trackMime; in TEST_P() local 909 bool valueFound = AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &trackMime); in TEST_P() 911 ASSERT_STREQ(configParam.mime.c_str(), trackMime) << "Invalid track format"; in TEST_P() 913 if (!strncmp(trackMime, "audio/", 6)) { in TEST_P() 921 } else if (!strncmp(trackMime, "video/", 6)) { in TEST_P()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 559 const char *trackMime; in CreateSourceForMime() local 560 CHECK(meta->findCString(kKeyMIMEType, &trackMime)); in CreateSourceForMime() 562 if (!strcasecmp(mime, trackMime)) { in CreateSourceForMime()
|