Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DMulticastLockTest.java39 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/
DParcelTest.java261 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/
DExtractDecodeEditEncodeMuxTest.java302 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()
DMediaCodecPlayerTestBase.java159 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local
160 if (mcl.findDecoderForFormat(format) == null) { in isResolutionSupported()
DEncodeVirtualDisplayTest.java173 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()
DResourceManagerTestActivityBase.java87 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in getTestCodecInfo() local
88 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getTestCodecInfo()
DEncodeDecodeTest.java412 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()
DMediaCodecTunneledPlayer.java245 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in addTrack() local
246 String codecName = mcl.findDecoderForFormat(format); in addTrack()
DEncodeVirtualDisplayWithCompositionTest.java654 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()
DVpxEncoderTest.java330 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in internalTestParallelEncodingAndDecoding() local
332 if (mcl.findEncoderForFormat(format) == null) { in internalTestParallelEncodingAndDecoding()
DVideoEncoderTest.java157 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()
DMediaCodecTest.java1693 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()
DDecodeEditEncodeTest.java246 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local
247 return mcl.findEncoderForFormat(format); in selectCodec()
DHeifWriterTest.java229 final MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testHeicFallbackAvailable() local
232 for (MediaCodecInfo info : mcl.getCodecInfos()) { in testHeicFallbackAvailable()
DMediaCodecCapabilitiesTest.java360 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local
361 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
DImageReaderDecoderTest.java322 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local
325 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
DDecoderTest.java2416 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);
DMediaRecorderTest.java802 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCapsForPreferredCodecForMediaType() local
803 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCapsForPreferredCodecForMediaType()
DVpxCodecTestBase.java129 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getVpxCodecProperties() local
130 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in getVpxCodecProperties()
DAdaptivePlaybackTest.java1482 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
1483 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) {
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java209 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/
DRecordingTest.java2081 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
2082 return mcl.findEncoderForFormat(format) != null;