Home
last modified time | relevance | path

Searched refs:hasCodecsForResource (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyVideoSourceActivity.java50 mCanPlayVideo = MediaUtils.hasCodecsForResource(this, R.raw.colorgrid_video); in onCreate()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java532 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils
537 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()
540 public static boolean hasCodecsForResource(final String resource) { in hasCodecsForResource() method in MediaUtils
545 return check(hasCodecsForResource(resource), "no decoder found"); in checkCodecsForResource()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java103 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTestBase.java116 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in loadResource()
DMediaPlayerTest.java2482 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFromAMediaDataSource()
2539 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFailsIfMediaDataSourceThrows()
2558 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
DNativeDecoderTest.java398 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testDecoder()