Home
last modified time | relevance | path

Searched refs:mMime (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerCodecActivity.java42 private String mMime = MediaFormat.MIMETYPE_VIDEO_AVC; field in ResourceManagerCodecActivity
57 mMime = extras.getString("mime", mMime); in onCreate()
126 if (types[j].equalsIgnoreCase(mMime)) { in getCodecInfo()
137 CodecCapabilities caps = info.getCapabilitiesForType(mMime); in createVideoFormat()
150 Log.d(TAG, "Mime: " + mMime + " Resolution: " + mWidth + "x" + mHeight in createVideoFormat()
152 MediaFormat format = MediaFormat.createVideoFormat(mMime, mWidth, mHeight); in createVideoFormat()
DResourceManagerRecorderActivity.java58 private String mMime = MediaFormat.MIMETYPE_VIDEO_AVC; field in ResourceManagerRecorderActivity
77 mMime = extras.getString("mime", mMime); in onCreate()
78 if (mMime.equals(MediaFormat.MIMETYPE_VIDEO_HEVC)) { in onCreate()
236 if (isEncoderSupported(mMime, mVideoWidth, mVideoHeight)) { in recordVideoUsingCamera()
243 + mMime + "," + mVideoWidth + "x" + mVideoHeight in recordVideoUsingCamera()
297 Log.d(TAG, "recordVideoUsingCamera: Starting Recorder with Mime: " + mMime in recordVideoUsingCamera()
DResourceManagerTestActivityBase.java51 private String mMime = MediaFormat.MIMETYPE_VIDEO_AVC; field in ResourceManagerTestActivityBase
109 MediaFormat format = MediaFormat.createVideoFormat(mMime, mWidth, mHeight); in getTestFormat()
157 caps = info.getCapabilitiesForType(mMime); in getDecoderInfo()
194 mMime = extras.getString("mime", mMime); in allocateCodecs()
252 Log.d(TAG, "allocateCodecs(" + mCodecName + ":" + mMime + ":" + mWidth in allocateCodecs()
267 CodecCapabilities caps = info.getCapabilitiesForType(mMime); in allocateCodecs()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DEncoderTest.java90 private final String mMime; field in EncoderTest
180 mMime = mime; in EncoderTest()
188 mFormat.setString(MediaFormat.KEY_MIME, mMime); in setUpFormat()
193 if (mMime.equals(MediaFormat.MIMETYPE_AUDIO_AAC)) { in setUpFormat()
207 assertEquals(mMime, mFormat.getString(MediaFormat.KEY_MIME)); in testEncoders()
DVideoEncoderTest.java969 final private String mMime; field in VideoEncoderTest.EncoderSize
984 mMime = mime; in EncoderSize()
1128 final private String mMime; field in VideoEncoderTest.Encoder
1135 mMime = mime; in Encoder()
1234 Log.i(TAG, "testing " + mMime + " on " + mName + " for " + width + "x" + height in test()
1247 SOURCE_URL, mMime, mName, width, height, optional); in test()
1435 mEncHandle.mMime.equals(MediaFormat.MIMETYPE_VIDEO_AVC) || in detailed()
1436 mEncHandle.mMime.equals(MediaFormat.MIMETYPE_VIDEO_VP8)); in detailed()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java111 public String mMime; field in ImageReaderDecoderTest
121 mMime = mime; in ImageReaderDecoderTest()
231 mMime = mime; in MediaAssets()
236 return mMime; in getMime()
243 private final String mMime; field in ImageReaderDecoderTest.MediaAssets
369 CodecCapabilities caps = info.getCapabilitiesForType(mMime); in decodeTest()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java937 final String mMime; field in MediaCodecTest.ReleaseAfterFlushCallback
951 mMime = mime; in ReleaseAfterFlushCallback()
960 assertTrue("video onInputBufferAvailable " + index, mMime.startsWith("audio/")); in onInputBufferAvailable()
990 inputSurface = initCodecAndSurface(mMime, mEncoder); in run()