Home
last modified time | relevance | path

Searched refs:mCodecs (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerCodecActivity.java43 private ArrayList<MediaCodec> mCodecs = new ArrayList<MediaCodec>(); field in ResourceManagerCodecActivity
199 Log.d(TAG, "allocateCodecs returned " + mCodecs.size()); in allocateCodecs()
200 return mCodecs.size(); in allocateCodecs()
206 max += mCodecs.size(); in allocateCodecs()
209 for (int i = mCodecs.size(); i < max; ++i) { in allocateCodecs()
218 mCodecs.add(codec); in allocateCodecs()
240 for (int i = 0; i < mCodecs.size(); ++i) { in finishWithResult()
242 mCodecs.get(i).release(); in finishWithResult()
244 mCodecs.clear(); in finishWithResult()
253 for (current = 0; current < mCodecs.size(); ++current) { in doUseCodecs()
[all …]
DResourceManagerTestActivityBase.java54 private ArrayList<MediaCodec> mCodecs = new ArrayList<MediaCodec>(); field in ResourceManagerTestActivityBase
253 + "x" + mHeight + ") returned " + mCodecs.size()); in allocateCodecs()
254 return mCodecs.size(); in allocateCodecs()
274 for (int i = mCodecs.size(); i < max; ++i) { in allocateCodecs()
305 mCodecs.add(codec); in allocateCodecs()
321 mFirstMediaCodec = mCodecs.get(0); in allocateCodecs()
351 for (int i = 0; i < mCodecs.size(); ++i) { in finishWithResult()
352 Log.d(TAG, "release codec #" + i + " : " + mCodecs.get(i).toString()); in finishWithResult()
353 mCodecs.get(i).release(); in finishWithResult()
355 mCodecs.clear(); in finishWithResult()
[all …]
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DAdaptivePlaybackTest.java91 public CodecList mCodecs; field in AdaptivePlaybackTest
292 ex(mCodecs, adaptiveEarlyEos); in test_adaptiveEarlyEos()
297 ex(mCodecs, adaptiveEosFlushSeek); in test_adaptiveEosFlushSeek()
302 ex(mCodecs, adaptiveSkipAhead); in test_adaptiveSkipAhead()
307 ex(mCodecs, adaptiveSkipBack); in test_adaptiveSkipBack()
312 ex(mCodecs, adaptiveReconfigDrc); in test_adaptiveReconfigDrc()
317 ex(mCodecs, adaptiveSmallReconfigDrc); in test_adaptiveSmallReconfigDrc()
322 ex(mCodecs, adaptiveDrc); in test_adaptiveDrc()
327 String mime = mCodecs.get(0).mediaList[0].getMime(); in test_AdaptiveDrcEarlyEosTest()
330 ex(mCodecs, new AdaptiveDrcEarlyEosTest()); in test_AdaptiveDrcEarlyEosTest()
[all …]