/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 60 sp<ICrypto> crypto = service->makeCrypto(); local 62 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { 66 return crypto; 79 sp<ICrypto> crypto = makeCrypto(); local 80 if (crypto == NULL) { 83 return crypto->isCryptoSchemeSupported(uuid); 88 sp<ICrypto> crypto = makeCrypto(); local 89 if (crypto 107 AMediaCrypto *crypto = new AMediaCrypto(); local 114 AMediaCrypto_delete(AMediaCrypto* crypto) argument [all...] |
H A D | NdkMediaCodec.cpp | 210 AMediaCrypto *crypto, 221 crypto ? crypto->mCrypto : NULL, flags)); 384 AMediaCodecCryptoInfo* crypto, 388 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; 389 for (int i = 0; i < crypto->numsubsamples; i++) { 390 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; 391 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; 398 crypto->numsubsamples, 399 crypto 206 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument 380 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayerService.cpp | 190 sp<ICrypto> crypto = makeCrypto(); local 191 reply->writeStrongBinder(IInterface::asBinder(crypto));
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 75 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 156 setCrypto( JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) argument 206 sp<JCrypto> crypto = new JCrypto( local 265 sp<JCrypto> crypto = getCrypto(env, thiz); local 293 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); local [all...] |
H A D | android_media_MediaCodec.cpp | 258 const sp<ICrypto> &crypto, 268 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags); 962 sp<ICrypto> crypto; local 964 crypto = JCrypto::GetCrypto(env, jcrypto); 967 err = codec->configure(format, bufferProducer, crypto, flags); 255 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 | 409 const sp<ICrypto> &crypto, 425 if (crypto != NULL) { 426 msg->setPointer("crypto", crypto.get()); 865 // by the time buffers array is initialized, crypto is set 1636 void *crypto; local 1637 if (!msg->findPointer("crypto", &crypto)) { 1638 crypto = NULL; 1641 mCrypto = static_cast<ICrypto *>(crypto); 406 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 | 39 import javax.crypto.Cipher; 40 import javax.crypto.Mac; 189 public OnAuthenticationCancelListener(CryptoObject crypto) { argument 190 mCrypto = crypto; 200 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the 264 * @param crypto the crypto object 268 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint) { argument 269 mCryptoObject = crypto; 274 * Obtain the crypto objec 414 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) argument 436 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 | 1731 * @param crypto Specify a crypto object to facilitate secure decryption 1732 * of the media data. Pass {@code null} as {@code crypto} for 1746 @Nullable Surface surface, @Nullable MediaCrypto crypto, 1778 native_configure(keys, values, surface, crypto, flags); 1856 @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags); 2033 * Thrown when a crypto error occurs while queueing a secure input buffer. 2056 * This indicates that a required crypto resource was not able to be 2153 * @throws CryptoException if a crypto object has been specified in 1744 configure( @ullable MediaFormat format, @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags) argument 1854 native_configure( @ullable String[] keys, @Nullable Object[] values, @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags) argument
|