Searched refs:crypto (Results 1 - 17 of 17) 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) {
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 = MakeCrypto(); local
114 if (crypto
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.cpp115 const sp<ICrypto> &crypto,
124 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags);
385 sp<ICrypto> crypto; local
387 crypto = JCrypto::GetCrypto(env, jcrypto);
390 err = codec->configure(format, surfaceTexture, crypto, flags);
112 configure( const sp<AMessage> &format, const sp<ISurfaceTexture> &surfaceTexture, 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/media/java/android/media/
H A DMediaCodec.java231 * @param crypto Specify a crypto object to facilitate secure decryption
238 Surface surface, MediaCrypto crypto, int flags) {
256 native_configure(keys, values, surface, crypto, flags);
261 Surface surface, MediaCrypto crypto, int flags);
322 * @throws CryptoException if a crypto object has been specified in
236 configure( MediaFormat format, Surface surface, MediaCrypto crypto, int flags) argument
259 native_configure( String[] keys, Object[] values, Surface surface, MediaCrypto crypto, int flags) argument
/frameworks/base/keystore/java/android/security/
H A DSystemKeyStore.java30 import javax.crypto.KeyGenerator;
31 import javax.crypto.SecretKey;
/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.cpp229 sp<ICrypto> crypto = makeCrypto(); local
230 reply->writeStrongBinder(crypto->asBinder());
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp136 const sp<ICrypto> &crypto,
149 if (crypto != NULL) {
150 msg->setPointer("crypto", crypto.get());
851 void *crypto; local
852 if (!msg->findPointer("crypto", &crypto)) {
853 crypto = NULL;
856 mCrypto = static_cast<ICrypto *>(crypto);
133 configure( const sp<AMessage> &format, const sp<SurfaceTextureClient> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h56 const sp<ICrypto> &crypto,
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java63 import javax.crypto.Cipher;
64 import javax.crypto.CipherInputStream;
65 import javax.crypto.Mac;
66 import javax.crypto.NoSuchPaddingException;
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java122 import javax.crypto.BadPaddingException;
123 import javax.crypto.Cipher;
124 import javax.crypto.CipherInputStream;
125 import javax.crypto.CipherOutputStream;
126 import javax.crypto.IllegalBlockSizeException;
127 import javax.crypto.NoSuchPaddingException;
128 import javax.crypto.SecretKey;
129 import javax.crypto.SecretKeyFactory;
130 import javax.crypto.spec.IvParameterSpec;
131 import javax.crypto
[all...]
H A DMountService.java91 import javax.crypto.SecretKey;
92 import javax.crypto.SecretKeyFactory;
93 import javax.crypto.spec.PBEKeySpec;
212 * 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;

Completed in 179 milliseconds