/frameworks/av/drm/libmediadrm/ |
H A D | IMediaDrmService.cpp | 71 sp<ICrypto> crypto = makeCrypto(); local 72 reply->writeStrongBinder(IInterface::asBinder(crypto));
|
/frameworks/av/include/media/stagefright/ |
H A D | CodecBase.h | 259 inline void setCrypto(const sp<ICrypto> &crypto) { argument 260 mCrypto = crypto;
|
H A D | MediaCodec.h | 95 const sp<ICrypto> &crypto, 101 const sp<ICrypto> &crypto,
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaCodec.h | 94 AMediaCrypto *crypto, 268 * crypto info, rather than one obtained from AMediaExtractor. 295 * Set the crypto pattern on an AMediaCryptoInfo object
|
H A D | NdkMediaCrypto.h | 52 void AMediaCrypto_delete(AMediaCrypto* crypto);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 274 // Widevine sources might re-initialize crypto when starting, if we delay 855 // the codec's crypto object has gone away (b/37960096). 1891 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *crypto) 1902 msg->setPointer("crypto", (void*)crypto); 1909 ALOGV_IF(status == OK, "prepareDrm: mCrypto: %p (%d)", crypto->get(), 1910 (*crypto != NULL ? (*crypto)->getStrongCount() : 0)); 1925 // synchronous call to update the source states before the player proceedes with crypto cleanup 1951 CHECK(msg->findPointer("crypto", (voi 1890 prepareDrm( const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *crypto) argument 1954 sp<ICrypto> crypto = NuPlayerDrm::createCryptoAndPlugin(uuid, *drmSessionId, status); local [all...] |
H A D | GenericSource.h | 92 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *crypto);
|
H A D | NuPlayer.cpp | 1838 format->setPointer("crypto", mCrypto.get()); 2753 sp<ICrypto> crypto = NULL; local 2755 status = mSource->prepareDrm(uuid, *drmSessionId, &crypto); 2756 if (crypto == NULL) { 2768 mCrypto = crypto; 2790 // notifying the source first before removing crypto from codec 2796 // first making sure the codecs have released their crypto reference 2817 ALOGE("onReleaseDrm: Unexpected. There is no crypto.");
|
H A D | NuPlayerDecoder.cpp | 331 if (!format->findPointer("crypto", &pCrypto)) { 334 sp<ICrypto> crypto = (ICrypto*)pCrypto; local 335 // non-encrypted source won't have a crypto 336 mIsEncrypted = (crypto != NULL); 340 crypto.get(), (crypto != NULL ? crypto->getStrongCount() : 0), mIsSecure); 343 format, mSurface, crypto, 0 /* flags */); 620 // Clearing the state as it's tied to crypto. mIsEncryptedObservedEarlier is sticky though
|
H A D | NuPlayerDrm.cpp | 72 sp<ICrypto> crypto = service->makeCrypto(); local 73 if (crypto == NULL) { 80 status = crypto->initCheck(); 82 ALOGE("createCrypto failed crypto->initCheck(): %d", status); 86 return crypto; 156 // temporary DRM object for crypto Scheme enquiry (without creating a plugin) 190 sp<ICrypto> crypto = createCrypto(&status); local 191 if (crypto == NULL) { 197 status = crypto->createPlugin(uuid, drmSessionId.array(), drmSessionId.size()); 200 // crypto wil [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 72 static const char *kCodecCrypto = "android.media.mediacodec.crypto"; /* 0,1 */ 689 const sp<ICrypto> &crypto, 691 return configure(format, nativeWindow, crypto, NULL, flags); 697 const sp<ICrypto> &crypto, 727 if (crypto != NULL || descrambler != NULL) { 728 if (crypto != NULL) { 729 msg->setPointer("crypto", crypto.get()); 734 // XXX: save indication that it's crypto in some way... 2003 void *crypto; local 686 configure( const sp<AMessage> &format, const sp<Surface> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument 694 configure( const sp<AMessage> &format, const sp<Surface> &surface, const sp<ICrypto> &crypto, const sp<IDescrambler> &descrambler, uint32_t flags) argument [all...] |
H A D | MediaCodecListOverrides.cpp | 156 const sp<ICrypto> crypto; local 159 err = codec->configure(format, nativeWindow, crypto, flags);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | CodecBase.h | 259 inline void setCrypto(const sp<ICrypto> &crypto) { argument 260 mCrypto = crypto;
|
H A D | MediaCodec.h | 95 const sp<ICrypto> &crypto, 101 const sp<ICrypto> &crypto,
|
/frameworks/av/media/libstagefright/include/ |
H A D | CodecBase.h | 259 inline void setCrypto(const sp<ICrypto> &crypto) { argument 260 mCrypto = crypto;
|
H A D | MediaCodec.h | 95 const sp<ICrypto> &crypto, 101 const sp<ICrypto> &crypto,
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 229 AMediaCrypto *crypto, 240 crypto ? crypto->mCrypto : NULL, flags)); 505 AMediaCodecCryptoInfo* crypto, 509 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; 510 for (int i = 0; i < crypto->numsubsamples; i++) { 511 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; 512 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; 516 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; 517 pattern.mSkipBlocks = crypto 225 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument 501 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument [all...] |
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...] |
/frameworks/base/ |
H A D | compiled-classes-phone | 6133 com.android.org.bouncycastle.crypto.AsymmetricBlockCipher 6134 com.android.org.bouncycastle.crypto.CipherKeyGenerator 6135 com.android.org.bouncycastle.crypto.CipherParameters 6136 com.android.org.bouncycastle.crypto.CryptoException 6137 com.android.org.bouncycastle.crypto.Digest 6138 com.android.org.bouncycastle.crypto.ExtendedDigest 6139 com.android.org.bouncycastle.crypto.InvalidCipherTextException 6140 com.android.org.bouncycastle.crypto.KeyGenerationParameters 6141 com.android.org.bouncycastle.crypto.Mac 6142 com.android.org.bouncycastle.crypto [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | MacAuthenticatedInputStream.java | 23 import javax.crypto.Mac;
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 42 import javax.crypto.Cipher; 43 import javax.crypto.Mac; 208 public OnAuthenticationCancelListener(CryptoObject crypto) { argument 209 mCrypto = crypto; 219 * A wrapper class for the crypto objects supported by FingerprintManager. Currently the 284 * @param crypto the crypto object 288 public AuthenticationResult(CryptoObject crypto, Fingerprint fingerprint, int userId) { argument 289 mCryptoObject = crypto; 295 * Obtain the crypto objec 480 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, @Nullable Handler handler) argument 502 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | PskKeyManager.java | 21 import javax.crypto.SecretKey;
|
/frameworks/base/core/proto/android/service/ |
H A D | fingerprint.proto | 41 FingerprintActionStatsProto crypto = 4;
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | MacAuthenticatedInputStreamTest.java | 24 import javax.crypto.Mac; 25 import javax.crypto.SecretKey; 26 import javax.crypto.spec.SecretKeySpec;
|
/frameworks/base/keystore/java/android/security/ |
H A D | SystemKeyStore.java | 28 import javax.crypto.KeyGenerator; 29 import javax.crypto.SecretKey;
|