/cts/tests/tests/wifi/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 | 262 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/ |
D | VideoDecoderRotationTest.java | 70 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in data() local 71 for (MediaCodecInfo info : mcl.getCodecInfos()) { in data()
|
D | MediaCodecPlayerTestBase.java | 159 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in isResolutionSupported() local 160 if (mcl.findDecoderForFormat(format) == null) { in isResolutionSupported()
|
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() 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()
|
D | EncodeVirtualDisplayTest.java | 190 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()
|
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 | 417 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()
|
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 584 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()
|
D | MediaCodecTunneledPlayer.java | 249 MediaCodecList mcl = new MediaCodecList(MediaCodecList.ALL_CODECS); in addTrack() local 250 String codecName = mcl.findDecoderForFormat(format); in addTrack()
|
D | VideoCodecTest.java | 354 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in internalTestParallelEncodingAndDecoding() local 356 if (mcl.findEncoderForFormat(format) == null) { in internalTestParallelEncodingAndDecoding()
|
D | MediaCodecTest.java | 1877 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()
|
D | VideoEncoderTest.java | 182 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()
|
D | DecodeEditEncodeTest.java | 258 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in selectCodec() local 259 return mcl.findEncoderForFormat(format); in selectCodec()
|
D | HeifWriterTest.java | 252 final MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in testHeicFallbackAvailable() local 255 for (MediaCodecInfo info : mcl.getCodecInfos()) { in testHeicFallbackAvailable()
|
D | ImageReaderDecoderTest.java | 336 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in decoders() local 339 for (MediaCodecInfo info : mcl.getCodecInfos()) { in decoders()
|
D | MediaCodecCapabilitiesTest.java | 362 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in supports() local 363 for (MediaCodecInfo info : mcl.getCodecInfos()) { in supports()
|
D | AdaptivePlaybackTest.java | 1531 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 1532 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) {
|
D | MediaRecorderTest.java | 833 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in getCapsForPreferredCodecForMediaType() local 834 for (MediaCodecInfo info : mcl.getCodecInfos()) { in getCapsForPreferredCodecForMediaType()
|
D | VideoCodecTestBase.java | 133 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/ |
D | RecordingTest.java | 2371 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); 2372 return mcl.findEncoderForFormat(format) != null;
|