/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 | 277 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()
|
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 | EncoderTest.java | 138 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getEncoderNamesForType() local 139 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getEncoderNamesForType()
|
D | ResourceManagerTestActivityBase.java | 87 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in getTestCodecInfo() local 88 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getTestCodecInfo()
|
D | ClearKeySystemTest.java | 311 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local 312 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 | EncodeVirtualDisplayWithCompositionTest.java | 1331 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()
|
D | EncodeDecodeTest.java | 385 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()
|
D | VideoDecoderPerfTest.java | 84 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getDecoderName() local 86 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getDecoderName()
|
D | VideoEncoderTest.java | 147 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()
|
D | MediaCodecCapabilitiesTest.java | 327 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local 328 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
|
D | DecodeEditEncodeTest.java | 245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local 246 return mcl.findEncoderForFormat(format); in selectCodec()
|
D | DecoderTest.java | 1272 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()
|
D | ImageReaderDecoderTest.java | 318 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local 321 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
|
D | MediaCodecTest.java | 1445 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local 1446 for (MediaCodecInfo info : mcl.getCodecInfos()) { in selectCodec()
|
D | AdaptivePlaybackTest.java | 1405 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 1406 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/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 154 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/ |
D | RecordingTest.java | 1402 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 1403 return mcl.findEncoderForFormat(format) != null;
|