Lines Matching refs:crypto
47 sp<ICrypto> crypto = service->makeCrypto(); in makeCrypto() local
48 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in makeCrypto()
51 return crypto; in makeCrypto()
64 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_isCryptoSchemeSupported() local
65 if (crypto == NULL) { in AMediaCrypto_isCryptoSchemeSupported()
68 return crypto->isCryptoSchemeSupported(uuid); in AMediaCrypto_isCryptoSchemeSupported()
73 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_requiresSecureDecoderComponent() local
74 if (crypto == NULL) { in AMediaCrypto_requiresSecureDecoderComponent()
77 return crypto->requiresSecureDecoderComponent(mime); in AMediaCrypto_requiresSecureDecoderComponent()
92 AMediaCrypto *crypto = new AMediaCrypto(); in AMediaCrypto_new() local
93 crypto->mCrypto = tmp; in AMediaCrypto_new()
95 return crypto; in AMediaCrypto_new()
99 void AMediaCrypto_delete(AMediaCrypto* crypto) { in AMediaCrypto_delete() argument
100 delete crypto; in AMediaCrypto_delete()