Home
last modified time | relevance | path

Searched refs:cryptoInfo (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmCodecTest.java112 MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo(); in testCryptoError() local
120 cryptoInfo.set( in testCryptoError()
129 codec.queueSecureInputBuffer(index, 0, cryptoInfo, 0, 0); in testCryptoError()
164 MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo(); in testCryptoErrorLostSessionState() local
172 cryptoInfo.set( in testCryptoErrorLostSessionState()
180 codec.queueSecureInputBuffer(index, 0, cryptoInfo, 0, 0); in testCryptoErrorLostSessionState()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderBlockModelDrmTestBase.java113 MediaCodec.CryptoInfo cryptoInfo = null; in enqueueInput() local
115 cryptoInfo = new MediaCodec.CryptoInfo(); in enqueueInput()
116 mExtractor.getSampleCryptoInfo(cryptoInfo); in enqueueInput()
134 if (cryptoInfo != null) { in enqueueInput()
136 mLinearInputBlock.getOffset(), sampleSize, cryptoInfo); in enqueueInput() local
DCodecDecoderMultiAccessUnitDrmTestBase.java143 MediaCodec.CryptoInfo cryptoInfo = null; in enqueueInput() local
145 cryptoInfo = new MediaCodec.CryptoInfo(); in enqueueInput()
146 mExtractor.getSampleCryptoInfo(cryptoInfo); in enqueueInput()
147 cryptoInfos.add(cryptoInfo); in enqueueInput()
DCodecDecoderDrmTestBase.java211 MediaCodec.CryptoInfo cryptoInfo = null; in enqueueInput() local
213 cryptoInfo = new MediaCodec.CryptoInfo(); in enqueueInput()
214 mExtractor.getSampleCryptoInfo(cryptoInfo); in enqueueInput()
231 if (cryptoInfo != null) { in enqueueInput()
232 mCodec.queueSecureInputBuffer(bufferIndex, 0, cryptoInfo, pts, codecFlags); in enqueueInput()
DCodecDecoderBlockModelMultiAccessUnitDrmTestBase.java147 MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo(); in enqueueInput() local
148 mExtractor.getSampleCryptoInfo(cryptoInfo); in enqueueInput()
149 cryptoInfos.add(cryptoInfo); in enqueueInput()
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserOutputConsumer.java132 @Nullable MediaCodec.CryptoInfo cryptoInfo) { in onSampleCompleted() argument
135 mLastOutputCryptoInfo = cryptoInfo; in onSampleCompleted()
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp441 AMediaCodecCryptoInfo *cryptoInfo = in fillDecoder() local
444 if (cryptoInfo) { in fillDecoder()
446 codec, bufferIndex, 0, cryptoInfo, in fillDecoder()
449 AMediaCodecCryptoInfo_delete(cryptoInfo); in fillDecoder()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCasTest.java816 MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo(); in descrambleTestInputBuffer() local
822 cryptoInfo.set(3, numBytesOfClearData, numBytesOfEncryptedData, in descrambleTestInputBuffer()
827 descrambler.descramble(inputBuf, outputBuf, cryptoInfo); in descrambleTestInputBuffer()