Home
last modified time | relevance | path

Searched refs:ICrypto (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/media/ndk/
DNdkMediaCrypto.cpp38 static sp<ICrypto> makeCrypto() { in makeCrypto()
47 sp<ICrypto> crypto = service->makeCrypto(); in makeCrypto()
55 sp<ICrypto> mCrypto;
64 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_isCryptoSchemeSupported()
73 sp<ICrypto> crypto = makeCrypto(); in AMediaCrypto_requiresSecureDecoderComponent()
83 sp<ICrypto> tmp = makeCrypto(); in AMediaCrypto_new()
DNdkMediaCryptoPriv.h38 sp<ICrypto> mCrypto;
/frameworks/av/drm/libmediadrm/
DICrypto.cpp43 struct BpCrypto : public BpInterface<ICrypto> {
45 : BpInterface<ICrypto>(impl) { in BpCrypto()
50 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in initCheck()
58 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in isCryptoSchemeSupported()
68 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in createPlugin()
83 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in destroyPlugin()
92 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in requiresSecureDecoderComponent()
105 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in decrypt()
167 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in notifyResolution()
175 data.writeInterfaceToken(ICrypto::getInterfaceDescriptor()); in setMediaDrmSession()
[all …]
DIMediaDrmService.cpp45 virtual sp<ICrypto> makeCrypto() { in makeCrypto()
49 return interface_cast<ICrypto>(reply.readStrongBinder()); in makeCrypto()
71 sp<ICrypto> crypto = makeCrypto(); in onTransact()
DAndroid.bp20 "ICrypto.cpp",
DCryptoHal.cpp340 const ICrypto::SourceBuffer &source, size_t offset, in decrypt()
342 const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) { in decrypt()
/frameworks/base/media/jni/
Dandroid_media_MediaCrypto.h28 struct ICrypto;
40 static sp<ICrypto> GetCrypto(JNIEnv *env, jobject obj);
47 sp<ICrypto> mCrypto;
49 static sp<ICrypto> MakeCrypto();
51 static sp<ICrypto> MakeCrypto(
Dandroid_media_MediaCrypto.cpp66 sp<ICrypto> JCrypto::MakeCrypto() { in MakeCrypto()
75 sp<ICrypto> crypto = service->makeCrypto(); in MakeCrypto()
84 sp<ICrypto> JCrypto::MakeCrypto( in MakeCrypto()
86 sp<ICrypto> crypto = MakeCrypto(); in MakeCrypto()
111 sp<ICrypto> crypto = MakeCrypto(); in IsCryptoSchemeSupported()
125 sp<ICrypto> JCrypto::GetCrypto(JNIEnv *env, jobject obj) { in GetCrypto()
292 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); in android_media_MediaCrypto_setMediaDrmSession()
Dandroid_media_MediaCodec.h36 struct ICrypto;
66 const sp<ICrypto> &crypto,
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DICrypto.h32 struct ICrypto : public IInterface { struct
83 DISALLOW_EVIL_CONSTRUCTORS(ICrypto); argument
86 struct BnCrypto : public BnInterface<ICrypto> {
/frameworks/av/drm/libmediadrm/include/mediadrm/
DIMediaDrmService.h28 struct ICrypto;
36 virtual sp<ICrypto> makeCrypto() = 0;
DCryptoHal.h61 const ICrypto::SourceBuffer &source, size_t offset,
63 const ICrypto::DestinationBuffer &destination,
/frameworks/av/media/libstagefright/
DBufferImpl.cpp62 ICrypto::DestinationType SecureBuffer::getDestinationType() { in getDestinationType()
63 return ICrypto::kDestinationTypeNativeHandle; in getDestinationType()
DACodecBufferChannel.cpp126 if (secureData->getDestinationType() != ICrypto::kDestinationTypeNativeHandle) { in queueSecureInputBuffer()
134 ICrypto::DestinationBuffer destination; in queueSecureInputBuffer()
136 destination.mType = ICrypto::kDestinationTypeNativeHandle; in queueSecureInputBuffer()
139 destination.mType = ICrypto::kDestinationTypeSharedMemory; in queueSecureInputBuffer()
143 ICrypto::SourceBuffer source; in queueSecureInputBuffer()
155 if (destination.mType == ICrypto::kDestinationTypeSharedMemory) { in queueSecureInputBuffer()
DCodecBase.cpp27 void BufferChannelBase::setCrypto(const sp<ICrypto> &crypto) { in setCrypto()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h44 struct ICrypto;
258 void setCrypto(const sp<ICrypto> &crypto);
319 sp<ICrypto> mCrypto;
DMediaCodec.h43 struct ICrypto;
96 const sp<ICrypto> &crypto,
102 const sp<ICrypto> &crypto,
372 sp<ICrypto> mCrypto;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.h77 static sp<ICrypto> createCrypto(status_t *pstatus);
84 static sp<ICrypto> createCryptoAndPlugin(const uint8_t uuid[16],
DNuPlayerDrm.cpp59 sp<ICrypto> NuPlayerDrm::createCrypto(status_t *pstatus) in createCrypto()
72 sp<ICrypto> crypto = service->makeCrypto(); in createCrypto()
183 sp<ICrypto> NuPlayerDrm::createCryptoAndPlugin(const uint8_t uuid[16], in createCryptoAndPlugin()
194 sp<ICrypto> crypto = createCrypto(&status); in createCryptoAndPlugin()
DNuPlayerSource.h137 sp<ICrypto> */*crypto*/) { in prepareDrm()
DGenericSource.h92 const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, sp<ICrypto> *outCrypto);
/frameworks/av/services/mediadrm/
DMediaDrmService.cpp37 sp<ICrypto> MediaDrmService::makeCrypto() { in makeCrypto()
DMediaDrmService.h37 virtual sp<ICrypto> makeCrypto();
/frameworks/av/media/libstagefright/include/
DSecureBuffer.h43 ICrypto::DestinationType getDestinationType();
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h587 const sp<ICrypto> &crypto,
615 sp<ICrypto> mCrypto;

12