Searched refs:cryptoInfo (Results 1 – 4 of 4) sorted by relevance
186 @NonNull MediaCodec.CryptoInfo cryptoInfo) { in descramble() argument189 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 …]
3182 @NonNull MediaCodec.CryptoInfo cryptoInfo) { in setEncryptedLinearBlock() argument3183 Objects.requireNonNull(cryptoInfo); in setEncryptedLinearBlock()3193 mCryptoInfo = cryptoInfo; in setEncryptedLinearBlock()3429 @Nullable CryptoInfo cryptoInfo, in native_queueLinearBlock() argument
434 @Nullable CryptoInfo cryptoInfo); in onSampleCompleted() argument1854 CryptoInfo cryptoInfo = new CryptoInfo(); in createNewCryptoInfoAndPopulateWithCryptoData() local1855 cryptoInfo.key = cryptoData.encryptionKey; in createNewCryptoInfoAndPopulateWithCryptoData()1856 cryptoInfo.mode = cryptoData.cryptoMode; in createNewCryptoInfoAndPopulateWithCryptoData()1863 cryptoInfo.setPattern(mLastOutputEncryptionPattern); in createNewCryptoInfoAndPopulateWithCryptoData()1864 return cryptoInfo; in createNewCryptoInfoAndPopulateWithCryptoData()
2337 NativeCryptoInfo cryptoInfo = [env, cryptoInfoObj, size]{ in android_media_MediaCodec_native_queueLinearBlock() local2348 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()