/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecCapabilitiesTest.java | 329 String mime, boolean isEncoder, int profile, int level) { in supports() argument 332 if (isEncoder != info.isEncoder()) { in supports() 378 if (info.isEncoder()) { in testHaveAdaptiveVideoDecoderForAllSupportedFormats() 410 if (info.isEncoder()) { in testAllVideoDecodersAreAdaptive() 455 boolean isEncoder = info.isEncoder(); in testSecureCodecsAdvertiseSecurePlayback() 456 if (isEncoder || !info.getName().endsWith(".secure")) { in testSecureCodecsAdvertiseSecurePlayback() 478 boolean isEncoder = info.isEncoder(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 505 format = createReasonableVideoFormat(caps, mime, isEncoder, 176, 144); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 511 isEncoder ? codec.CONFIGURE_FLAG_ENCODE : 0); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 513 isEncoder ? codec.getInputFormat() : codec.getOutputFormat(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() [all …]
|
D | MediaCodecListTest.java | 53 CodecType(String type, boolean isEncoder, MediaFormat sampleFormat) { in CodecType() argument 55 mIsEncoder = isEncoder; in CodecType() 79 AudioCodec(String mime, boolean isEncoder, int sampleRate) { in AudioCodec() argument 80 super(mime, isEncoder, MediaFormat.createAudioFormat( in AudioCodec() 86 VideoCodec(String mime, boolean isEncoder) { in VideoCodec() argument 88 super(mime, isEncoder, MediaFormat.createVideoFormat( in VideoCodec() 153 assertEquals(big.isEncoder(), tiny.isEncoder()); in assertEqualsOrSuperset() 177 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testComponentInstantiation() 210 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testGetCapabilities() 301 private boolean codecCanBeFound(boolean isEncoder, MediaFormat format) { in codecCanBeFound() argument [all …]
|
D | MediaCodecTest.java | 120 private static MediaCodec createCodecByType(String type, boolean isEncoder) in createCodecByType() argument 122 if (isEncoder) { in createCodecByType() 138 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException() argument 141 if (!supportsCodec(mimeType, isEncoder)) { in verifyException() 142 Log.i(TAG, "No " + (isEncoder ? "encoder" : "decoder") in verifyException() 151 final String methodName = isEncoder ? "createEncoderByType" : "createDecoderByType"; in verifyException() 153 codec = createCodecByType(null, isEncoder); in verifyException() 158 codec = createCodecByType("foobarplan9", isEncoder); // invalid type in verifyException() 168 codec = createCodecByType(format.getString(MediaFormat.KEY_MIME), isEncoder); in verifyException() 215 isEncoder ? 0 : MediaCodec.CONFIGURE_FLAG_ENCODE /* flags */); in verifyException() [all …]
|
D | ResourceManagerTestActivityBase.java | 85 boolean isEncoder = false; in getTestCodecInfo() 89 if (info.isEncoder() != isEncoder) { in getTestCodecInfo()
|
D | Vp8CodecTestBase.java | 124 boolean isEncoder, in getVpxCodecProperties() argument 134 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties() 180 + (isEncoder ? "encoder " : "decoder ") + "found for " + format); in getVpxCodecProperties()
|
D | MediaCodecClearKeyPlayer.java | 361 if (info.isEncoder()) { in getSecureDecoderNameForMime()
|
D | ImageReaderDecoderTest.java | 322 if (info.isEncoder() in decoders()
|
D | ExtractDecodeEditEncodeMuxTest.java | 1217 if (!codecInfo.isEncoder()) { in selectCodec()
|
D | VideoEncoderTest.java | 153 if (info.isEncoder()) { in playAll() 1158 if (!info.isEncoder() in encoders()
|
D | AdaptivePlaybackTest.java | 1428 if (codecInfo.isEncoder()) {
|
D | DecoderTest.java | 2726 if (codecInfo.isEncoder()) {
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 189 boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in getCodecNames() argument 193 if (info.isEncoder() != isEncoder) { in getCodecNames() 238 int count, boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in verifyNumCodecs() argument 239 String desc = (isEncoder ? "encoders" : "decoders") + " for " in verifyNumCodecs() 245 String[] codecs = getCodecNames(isEncoder, isGoog, formats); in verifyNumCodecs() 452 if (encoder != info.isEncoder()) { in hasCodecForDomain() 473 if (encoder != info.isEncoder()) { in hasCodecForMime()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 47 store.addResult("encoder", info.isEncoder()); in collectDeviceInfo()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 359 if (info.isEncoder()) { in doStagefrightTestMediaCodec()
|