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/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.java105 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource()
DMediaPlayerTest.java2465 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMediaDataSource()
2521 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceThrows()
2539 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
DNativeDecoderTest.java379 if (!MediaUtils.hasCodecsForResource(mContext, res)) { in testDecoder()
DDecoderTest.java230 if (MediaUtils.hasCodecsForResource(mContext, R.raw.monotestgsm)) { in testDecodeMonoGsm()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java501 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils
506 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()