Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaDescrambler.java186 @NonNull MediaCodec.CryptoInfo cryptoInfo) { in descramble() argument
189 if (cryptoInfo.numSubSamples <= 0) { in descramble()
191 "Invalid CryptoInfo: invalid numSubSamples=" + cryptoInfo.numSubSamples); in descramble()
192 } else if (cryptoInfo.numBytesOfClearData == null in descramble()
193 && cryptoInfo.numBytesOfEncryptedData == null) { in descramble()
196 } else if (cryptoInfo.numBytesOfClearData != null in descramble()
197 && cryptoInfo.numBytesOfClearData.length < cryptoInfo.numSubSamples) { in descramble()
200 } else if (cryptoInfo.numBytesOfEncryptedData != null in descramble()
201 && cryptoInfo.numBytesOfEncryptedData.length < cryptoInfo.numSubSamples) { in descramble()
204 } else if (cryptoInfo.key == null || cryptoInfo.key.length != 16) { in descramble()
[all …]
DMediaCodec.java3182 @NonNull MediaCodec.CryptoInfo cryptoInfo) { in setEncryptedLinearBlock() argument
3183 Objects.requireNonNull(cryptoInfo); in setEncryptedLinearBlock()
3193 mCryptoInfo = cryptoInfo; in setEncryptedLinearBlock()
3429 @Nullable CryptoInfo cryptoInfo, in native_queueLinearBlock() argument
/frameworks/base/apex/media/framework/java/android/media/
DMediaParser.java434 @Nullable CryptoInfo cryptoInfo); in onSampleCompleted() argument
1854 CryptoInfo cryptoInfo = new CryptoInfo(); in createNewCryptoInfoAndPopulateWithCryptoData() local
1855 cryptoInfo.key = cryptoData.encryptionKey; in createNewCryptoInfoAndPopulateWithCryptoData()
1856 cryptoInfo.mode = cryptoData.cryptoMode; in createNewCryptoInfoAndPopulateWithCryptoData()
1863 cryptoInfo.setPattern(mLastOutputEncryptionPattern); in createNewCryptoInfoAndPopulateWithCryptoData()
1864 return cryptoInfo; in createNewCryptoInfoAndPopulateWithCryptoData()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2337 NativeCryptoInfo cryptoInfo = [env, cryptoInfoObj, size]{ in android_media_MediaCodec_native_queueLinearBlock() local
2348 cryptoInfo.mSubSamples, cryptoInfo.mNumSubSamples, in android_media_MediaCodec_native_queueLinearBlock()
2349 (const uint8_t *)cryptoInfo.mKey, (const uint8_t *)cryptoInfo.mIv, in android_media_MediaCodec_native_queueLinearBlock()
2350 cryptoInfo.mMode, in android_media_MediaCodec_native_queueLinearBlock()
2351 cryptoInfo.mPattern, in android_media_MediaCodec_native_queueLinearBlock()