Home
last modified time | relevance | path

Searched refs:DrmPlugin (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/
DDrmPlugin.cpp32 status_t DrmPlugin::openSession(Vector<uint8_t>& sessionId) { in openSession()
38 status_t DrmPlugin::closeSession(const Vector<uint8_t>& sessionId) { in closeSession()
46 status_t DrmPlugin::getKeyRequest( in getKeyRequest()
54 DrmPlugin::KeyRequestType *keyRequestType) { in getKeyRequest()
59 *keyRequestType = DrmPlugin::kKeyRequestType_Initial; in getKeyRequest()
68 status_t DrmPlugin::provideKeyResponse( in provideKeyResponse()
85 status_t DrmPlugin::getPropertyString( in getPropertyString()
DDrmPlugin.h40 class DrmPlugin : public android::DrmPlugin {
42 DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin() function
44 virtual ~DrmPlugin() {} in ~DrmPlugin()
58 DrmPlugin::KeyRequestType *keyRequestType);
234 DISALLOW_EVIL_CONSTRUCTORS(DrmPlugin);
DDrmFactory.cpp47 const uint8_t uuid[16], android::DrmPlugin** plugin) { in createDrmPlugin()
53 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
DDrmFactory.h38 const uint8_t uuid[16], android::DrmPlugin** plugin);
DAndroid.mk26 DrmPlugin.cpp \
/frameworks/native/include/media/drm/
DDrmAPI.h38 class DrmPlugin; variable
70 const uint8_t uuid[16], DrmPlugin **plugin) = 0;
77 class DrmPlugin {
126 DrmPlugin() {} in DrmPlugin() function
127 virtual ~DrmPlugin() {} in ~DrmPlugin()
355 Vector<DrmPlugin::KeyStatus> const *keyStatusList,
362 DISALLOW_EVIL_CONSTRUCTORS(DrmPlugin);
368 virtual void sendEvent(DrmPlugin::EventType eventType, int extra,
376 Vector<DrmPlugin::KeyStatus> const *keyStatusList,
380 inline void DrmPlugin::sendEvent(EventType eventType, int extra, in sendEvent()
[all …]
/frameworks/av/include/media/
DDrm.h30 class DrmPlugin; variable
54 String8 const &mimeType, DrmPlugin::KeyType keyType,
57 DrmPlugin::KeyRequestType *keyRequestType);
130 virtual void sendEvent(DrmPlugin::EventType eventType, int extra,
138 Vector<DrmPlugin::KeyStatus> const *keyStatusList,
156 DrmPlugin *mPlugin;
DIDrmClient.h32 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) = 0;
DIDrm.h48 String8 const &mimeType, DrmPlugin::KeyType keyType,
51 DrmPlugin::KeyRequestType *keyRequestType) = 0;
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp47 void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj);
64 void DrmListener::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { in notify()
88 case DrmPlugin::kDrmPluginEventProvisionRequired: in notify()
91 case DrmPlugin::kDrmPluginEventKeyNeeded: in notify()
94 case DrmPlugin::kDrmPluginEventKeyExpired: in notify()
97 case DrmPlugin::kDrmPluginEventVendorDefined: in notify()
289 DrmPlugin::KeyType mdKeyType; in AMediaDrm_getKeyRequest()
292 mdKeyType = DrmPlugin::kKeyType_Streaming; in AMediaDrm_getKeyRequest()
295 mdKeyType = DrmPlugin::kKeyType_Offline; in AMediaDrm_getKeyRequest()
298 mdKeyType = DrmPlugin::kKeyType_Release; in AMediaDrm_getKeyRequest()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.h35 virtual void notify(DrmPlugin::EventType eventType, int extra,
47 void notify(DrmPlugin::EventType, int extra, const Parcel *obj);
Dandroid_media_MediaDrm.cpp160 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj = NULL);
193 void JNIDrmListener::notify(DrmPlugin::EventType eventType, int extra, in notify()
201 case DrmPlugin::kDrmPluginEventProvisionRequired: in notify()
205 case DrmPlugin::kDrmPluginEventKeyNeeded: in notify()
209 case DrmPlugin::kDrmPluginEventKeyExpired: in notify()
213 case DrmPlugin::kDrmPluginEventVendorDefined: in notify()
217 case DrmPlugin::kDrmPluginEventSessionReclaimed: in notify()
221 case DrmPlugin::kDrmPluginEventExpirationUpdate: in notify()
224 case DrmPlugin::kDrmPluginEventKeysChange: in notify()
394 void JDrm::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { in notify()
[all …]
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp59 status_t MockDrmFactory::createDrmPlugin(const uint8_t /* uuid */[16], DrmPlugin **plugin) in createDrmPlugin()
420 DrmPlugin::EventType eventType = (DrmPlugin::EventType)code; in setPropertyString()
462 Vector<DrmPlugin::KeyStatus> keyStatusList; in setPropertyString()
463 DrmPlugin::KeyStatus keyStatus; in setPropertyString()
467 keyStatus.mType = DrmPlugin::kKeyStatusType_Usable; in setPropertyString()
473 keyStatus.mType = DrmPlugin::kKeyStatusType_Expired; in setPropertyString()
479 keyStatus.mType = DrmPlugin::kKeyStatusType_OutputNotAllowed; in setPropertyString()
485 keyStatus.mType = DrmPlugin::kKeyStatusType_StatusPending; in setPropertyString()
491 keyStatus.mType = DrmPlugin::kKeyStatusType_InternalError; in setPropertyString()
DMockDrmCryptoPlugin.h36 status_t createDrmPlugin(const uint8_t uuid[16], DrmPlugin **plugin);
52 class MockDrmPlugin : public DrmPlugin {
/frameworks/av/media/libmedia/
DIDrmClient.cpp43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) in notify()
73 notify((DrmPlugin::EventType)eventType, extra, &obj); in onTransact()
DIDrm.cpp144 String8 const &mimeType, DrmPlugin::KeyType keyType, in getKeyRequest()
147 DrmPlugin::KeyRequestType *keyRequestType) { in getKeyRequest()
169 *keyRequestType = static_cast<DrmPlugin::KeyRequestType>(reply.readInt32()); in getKeyRequest()
635 DrmPlugin::KeyType keyType = (DrmPlugin::KeyType)data.readInt32(); in onTransact()
648 DrmPlugin::KeyRequestType keyRequestType = DrmPlugin::kKeyRequestType_Unknown; in onTransact()
/frameworks/av/drm/libmediadrm/
DDrm.cpp75 drm->sendEvent(DrmPlugin::kDrmPluginEventSessionReclaimed, 0, &sessionId, NULL); in reclaimSession()
126 void Drm::sendEvent(DrmPlugin::EventType eventType, int extra, in sendEvent()
157 listener->notify(DrmPlugin::kDrmPluginEventExpirationUpdate, 0, &obj); in sendExpirationUpdate()
162 Vector<DrmPlugin::KeyStatus> const *keyStatusList, in sendKeysChange()
176 const DrmPlugin::KeyStatus *keyStatus = &keyStatusList->itemAt(i); in sendKeysChange()
183 listener->notify(DrmPlugin::kDrmPluginEventKeysChange, 0, &obj); in sendKeysChange()
399 String8 const &mimeType, DrmPlugin::KeyType keyType, in getKeyRequest()
402 DrmPlugin::KeyRequestType *keyRequestType) { in getKeyRequest()