/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreIntentsTest.java | 73 final String[] mimes = new String[] { local 80 for (String mime : mimes) { 93 final String[] mimes = new String[] { local 98 for (String mime : mimes) { 111 final String[] mimes = new String[] { local 116 for (String mime : mimes) {
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DrmSupportInfoTest.java | 139 Iterator<String> mimes = info.getMimeTypeIterator(); local 140 assertTrue(mimes.hasNext()); 141 String mime = (String) mimes.next();
|
/frameworks/av/media/libstagefright/ |
MediaCodecListOverrides.cpp | 289 Vector<AString> mimes; local 290 info->getSupportedMimes(&mimes); 291 for (size_t i = 0; i < mimes.size(); ++i) { 293 info->getCapabilitiesFor(mimes[i].c_str()); 300 size_t max = doProfileCodecs(info->isEncoder(), name, mimes[i], caps); 309 key.append(mimes[i]); 322 if (info->isEncoder() && mimes[i].startsWith("video/")) { 324 doProfileEncoderInputBuffers(name, mimes[i], caps);
|
MediaCodec.cpp | 364 Vector<AString> mimes; local 365 info->getSupportedMimes(&mimes); 366 for (size_t i = 0; i < mimes.size(); i++) { 367 if (mimes[i].startsWith("video/")) { [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
MediaUtils.java | 487 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { 488 for (String mime : mimes) { 498 public static boolean hasEncoder(String... mimes) { 499 return hasCodecForMimes(true /* encoder */, mimes); 502 public static boolean hasDecoder(String... mimes) { 503 return hasCodecForMimes(false /* encoder */, mimes); 506 public static boolean checkDecoder(String... mimes) { 507 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); 510 public static boolean checkEncoder(String... mimes) { 511 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found") [all...] |
/frameworks/av/media/libmedia/ |
MediaCodecInfo.cpp | 132 void MediaCodecInfo::getSupportedMimes(Vector<AString> *mimes) const { 133 mimes->clear(); 135 mimes->push_back(mCaps.keyAt(ix));
|
/frameworks/av/include/media/ |
MediaCodecInfo.h | 90 void getSupportedMimes(Vector<AString> *mimes) const; 119 * - additional mimes can be added
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 463 String mimes[] = new String[] { MIME_TYPE, MIME_TYPE_AUDIO}; local 464 for (String mime : mimes) { [all...] |