Home
last modified time | relevance | path

Searched refs:mcl (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java247 MockClassLoader mcl = new MockClassLoader(); in testReadValue() local
253 assertNull(p.readValue(mcl)); in testReadValue()
260 assertEquals("String", p.readValue(mcl)); in testReadValue()
267 assertEquals(Integer.MAX_VALUE, p.readValue(mcl)); in testReadValue()
279 map2 = (HashMap) p.readValue(mcl); in testReadValue()
296 bundle2 = (Bundle) p.readValue(mcl); in testReadValue()
309 assertEquals(s, p.readValue(mcl)); in testReadValue()
316 assertEquals(Short.MAX_VALUE, p.readValue(mcl)); in testReadValue()
323 assertEquals(Long.MAX_VALUE, p.readValue(mcl)); in testReadValue()
330 assertEquals(Float.MAX_VALUE, p.readValue(mcl)); in testReadValue()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DExtractDecodeEditEncodeMuxTest.java300 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in extractDecodeEditEncodeMux() local
317 String videoEncoderName = mcl.findEncoderForFormat(outputVideoFormat); in extractDecodeEditEncodeMux()
333 String audioEncoderName = mcl.findEncoderForFormat(outputAudioFormat); in extractDecodeEditEncodeMux()
369 videoDecoder = createVideoDecoder(mcl, inputFormat, outputSurface.getSurface()); in extractDecodeEditEncodeMux()
382 audioDecoder = createAudioDecoder(mcl, inputFormat); in extractDecodeEditEncodeMux()
599 MediaCodecList mcl, MediaFormat inputFormat, Surface surface) throws IOException { in createVideoDecoder() argument
600 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createVideoDecoder()
635 MediaCodecList mcl, MediaFormat inputFormat) throws IOException { in createAudioDecoder() argument
636 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createAudioDecoder()
DEncodeVirtualDisplayTest.java169 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in verifySupportForEncoderLevel() local
174 return mcl.findEncoderForFormat(format) != null; in verifySupportForEncoderLevel()
218 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeVirtualDisplayTest() local
219 String codec = mcl.findEncoderForFormat(encoderFormat); in encodeVirtualDisplayTest()
DResourceManagerTestActivityBase.java87 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in getTestCodecInfo() local
88 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getTestCodecInfo()
DEncodeVirtualDisplayWithCompositionTest.java546 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in doEncoding() local
548 if ((codecName = mcl.findEncoderForFormat(format)) == null) { in doEncoding()
1338 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getMaxSupportedEncoderSize() local
1343 if (mcl.findEncoderForFormat(format) != null) { in getMaxSupportedEncoderSize()
1372 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in isConcurrentEncodingDecodingSupported() local
1375 if (mcl.findDecoderForFormat(testFormat) == null in isConcurrentEncodingDecodingSupported()
1376 || mcl.findEncoderForFormat(testFormat) == null) { in isConcurrentEncodingDecodingSupported()
DEncodeDecodeTest.java385 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeDecodeVideoFromBuffer() local
386 String codec = mcl.findEncoderForFormat(format); in encodeDecodeVideoFromBuffer()
394 String codec_decoder = mcl.findDecoderForFormat(format); in encodeDecodeVideoFromBuffer()
457 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeDecodeVideoFromSurfaceToSurface() local
458 String codec = mcl.findEncoderForFormat(format); in encodeDecodeVideoFromSurfaceToSurface()
481 String codec_decoder = mcl.findDecoderForFormat(format); in encodeDecodeVideoFromSurfaceToSurface()
DClearKeySystemTest.java314 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local
315 if (mcl.findDecoderForFormat(format) == null) { in isResolutionSupported()
DMediaCodecTunneledPlayer.java245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in addTrack() local
246 String codecName = mcl.findDecoderForFormat(format); in addTrack()
DVp8EncoderTest.java315 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testParallelEncodingAndDecoding() local
317 if (mcl.findEncoderForFormat(format) == null) { in testParallelEncodingAndDecoding()
DMediaCodecCapabilitiesTest.java330 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local
331 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
DVideoEncoderTest.java151 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in playAll() local
152 for (MediaCodecInfo info : mcl.getCodecInfos()) { in playAll()
246 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in initCodecsAndConfigureEncoder() local
247 String videoDecName = mcl.findDecoderForFormat(mDecFormat); in initCodecsAndConfigureEncoder()
1154 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encoders() local
1157 for (MediaCodecInfo info : mcl.getCodecInfos()) { in encoders()
DDecodeEditEncodeTest.java245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local
246 return mcl.findEncoderForFormat(format); in selectCodec()
DImageReaderDecoderTest.java318 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local
321 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
DDecoderTest.java1956 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS);
1957 if (mcl.findDecoderForFormat(baseFormat) == null) {
1961 assertNotNull("no decoder for " + format, mcl.findDecoderForFormat(format));
2645 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS);
2646 String codecName = mcl.findDecoderForFormat(format);
DMediaCodecTest.java1466 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local
1467 for (MediaCodecInfo info : mcl.getCodecInfos()) { in selectCodec()
DAdaptivePlaybackTest.java1426 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
1427 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) {
DVp8CodecTestBase.java132 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getVpxCodecProperties() local
133 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in getVpxCodecProperties()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java190 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCodecNames() local
192 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCodecNames()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java1465 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
1466 return mcl.findEncoderForFormat(format) != null;