Home
last modified time | relevance | path

Searched refs:hasCodecsForResource (Results 1 – 9 of 9) 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/
DVideoView2Test.java129 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
DVideoViewTest.java106 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayer2TestBase.java325 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource()
351 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in createDataSourceDesc()
DMediaPlayerTestBase.java105 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource()
DMediaPlayer2Test.java2115 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMedia2DataSource()
2231 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMedia2DataSourceThrows()
2268 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMedia2DataSourceReturnsAnError()
DMediaPlayerTest.java2416 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMediaDataSource()
2469 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceThrows()
2486 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
DNativeDecoderTest.java269 if (!MediaUtils.hasCodecsForResource(mContext, res)) { in testDecoder()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java421 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils
426 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()