Searched refs:crypto (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp75 sp<ICrypto> crypto = service->makeCrypto(); local
77 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) {
81 return crypto;
87 sp<ICrypto> crypto = MakeCrypto(); local
89 if (crypto == NULL) {
93 status_t err = crypto->createPlugin(uuid, initData, initSize);
99 return crypto;
112 sp<ICrypto> crypto local
147 setCrypto( JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) argument
197 sp<JCrypto> crypto = new JCrypto( local
256 sp<JCrypto> crypto = getCrypto(env, thiz); local
[all...]
H A Dandroid_media_MediaCodec.h47 const sp<ICrypto> &crypto,
H A Dandroid_media_MediaCodec.cpp121 const sp<ICrypto> &crypto,
130 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags);
456 sp<ICrypto> crypto; local
458 crypto = JCrypto::GetCrypto(env, jcrypto);
461 err = codec->configure(format, bufferProducer, crypto, flags);
118 configure( const sp<AMessage> &format, const sp<IGraphicBufferProducer> &bufferProducer, const sp<ICrypto> &crypto, int flags) argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java24 import javax.crypto.Mac;
25 import javax.crypto.SecretKey;
26 import javax.crypto.spec.SecretKeySpec;
H A DContainerEncryptionParamsTest.java24 import javax.crypto.SecretKey;
25 import javax.crypto.spec.IvParameterSpec;
26 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java23 import javax.crypto.Mac;
H A DContainerEncryptionParams.java28 import javax.crypto.SecretKey;
29 import javax.crypto.spec.IvParameterSpec;
/frameworks/base/keystore/java/android/security/
H A DSystemKeyStore.java30 import javax.crypto.KeyGenerator;
31 import javax.crypto.SecretKey;
/frameworks/base/media/java/android/media/
H A DMediaCodec.java237 * @param crypto Specify a crypto object to facilitate secure decryption
244 Surface surface, MediaCrypto crypto, int flags) {
262 native_configure(keys, values, surface, crypto, flags);
267 Surface surface, MediaCrypto crypto, int flags);
300 * Thrown when a crypto error occurs while queueing a secure input buffer.
321 * This indicates that a required crypto resource was not able to be
361 * @throws CryptoException if a crypto object has been specified in
242 configure( MediaFormat format, Surface surface, MediaCrypto crypto, int flags) argument
265 native_configure( String[] keys, Object[] values, Surface surface, MediaCrypto crypto, int flags) argument
/frameworks/base/tools/obbtool/
H A Dmkobb.sh53 if ! egrep -q "name\s*:\s*${CRYPTO}$" /proc/crypto; then \
54 echo "ERROR: Could not find crypto \`${CRYPTO}' in the kernel."
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp282 sp<ICrypto> crypto = makeCrypto(); local
283 reply->writeStrongBinder(crypto->asBinder());
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h56 const sp<ICrypto> &crypto,
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java65 import javax.crypto.Cipher;
66 import javax.crypto.CipherInputStream;
67 import javax.crypto.Mac;
68 import javax.crypto.NoSuchPaddingException;
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp159 const sp<ICrypto> &crypto,
172 if (crypto != NULL) {
173 msg->setPointer("crypto", crypto.get());
993 void *crypto; local
994 if (!msg->findPointer("crypto", &crypto)) {
995 crypto = NULL;
998 mCrypto = static_cast<ICrypto *>(crypto);
156 configure( const sp<AMessage> &format, const sp<Surface> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java126 import javax.crypto.BadPaddingException;
127 import javax.crypto.Cipher;
128 import javax.crypto.CipherInputStream;
129 import javax.crypto.CipherOutputStream;
130 import javax.crypto.IllegalBlockSizeException;
131 import javax.crypto.NoSuchPaddingException;
132 import javax.crypto.SecretKey;
133 import javax.crypto.SecretKeyFactory;
134 import javax.crypto.spec.IvParameterSpec;
135 import javax.crypto
[all...]
H A DMountService.java97 import javax.crypto.SecretKey;
98 import javax.crypto.SecretKeyFactory;
99 import javax.crypto.spec.PBEKeySpec;
227 * The size of the crypto algorithm key in bits for OBB files. Currently
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java58 import javax.crypto.SecretKey;
59 import javax.crypto.spec.IvParameterSpec;
60 import javax.crypto.spec.SecretKeySpec;
/frameworks/base/keystore/tests/src/android/security/
H A DAndroidKeyStoreTest.java60 import javax.crypto.Cipher;
61 import javax.crypto.SecretKey;
62 import javax.crypto.spec.SecretKeySpec;

Completed in 477 milliseconds