/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | DrmPlugin.cpp | 32 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()
|
D | DrmPlugin.h | 40 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);
|
D | DrmFactory.cpp | 47 const uint8_t uuid[16], android::DrmPlugin** plugin) { in createDrmPlugin() 53 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
|
D | DrmFactory.h | 38 const uint8_t uuid[16], android::DrmPlugin** plugin);
|
D | Android.mk | 26 DrmPlugin.cpp \
|
/frameworks/native/include/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/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 | 48 String8 const &mimeType, DrmPlugin::KeyType keyType, 51 DrmPlugin::KeyRequestType *keyRequestType) = 0;
|
/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() 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/ |
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() 394 void JDrm::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { in notify() [all …]
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 59 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()
|
D | MockDrmCryptoPlugin.h | 36 status_t createDrmPlugin(const uint8_t uuid[16], DrmPlugin **plugin); 52 class MockDrmPlugin : public DrmPlugin {
|
/frameworks/av/media/libmedia/ |
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 | 144 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/ |
D | Drm.cpp | 75 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()
|