Searched refs:hasCodecsForResource (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyVideoSourceActivity.java | 50 mCanPlayVideo = MediaUtils.hasCodecsForResource(this, R.raw.colorgrid_video); in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | VideoView2Test.java | 129 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
|
D | VideoViewTest.java | 106 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayer2TestBase.java | 325 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource() 351 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in createDataSourceDesc()
|
D | MediaPlayerTestBase.java | 105 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource()
|
D | MediaPlayer2Test.java | 2115 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMedia2DataSource() 2231 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMedia2DataSourceThrows() 2268 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMedia2DataSourceReturnsAnError()
|
D | MediaPlayerTest.java | 2416 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMediaDataSource() 2469 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceThrows() 2486 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
|
D | NativeDecoderTest.java | 269 if (!MediaUtils.hasCodecsForResource(mContext, res)) { in testDecoder()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 421 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils 426 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()
|