/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 247 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/ |
D | ExtractDecodeEditEncodeMuxTest.java | 300 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()
|
D | EncodeVirtualDisplayTest.java | 169 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()
|
D | ResourceManagerTestActivityBase.java | 87 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in getTestCodecInfo() local 88 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getTestCodecInfo()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 546 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()
|
D | EncodeDecodeTest.java | 385 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()
|
D | ClearKeySystemTest.java | 314 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local 315 if (mcl.findDecoderForFormat(format) == null) { in isResolutionSupported()
|
D | MediaCodecTunneledPlayer.java | 245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in addTrack() local 246 String codecName = mcl.findDecoderForFormat(format); in addTrack()
|
D | Vp8EncoderTest.java | 315 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testParallelEncodingAndDecoding() local 317 if (mcl.findEncoderForFormat(format) == null) { in testParallelEncodingAndDecoding()
|
D | MediaCodecCapabilitiesTest.java | 330 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local 331 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
|
D | VideoEncoderTest.java | 151 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()
|
D | DecodeEditEncodeTest.java | 245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local 246 return mcl.findEncoderForFormat(format); in selectCodec()
|
D | ImageReaderDecoderTest.java | 318 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local 321 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
|
D | DecoderTest.java | 1956 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);
|
D | MediaCodecTest.java | 1466 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local 1467 for (MediaCodecInfo info : mcl.getCodecInfos()) { in selectCodec()
|
D | AdaptivePlaybackTest.java | 1426 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 1427 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) {
|
D | Vp8CodecTestBase.java | 132 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/ |
D | MediaUtils.java | 190 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/ |
D | RecordingTest.java | 1465 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 1466 return mcl.findEncoderForFormat(format) != null;
|