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.java49 mCanPlayVideo = MediaUtils.hasCodecsForResource(this, R.raw.colorgrid_video); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTestBase.java149 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource()
DMediaPlayerTest.java2058 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMediaDataSource()
2111 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceThrows()
2128 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
DNativeDecoderTest.java206 if (!MediaUtils.hasCodecsForResource(mContext, res)) { in testDecoder()
DDecoderTest.java183 if (MediaUtils.hasCodecsForResource(mContext, R.raw.monotestgsm)) { in testDecodeMonoGsm()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java104 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java392 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils
397 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()