Home
last modified time | relevance | path

Searched refs:mcl (Results 1 – 21 of 21) 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.java277 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in extractDecodeEditEncodeMux() local
294 String videoEncoderName = mcl.findEncoderForFormat(outputVideoFormat); in extractDecodeEditEncodeMux()
309 String audioEncoderName = mcl.findEncoderForFormat(outputAudioFormat); in extractDecodeEditEncodeMux()
345 videoDecoder = createVideoDecoder(mcl, inputFormat, outputSurface.getSurface()); in extractDecodeEditEncodeMux()
358 audioDecoder = createAudioDecoder(mcl, inputFormat); in extractDecodeEditEncodeMux()
538 MediaCodecList mcl, MediaFormat inputFormat, Surface surface) throws IOException { in createVideoDecoder() argument
539 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createVideoDecoder()
574 MediaCodecList mcl, MediaFormat inputFormat) throws IOException { in createAudioDecoder() argument
575 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()
DEncoderTest.java138 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getEncoderNamesForType() local
139 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getEncoderNamesForType()
DResourceManagerTestActivityBase.java87 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in getTestCodecInfo() local
88 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getTestCodecInfo()
DClearKeySystemTest.java311 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local
312 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()
DEncodeVirtualDisplayWithCompositionTest.java1331 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getMaxSupportedEncoderSize() local
1336 if (mcl.findEncoderForFormat(format) != null) { in getMaxSupportedEncoderSize()
1365 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in isConcurrentEncodingDecodingSupported() local
1368 if (mcl.findDecoderForFormat(testFormat) == null in isConcurrentEncodingDecodingSupported()
1369 || 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()
451 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeDecodeVideoFromSurfaceToSurface() local
452 String codec = mcl.findEncoderForFormat(format); in encodeDecodeVideoFromSurfaceToSurface()
DVideoDecoderPerfTest.java84 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getDecoderName() local
86 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getDecoderName()
DVideoEncoderTest.java147 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in playAll() local
148 for (MediaCodecInfo info : mcl.getCodecInfos()) { in playAll()
216 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in initCodecsAndConfigureEncoder() local
217 String videoDecName = mcl.findDecoderForFormat(mDecFormat); in initCodecsAndConfigureEncoder()
1025 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encoders() local
1028 for (MediaCodecInfo info : mcl.getCodecInfos()) { in encoders()
DMediaCodecCapabilitiesTest.java327 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local
328 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
DDecodeEditEncodeTest.java245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local
246 return mcl.findEncoderForFormat(format); in selectCodec()
DDecoderTest.java1272 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in verifySecureVideoDecodeSupport() local
1273 if (mcl.findDecoderForFormat(baseFormat) == null) { in verifySecureVideoDecodeSupport()
1277 assertNotNull("no decoder for " + format, mcl.findDecoderForFormat(format)); in verifySecureVideoDecodeSupport()
1942 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isVideoFeatureSupported() local
1943 String codecName = mcl.findDecoderForFormat(format); in isVideoFeatureSupported()
DImageReaderDecoderTest.java318 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local
321 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
DMediaCodecTest.java1445 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local
1446 for (MediaCodecInfo info : mcl.getCodecInfos()) { in selectCodec()
DAdaptivePlaybackTest.java1405 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
1406 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/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DVideoEncoderDecoderTest.java154 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCodecName() local
155 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCodecName()
179 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCodecName() local
181 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCodecName()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DRecordingTest.java1402 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
1403 return mcl.findEncoderForFormat(format) != null;