Searched refs:hasCodecsForResource (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyVideoSourceActivity.java | 49 mCanPlayVideo = MediaUtils.hasCodecsForResource(this, R.raw.colorgrid_video); in onCreate()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 149 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in loadResource()
|
D | MediaPlayerTest.java | 2058 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFromAMediaDataSource() 2111 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceThrows() 2128 if (!MediaUtils.hasCodecsForResource(mContext, resid)) { in testPlaybackFailsIfMediaDataSourceReturnsAnError()
|
D | NativeDecoderTest.java | 206 if (!MediaUtils.hasCodecsForResource(mContext, res)) { in testDecoder()
|
D | DecoderTest.java | 183 if (MediaUtils.hasCodecsForResource(mContext, R.raw.monotestgsm)) { in testDecodeMonoGsm()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | VideoViewTest.java | 104 return MediaUtils.hasCodecsForResource(mActivity, R.raw.testvideo); in hasCodec()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 392 public static boolean hasCodecsForResource(Context context, int resourceId) { in hasCodecsForResource() method in MediaUtils 397 return check(hasCodecsForResource(context, resourceId), "no decoder found"); in checkCodecsForResource()
|