Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyVideoSourceActivity.java50 mCanPlayVideo = MediaUtils.hasCodecsForResource(this, R.raw.colorgrid_video); in onCreate()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerSurfaceStubActivity.java89 MediaUtils.hasCodecsForResource(FILE_PATH)); in playVideo()
DMediaPlayerTest.java184 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in loadResource()
405 assumeTrue("codecs not found for " + filePath, MediaUtils.hasCodecsForResource(filePath));
2566 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFromAMediaDataSource()
2626 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFailsIfMediaDataSourceThrows()
2646 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java111 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java557 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils
562 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()
565 public static boolean hasCodecsForResource(final String resource) { in hasCodecsForResource() method in MediaUtils
570 return check(hasCodecsForResource(resource), "no decoder found"); in checkCodecsForResource()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DNativeDecoderTest.java167 if (!MediaUtils.hasCodecsForResource(mInpPrefix + res)) { in testDecoder()
DDecoderTest.java309 if (MediaUtils.hasCodecsForResource(mInpPrefix + fileName)) { in testDecodeMonoGsm()