/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | DrmPlugin.cpp | 45 DrmPlugin::DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin() function in clearkeydrm::DrmPlugin 50 status_t DrmPlugin::openSession(Vector<uint8_t>& sessionId) { in openSession() 56 status_t DrmPlugin::closeSession(const Vector<uint8_t>& sessionId) { in closeSession() 68 status_t DrmPlugin::getKeyRequest( in getKeyRequest() 76 DrmPlugin::KeyRequestType *keyRequestType) { in getKeyRequest() 86 *keyRequestType = DrmPlugin::kKeyRequestType_Initial; in getKeyRequest() 96 void DrmPlugin::setPlayPolicy() { in setPlayPolicy() 103 status_t DrmPlugin::provideKeyResponse( in provideKeyResponse() 125 status_t DrmPlugin::getPropertyString( in getPropertyString() 144 status_t DrmPlugin::queryKeyStatus( in queryKeyStatus()
|
D | DrmPlugin.h | 40 class DrmPlugin : public android::DrmPlugin { 42 explicit DrmPlugin(SessionLibrary* sessionLibrary); 44 virtual ~DrmPlugin() {} in ~DrmPlugin() 58 DrmPlugin::KeyRequestType *keyRequestType); 250 DISALLOW_EVIL_CONSTRUCTORS(DrmPlugin);
|
D | DrmFactory.cpp | 48 android::DrmPlugin** plugin) { in createDrmPlugin() 54 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
|
D | DrmFactory.h | 39 android::DrmPlugin** plugin);
|
D | Android.bp | 27 "DrmPlugin.cpp",
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 38 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/drm/libmediadrm/ |
D | DrmHal.cpp | 298 DrmPlugin::EventType eventType; in sendEvent() 301 eventType = DrmPlugin::kDrmPluginEventProvisionRequired; in sendEvent() 304 eventType = DrmPlugin::kDrmPluginEventKeyNeeded; in sendEvent() 307 eventType = DrmPlugin::kDrmPluginEventKeyExpired; in sendEvent() 310 eventType = DrmPlugin::kDrmPluginEventVendorDefined; in sendEvent() 313 eventType = DrmPlugin::kDrmPluginEventSessionReclaimed; in sendEvent() 336 listener->notify(DrmPlugin::kDrmPluginEventExpirationUpdate, 0, &obj); in sendExpirationUpdate() 360 type = DrmPlugin::kKeyStatusType_Usable; in sendKeysChange() 363 type = DrmPlugin::kKeyStatusType_Expired; in sendKeysChange() 366 type = DrmPlugin::kKeyStatusType_OutputNotAllowed; in sendKeysChange() [all …]
|
D | IDrmClient.cpp | 43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) in notify() 73 notify((DrmPlugin::EventType)eventType, extra, &obj); in onTransact()
|
D | IDrm.cpp | 146 String8 const &mimeType, DrmPlugin::KeyType keyType, in getKeyRequest() 149 DrmPlugin::KeyRequestType *keyRequestType) { in getKeyRequest() 171 *keyRequestType = static_cast<DrmPlugin::KeyRequestType>(reply.readInt32()); in getKeyRequest() 642 DrmPlugin::KeyType keyType = (DrmPlugin::KeyType)data.readInt32(); in onTransact() 655 DrmPlugin::KeyRequestType keyRequestType = DrmPlugin::kKeyRequestType_Unknown; in onTransact()
|
/frameworks/av/media/libmedia/include/media/ |
D | Drm.h | 30 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;
|
D | IDrmClient.h | 32 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) = 0;
|
D | IDrm.h | 49 String8 const &mimeType, DrmPlugin::KeyType keyType, 52 DrmPlugin::KeyRequestType *keyRequestType) = 0;
|
D | DrmHal.h | 69 String8 const &mimeType, DrmPlugin::KeyType keyType, 72 DrmPlugin::KeyRequestType *keyRequestType);
|
/frameworks/av/include/media/ |
D | Drm.h | 30 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;
|
D | IDrmClient.h | 32 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) = 0;
|
D | IDrm.h | 49 String8 const &mimeType, DrmPlugin::KeyType keyType, 52 DrmPlugin::KeyRequestType *keyRequestType) = 0;
|
D | DrmHal.h | 69 String8 const &mimeType, DrmPlugin::KeyType keyType, 72 DrmPlugin::KeyRequestType *keyRequestType);
|
/frameworks/av/media/ndk/ |
D | NdkMediaDrm.cpp | 47 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() 291 DrmPlugin::KeyType mdKeyType; in AMediaDrm_getKeyRequest() 294 mdKeyType = DrmPlugin::kKeyType_Streaming; in AMediaDrm_getKeyRequest() 297 mdKeyType = DrmPlugin::kKeyType_Offline; in AMediaDrm_getKeyRequest() 300 mdKeyType = DrmPlugin::kKeyType_Release; in AMediaDrm_getKeyRequest() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.h | 35 virtual void notify(DrmPlugin::EventType eventType, int extra, 47 void notify(DrmPlugin::EventType, int extra, const Parcel *obj);
|
D | android_media_MediaDrm.cpp | 160 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() 395 void JDrm::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { in notify() [all …]
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 60 DrmPlugin **plugin) in createDrmPlugin() 421 DrmPlugin::EventType eventType = (DrmPlugin::EventType)code; in setPropertyString() 463 Vector<DrmPlugin::KeyStatus> keyStatusList; in setPropertyString() 464 DrmPlugin::KeyStatus keyStatus; in setPropertyString() 468 keyStatus.mType = DrmPlugin::kKeyStatusType_Usable; in setPropertyString() 474 keyStatus.mType = DrmPlugin::kKeyStatusType_Expired; in setPropertyString() 480 keyStatus.mType = DrmPlugin::kKeyStatusType_OutputNotAllowed; in setPropertyString() 486 keyStatus.mType = DrmPlugin::kKeyStatusType_StatusPending; in setPropertyString() 492 keyStatus.mType = DrmPlugin::kKeyStatusType_InternalError; in setPropertyString()
|
D | MockDrmCryptoPlugin.h | 37 DrmPlugin **plugin); 53 class MockDrmPlugin : public DrmPlugin {
|