Searched refs:mediaTypes (Results 1 – 6 of 6) sorted by relevance
122 Vector<AString> mediaTypes; in TEST() local123 info->getSupportedMediaTypes(&mediaTypes); in TEST()124 ALOGV("supported media types count: %zu", mediaTypes.size()); in TEST()125 ASSERT_FALSE(mediaTypes.isEmpty()) in TEST()129 for (auto mediaType : mediaTypes) { in TEST()
230 Vector<AString> mediaTypes; in profileCodecs() local231 info->getSupportedMediaTypes(&mediaTypes); in profileCodecs()232 for (size_t i = 0; i < mediaTypes.size(); ++i) { in profileCodecs()234 info->getCapabilitiesFor(mediaTypes[i].c_str()); in profileCodecs()241 size_t max = doProfileCodecs(info->isEncoder(), name, mediaTypes[i], caps); in profileCodecs()250 key.append(mediaTypes[i]); in profileCodecs()
1627 Vector<AString> mediaTypes; in init() local1628 mCodecInfo->getSupportedMediaTypes(&mediaTypes); in init()1629 for (size_t i = 0; i < mediaTypes.size(); ++i) { in init()1630 if (mediaTypes[i].startsWith("video/")) { in init()1633 } else if (mediaTypes[i].startsWith("audio/")) { in init()1636 } else if (mediaTypes[i].startsWith("image/")) { in init()
157 void MediaCodecInfo::getSupportedMediaTypes(Vector<AString> *mediaTypes) const { in getSupportedMediaTypes()158 mediaTypes->clear(); in getSupportedMediaTypes()160 mediaTypes->push_back(mCaps.keyAt(ix)); in getSupportedMediaTypes()
193 void getSupportedMediaTypes(Vector<AString> *mediaTypes) const;
904 Vector<AString> mediaTypes; in getCodecInfo() local905 codecInfo->getSupportedMediaTypes(&mediaTypes); in getCodecInfo()908 env->NewObjectArray(mediaTypes.size(), gCodecInfo.capsClazz, NULL)); in getCodecInfo()910 for (size_t i = 0; i < mediaTypes.size(); i++) { in getCodecInfo()912 codecInfo->getCapabilitiesFor(mediaTypes[i].c_str()); in getCodecInfo()915 env, mediaTypes[i].c_str(), isEncoder, caps)); in getCodecInfo()