/frameworks/av/media/libmedia/ |
H A D | IMediaDrmService.cpp | 71 sp<ICrypto> crypto = makeCrypto(); local 72 reply->writeStrongBinder(IInterface::asBinder(crypto));
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 48 sp<ICrypto> crypto = service->makeCrypto(); local 49 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { 52 return crypto; 65 sp<ICrypto> crypto = makeCrypto(); local 66 if (crypto == NULL) { 69 return crypto->isCryptoSchemeSupported(uuid); 74 sp<ICrypto> crypto = makeCrypto(); local 75 if (crypto 93 AMediaCrypto *crypto = new AMediaCrypto(); local 100 AMediaCrypto_delete(AMediaCrypto* crypto) argument [all...] |
H A D | NdkMediaCodec.cpp | 215 AMediaCrypto *crypto, 226 crypto ? crypto->mCrypto : NULL, flags)); 399 AMediaCodecCryptoInfo* crypto, 403 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; 404 for (int i = 0; i < crypto->numsubsamples; i++) { 405 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; 406 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; 410 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; 411 pattern.mSkipBlocks = crypto 211 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument 395 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 72 sp<ICrypto> crypto = service->makeCrypto(); local 73 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { 77 return crypto; 83 sp<ICrypto> crypto = MakeCrypto(); local 85 if (crypto == NULL) { 89 status_t err = crypto->createPlugin(uuid, initData, initSize); 95 return crypto; 108 sp<ICrypto> crypto local 152 setCrypto( JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) argument 202 sp<JCrypto> crypto = new JCrypto( local 261 sp<JCrypto> crypto = getCrypto(env, thiz); local 289 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); local [all...] |
H A D | android_media_MediaCodec.cpp | 269 const sp<ICrypto> &crypto, 279 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags); 991 sp<ICrypto> crypto; local 993 crypto = JCrypto::GetCrypto(env, jcrypto); 996 err = codec->configure(format, bufferProducer, crypto, flags); 266 configure( const sp<AMessage> &format, const sp<IGraphicBufferProducer> &bufferProducer, const sp<ICrypto> &crypto, int flags) argument
|
/frameworks/support/v4/api23/android/support/v4/hardware/fingerprint/ |
H A D | FingerprintManagerCompatApi23.java | 25 import javax.crypto.Cipher; 26 import javax.crypto.Mac; 46 public static void authenticate(Context context, CryptoObject crypto, int flags, Object cancel, argument 48 getFingerprintManager(context).authenticate(wrapCryptoObject(crypto), 139 public AuthenticationResultInternal(CryptoObject crypto) { argument 140 mCryptoObject = crypto;
|
/frameworks/support/v4/java/android/support/v4/hardware/fingerprint/ |
H A D | FingerprintManagerCompat.java | 28 import javax.crypto.Cipher; 29 import javax.crypto.Mac; 79 * Request authentication of a crypto object. This call warms up the fingerprint hardware 86 * @param crypto object associated with the call or null if none required. 92 public void authenticate(@Nullable CryptoObject crypto, int flags, argument 95 IMPL.authenticate(mContext, crypto, flags, cancel, callback, handler); 99 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the 153 public AuthenticationResult(CryptoObject crypto) { argument 154 mCryptoObject = crypto; 158 * Obtain the crypto objec 205 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument 226 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument 248 authenticate(Context context, CryptoObject crypto, int flags, CancellationSignal cancel, AuthenticationCallback callback, Handler handler) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 211 const sp<ICrypto> crypto; local 214 err = codec->configure(format, nativeWindow, crypto, flags);
|
H A D | MediaCodec.cpp | 441 const sp<ICrypto> &crypto, 464 if (crypto != NULL) { 465 msg->setPointer("crypto", crypto.get()); 955 // by the time buffers array is initialized, crypto is set 1749 void *crypto; local 1750 if (!msg->findPointer("crypto", &crypto)) { 1751 crypto = NULL; 1754 mCrypto = static_cast<ICrypto *>(crypto); 438 configure( const sp<AMessage> &format, const sp<Surface> &surface, const sp<ICrypto> &crypto, uint32_t flags) argument [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 40 import javax.crypto.Cipher; 41 import javax.crypto.Mac; 191 public OnAuthenticationCancelListener(CryptoObject crypto) { argument 192 mCrypto = crypto; 202 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the 266 * @param crypto the crypto object 270 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint) { argument 271 mCryptoObject = crypto; 276 * Obtain the crypto objec 428 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) argument 450 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 1835 * @param crypto Specify a crypto object to facilitate secure decryption 1836 * of the media data. Pass {@code null} as {@code crypto} for 1850 @Nullable Surface surface, @Nullable MediaCrypto crypto, 1882 native_configure(keys, values, surface, crypto, flags); 1960 @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags); 2137 * Thrown when a crypto error occurs while queueing a secure input buffer. 2160 * This indicates that a required crypto resource was not able to be 2183 * supported by the crypto system of the device in its current 2186 * or due to an internal error in the crypto syste 1848 configure( @ullable MediaFormat format, @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags) argument 1958 native_configure( @ullable String[] keys, @Nullable Object[] values, @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags) argument [all...] |