Searched refs:hasCodecsForResource (Results 1 – 7 of 7) 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 | VideoViewTest.java | 103 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 105 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource()
|
D | MediaPlayerTest.java | 2465 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMediaDataSource() 2521 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceThrows() 2539 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
|
D | NativeDecoderTest.java | 379 if (!MediaUtils.hasCodecsForResource(mContext, res)) { in testDecoder()
|
D | DecoderTest.java | 230 if (MediaUtils.hasCodecsForResource(mContext, R.raw.monotestgsm)) { in testDecodeMonoGsm()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 501 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils 506 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()
|