/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecListTest.java | 55 CodecType(String type, boolean isEncoder, MediaFormat sampleFormat) { in CodecType() argument 57 mIsEncoder = isEncoder; in CodecType() 81 AudioCodec(String mime, boolean isEncoder, int sampleRate) { in AudioCodec() argument 82 super(mime, isEncoder, MediaFormat.createAudioFormat( in AudioCodec() 88 VideoCodec(String mime, boolean isEncoder) { in VideoCodec() argument 90 super(mime, isEncoder, MediaFormat.createVideoFormat( in VideoCodec() 158 assertEquals(big.isEncoder(), tiny.isEncoder()); in assertEqualsOrSuperset() 182 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testComponentInstantiation() 215 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testGetCapabilities() 306 private boolean codecCanBeFound(boolean isEncoder, MediaFormat format) { in codecCanBeFound() argument [all …]
|
D | MediaCodecCapabilitiesTest.java | 323 String mime, boolean isEncoder, int profile, int level) { in supports() argument 326 if (isEncoder != info.isEncoder()) { in supports() 372 if (info.isEncoder()) { in testHaveAdaptiveVideoDecoderForAllSupportedFormats() 404 if (info.isEncoder()) { in testAllVideoDecodersAreAdaptive() 449 boolean isEncoder = info.isEncoder(); in testSecureCodecsAdvertiseSecurePlayback() 450 if (isEncoder || !info.getName().endsWith(".secure")) { in testSecureCodecsAdvertiseSecurePlayback() 472 boolean isEncoder = info.isEncoder(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 499 format = createReasonableVideoFormat(caps, mime, isEncoder, 176, 144); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 505 isEncoder ? codec.CONFIGURE_FLAG_ENCODE : 0); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() 507 isEncoder ? codec.getInputFormat() : codec.getOutputFormat(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() [all …]
|
D | MediaCodecTest.java | 136 private static MediaCodec createCodecByType(String type, boolean isEncoder) in createCodecByType() argument 138 if (isEncoder) { in createCodecByType() 154 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException() argument 157 if (!supportsCodec(mimeType, isEncoder)) { in verifyException() 158 Log.i(TAG, "No " + (isEncoder ? "encoder" : "decoder") in verifyException() 163 final boolean isVideoEncoder = isEncoder && mimeType.startsWith("video/"); in verifyException() 169 final String methodName = isEncoder ? "createEncoderByType" : "createDecoderByType"; in verifyException() 171 codec = createCodecByType(null, isEncoder); in verifyException() 176 codec = createCodecByType("foobarplan9", isEncoder); // invalid type in verifyException() 186 codec = createCodecByType(format.getString(MediaFormat.KEY_MIME), isEncoder); in verifyException() [all …]
|
D | ResourceManagerTestActivityBase.java | 85 boolean isEncoder = false; in getTestCodecInfo() 89 if (info.isEncoder() != isEncoder) { in getTestCodecInfo()
|
D | VpxCodecTestBase.java | 125 boolean isEncoder, in getVpxCodecProperties() argument 135 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties() 181 + (isEncoder ? "encoder " : "decoder ") + "found for " + format); in getVpxCodecProperties()
|
D | MediaCodecClearKeyPlayer.java | 422 if (info.isEncoder()) { in getSecureDecoderNameForMime()
|
D | ImageReaderDecoderTest.java | 323 if (info.isEncoder() in decoders()
|
D | ExtractDecodeEditEncodeMuxTest.java | 1217 if (!codecInfo.isEncoder()) { in selectCodec()
|
D | VideoEncoderTest.java | 154 if (info.isEncoder()) { in playAll() 1193 if (!info.isEncoder() in encoders()
|
D | MediaRecorderTest.java | 729 if (!info.isEncoder()) { in getCapsForPreferredCodecForMediaType()
|
D | AdaptivePlaybackTest.java | 1430 if (codecInfo.isEncoder()) {
|
D | DecoderTest.java | 2814 if (codecInfo.isEncoder()) {
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 47 store.addResult("encoder", info.isEncoder()); in collectDeviceInfo()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 200 boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in getCodecNames() argument 204 if (info.isEncoder() != isEncoder) { in getCodecNames() 249 int count, boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in verifyNumCodecs() argument 250 String desc = (isEncoder ? "encoders" : "decoders") + " for " in verifyNumCodecs() 256 String[] codecs = getCodecNames(isEncoder, isGoog, formats); in verifyNumCodecs() 474 if (encoder != info.isEncoder()) { in hasCodecForDomain() 495 if (encoder != info.isEncoder()) { in hasCodecForMime()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 614 if (info.isEncoder()) { in doStagefrightTestMediaCodec()
|