Searched refs:hasCodecsForResource (Results 1 – 6 of 6) sorted by relevance
50 mCanPlayVideo = MediaUtils.hasCodecsForResource(this, R.raw.colorgrid_video); in onCreate()
532 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils537 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()540 public static boolean hasCodecsForResource(final String resource) { in hasCodecsForResource() method in MediaUtils545 return check(hasCodecsForResource(resource), "no decoder found"); in checkCodecsForResource()
103 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
116 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in loadResource()
2482 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFromAMediaDataSource()2539 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFailsIfMediaDataSourceThrows()2558 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
398 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testDecoder()