Home
last modified time | relevance | path

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

/cts/tests/tests/wifi/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.java262 MockClassLoader mcl = new MockClassLoader(); in testReadValue() local
268 assertNull(p.readValue(mcl)); in testReadValue()
275 assertEquals("String", p.readValue(mcl)); in testReadValue()
282 assertEquals(Integer.MAX_VALUE, p.readValue(mcl)); in testReadValue()
294 map2 = (HashMap) p.readValue(mcl); in testReadValue()
311 bundle2 = (Bundle) p.readValue(mcl); in testReadValue()
324 assertEquals(s, p.readValue(mcl)); in testReadValue()
331 assertEquals(Short.MAX_VALUE, p.readValue(mcl)); in testReadValue()
338 assertEquals(Long.MAX_VALUE, p.readValue(mcl)); in testReadValue()
345 assertEquals(Float.MAX_VALUE, p.readValue(mcl)); in testReadValue()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DVideoDecoderRotationTest.java70 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in data() local
71 for (MediaCodecInfo info : mcl.getCodecInfos()) { in data()
DMediaCodecPlayerTestBase.java159 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local
160 if (mcl.findDecoderForFormat(format) == null) { in isResolutionSupported()
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()
609 MediaCodecList mcl, MediaFormat inputFormat, Surface surface) throws IOException { in createVideoDecoder() argument
610 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createVideoDecoder()
645 MediaCodecList mcl, MediaFormat inputFormat) throws IOException { in createAudioDecoder() argument
646 MediaCodec decoder = MediaCodec.createByCodecName(mcl.findDecoderForFormat(inputFormat)); in createAudioDecoder()
DEncodeVirtualDisplayTest.java190 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in verifySupportForEncoderLevel() local
195 return mcl.findEncoderForFormat(format) != null; in verifySupportForEncoderLevel()
242 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeVirtualDisplayTest() local
243 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.java417 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeDecodeVideoFromBuffer() local
418 String codec = mcl.findEncoderForFormat(format); in encodeDecodeVideoFromBuffer()
426 String codec_decoder = mcl.findDecoderForFormat(format); in encodeDecodeVideoFromBuffer()
489 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encodeDecodeVideoFromSurfaceToSurface() local
490 String codec = mcl.findEncoderForFormat(format); in encodeDecodeVideoFromSurfaceToSurface()
519 String codec_decoder = mcl.findDecoderForFormat(format); in encodeDecodeVideoFromSurfaceToSurface()
DEncodeVirtualDisplayWithCompositionTestImpl.java584 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in doEncoding() local
586 if ((codecName = mcl.findEncoderForFormat(format)) == null) { in doEncoding()
1441 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getMaxSupportedEncoderSize() local
1459 if (mcl.findEncoderForFormat(format) != null) { in getMaxSupportedEncoderSize()
1494 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in isConcurrentEncodingDecodingSupported() local
1498 if (mcl.findDecoderForFormat(testFormat) == null in isConcurrentEncodingDecodingSupported()
1499 || mcl.findEncoderForFormat(testFormat) == null) { in isConcurrentEncodingDecodingSupported()
DMediaCodecTunneledPlayer.java249 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in addTrack() local
250 String codecName = mcl.findDecoderForFormat(format); in addTrack()
DVideoCodecTest.java354 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in internalTestParallelEncodingAndDecoding() local
356 if (mcl.findEncoderForFormat(format) == null) { in internalTestParallelEncodingAndDecoding()
DMediaCodecTest.java1877 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local
1878 for (MediaCodecInfo info : mcl.getCodecInfos()) { in selectCodec()
2030 final MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in testPCMEncoding() local
2031 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in testPCMEncoding()
2661 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testPrependHeadersToSyncFrames() local
2662 for (MediaCodecInfo info : mcl.getCodecInfos()) { in testPrependHeadersToSyncFrames()
2833 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testVendorParameters() local
2834 for (MediaCodecInfo info : mcl.getCodecInfos()) { in testVendorParameters()
DVideoEncoderTest.java182 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in playAll() local
183 for (MediaCodecInfo info : mcl.getCodecInfos()) { in playAll()
280 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in initCodecsAndConfigureEncoder() local
281 String videoDecName = mcl.findDecoderForFormat(mDecFormat); in initCodecsAndConfigureEncoder()
1238 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in encoders() local
1241 for (MediaCodecInfo info : mcl.getCodecInfos()) { in encoders()
DDecodeEditEncodeTest.java258 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local
259 return mcl.findEncoderForFormat(format); in selectCodec()
DHeifWriterTest.java252 final MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testHeicFallbackAvailable() local
255 for (MediaCodecInfo info : mcl.getCodecInfos()) { in testHeicFallbackAvailable()
DImageReaderDecoderTest.java336 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local
339 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
DMediaCodecCapabilitiesTest.java362 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local
363 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
DAdaptivePlaybackTest.java1531 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
1532 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) {
DMediaRecorderTest.java833 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCapsForPreferredCodecForMediaType() local
834 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCapsForPreferredCodecForMediaType()
DVideoCodecTestBase.java133 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getVideoCodecProperties() local
134 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in getVideoCodecProperties()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java2371 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS);
2372 return mcl.findEncoderForFormat(format) != null;