/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | MulticastLockTest.java | 39 MulticastLock mcl = wm.createMulticastLock(WIFI_TAG); in testMulticastLock() local 41 mcl.setReferenceCounted(true); in testMulticastLock() 42 assertFalse(mcl.isHeld()); in testMulticastLock() 43 mcl.acquire(); in testMulticastLock() 44 assertTrue(mcl.isHeld()); in testMulticastLock() 45 mcl.release(); in testMulticastLock() 46 assertFalse(mcl.isHeld()); in testMulticastLock() 47 mcl.acquire(); in testMulticastLock() 48 mcl.acquire(); in testMulticastLock() 49 assertTrue(mcl.isHeld()); in testMulticastLock() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 261 MockClassLoader mcl = new MockClassLoader(); in testReadValue() local 267 assertNull(p.readValue(mcl)); in testReadValue() 274 assertEquals("String", p.readValue(mcl)); in testReadValue() 281 assertEquals(Integer.MAX_VALUE, p.readValue(mcl)); in testReadValue() 293 map2 = (HashMap) p.readValue(mcl); in testReadValue() 310 bundle2 = (Bundle) p.readValue(mcl); in testReadValue() 323 assertEquals(s, p.readValue(mcl)); in testReadValue() 330 assertEquals(Short.MAX_VALUE, p.readValue(mcl)); in testReadValue() 337 assertEquals(Long.MAX_VALUE, p.readValue(mcl)); in testReadValue() 344 assertEquals(Float.MAX_VALUE, p.readValue(mcl)); in testReadValue() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExtractDecodeEditEncodeMuxTest.java | 302 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in extractDecodeEditEncodeMux() local 319 String videoEncoderName = mcl.findEncoderForFormat(outputVideoFormat); in extractDecodeEditEncodeMux() 335 String audioEncoderName = mcl.findEncoderForFormat(outputAudioFormat); in extractDecodeEditEncodeMux() 371 videoDecoder = createVideoDecoder(mcl, inputFormat, outputSurface.getSurface()); in extractDecodeEditEncodeMux() 384 audioDecoder = createAudioDecoder(mcl, inputFormat); in extractDecodeEditEncodeMux() 601 MediaCodecList mcl, MediaFormat inputFormat, Surface surface) throws IOException { in createVideoDecoder() argument 602 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createVideoDecoder() 637 MediaCodecList mcl, MediaFormat inputFormat) throws IOException { in createAudioDecoder() argument 638 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createAudioDecoder()
|
D | MediaCodecPlayerTestBase.java | 159 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local 160 if (mcl.findDecoderForFormat(format) == null) { in isResolutionSupported()
|
D | EncodeVirtualDisplayTest.java | 173 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in verifySupportForEncoderLevel() local 178 return mcl.findEncoderForFormat(format) != null; in verifySupportForEncoderLevel() 222 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeVirtualDisplayTest() local 223 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 | EncodeDecodeTest.java | 412 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeDecodeVideoFromBuffer() local 413 String codec = mcl.findEncoderForFormat(format); in encodeDecodeVideoFromBuffer() 421 String codec_decoder = mcl.findDecoderForFormat(format); in encodeDecodeVideoFromBuffer() 484 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeDecodeVideoFromSurfaceToSurface() local 485 String codec = mcl.findEncoderForFormat(format); in encodeDecodeVideoFromSurfaceToSurface() 508 String codec_decoder = mcl.findDecoderForFormat(format); in encodeDecodeVideoFromSurfaceToSurface()
|
D | MediaCodecTunneledPlayer.java | 245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in addTrack() local 246 String codecName = mcl.findDecoderForFormat(format); in addTrack()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 654 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in doEncoding() local 656 if ((codecName = mcl.findEncoderForFormat(format)) == null) { in doEncoding() 1507 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getMaxSupportedEncoderSize() local 1525 if (mcl.findEncoderForFormat(format) != null) { in getMaxSupportedEncoderSize() 1554 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in isConcurrentEncodingDecodingSupported() local 1558 if (mcl.findDecoderForFormat(testFormat) == null in isConcurrentEncodingDecodingSupported() 1559 || mcl.findEncoderForFormat(testFormat) == null) { in isConcurrentEncodingDecodingSupported()
|
D | VpxEncoderTest.java | 330 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in internalTestParallelEncodingAndDecoding() local 332 if (mcl.findEncoderForFormat(format) == null) { in internalTestParallelEncodingAndDecoding()
|
D | VideoEncoderTest.java | 157 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in playAll() local 158 for (MediaCodecInfo info : mcl.getCodecInfos()) { in playAll() 253 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in initCodecsAndConfigureEncoder() local 254 String videoDecName = mcl.findDecoderForFormat(mDecFormat); in initCodecsAndConfigureEncoder() 1194 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encoders() local 1197 for (MediaCodecInfo info : mcl.getCodecInfos()) { in encoders()
|
D | MediaCodecTest.java | 1693 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local 1694 for (MediaCodecInfo info : mcl.getCodecInfos()) { in selectCodec() 1830 final MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in testPCMEncoding() local 1831 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in testPCMEncoding() 2461 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testPrependHeadersToSyncFrames() local 2462 for (MediaCodecInfo info : mcl.getCodecInfos()) { in testPrependHeadersToSyncFrames()
|
D | DecodeEditEncodeTest.java | 246 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local 247 return mcl.findEncoderForFormat(format); in selectCodec()
|
D | HeifWriterTest.java | 229 final MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testHeicFallbackAvailable() local 232 for (MediaCodecInfo info : mcl.getCodecInfos()) { in testHeicFallbackAvailable()
|
D | MediaCodecCapabilitiesTest.java | 360 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local 361 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
|
D | ImageReaderDecoderTest.java | 322 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local 325 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
|
D | DecoderTest.java | 2416 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); 2417 if (mcl.findDecoderForFormat(baseFormat) == null) { 2421 assertNotNull("no decoder for " + format, mcl.findDecoderForFormat(format)); 3134 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); 3135 String codecName = mcl.findDecoderForFormat(format);
|
D | MediaRecorderTest.java | 802 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCapsForPreferredCodecForMediaType() local 803 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCapsForPreferredCodecForMediaType()
|
D | VpxCodecTestBase.java | 129 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getVpxCodecProperties() local 130 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in getVpxCodecProperties()
|
D | AdaptivePlaybackTest.java | 1482 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 1483 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) {
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 209 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCodecNames() local 211 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCodecNames()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 2081 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 2082 return mcl.findEncoderForFormat(format) != null;
|