Home
last modified time | relevance | path

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

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DDrmPlugin.cpp45 DrmPlugin::DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin() function in clearkeydrm::DrmPlugin
52 void DrmPlugin::initProperties() { in initProperties()
65 status_t DrmPlugin::openSession(Vector<uint8_t>& sessionId) { in openSession()
71 status_t DrmPlugin::closeSession(const Vector<uint8_t>& sessionId) { in closeSession()
83 status_t DrmPlugin::getKeyRequest( in getKeyRequest()
91 DrmPlugin::KeyRequestType *keyRequestType) { in getKeyRequest()
101 *keyRequestType = DrmPlugin::kKeyRequestType_Initial; in getKeyRequest()
111 void DrmPlugin::setPlayPolicy() { in setPlayPolicy()
118 status_t DrmPlugin::provideKeyResponse( in provideKeyResponse()
140 status_t DrmPlugin::getPropertyByteArray( in getPropertyByteArray()
[all …]
DDrmFactory.cpp48 android::DrmPlugin** plugin) { in createDrmPlugin()
54 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
DAndroid.bp27 "DrmPlugin.cpp",
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp123 static DrmPlugin::SecurityLevel toSecurityLevel(SecurityLevel level) { in toSecurityLevel()
126 return DrmPlugin::kSecurityLevelSwSecureCrypto; in toSecurityLevel()
128 return DrmPlugin::kSecurityLevelSwSecureDecode; in toSecurityLevel()
130 return DrmPlugin::kSecurityLevelHwSecureCrypto; in toSecurityLevel()
132 return DrmPlugin::kSecurityLevelHwSecureDecode; in toSecurityLevel()
134 return DrmPlugin::kSecurityLevelHwSecureAll; in toSecurityLevel()
136 return DrmPlugin::kSecurityLevelUnknown; in toSecurityLevel()
140 static SecurityLevel toHidlSecurityLevel(DrmPlugin::SecurityLevel level) { in toHidlSecurityLevel()
142 case DrmPlugin::kSecurityLevelSwSecureCrypto: in toHidlSecurityLevel()
144 case DrmPlugin::kSecurityLevelSwSecureDecode: in toHidlSecurityLevel()
[all …]
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h38 class DrmPlugin; variable
70 const uint8_t uuid[16], DrmPlugin **plugin) = 0;
77 class DrmPlugin {
193 DrmPlugin() {} in DrmPlugin() function
194 virtual ~DrmPlugin() {} in ~DrmPlugin()
422 Vector<DrmPlugin::KeyStatus> const *keyStatusList,
429 DISALLOW_EVIL_CONSTRUCTORS(DrmPlugin);
435 virtual void sendEvent(DrmPlugin::EventType eventType, int extra,
443 Vector<DrmPlugin::KeyStatus> const *keyStatusList,
447 inline void DrmPlugin::sendEvent(EventType eventType, int extra, in sendEvent()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDrmPlugin.cpp74 DrmPlugin::DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin() function in android::hardware::drm::V1_2::clearkey::DrmPlugin
88 void DrmPlugin::initProperties() { in initProperties()
113 void DrmPlugin::installSecureStop(const hidl_vec<uint8_t>& sessionId) { in installSecureStop()
124 Return<void> DrmPlugin::openSession(openSession_cb _hidl_cb) { in openSession()
135 Return<void> DrmPlugin::openSession_1_1(SecurityLevel securityLevel, in openSession_1_1()
152 Return<Status> DrmPlugin::closeSession(const hidl_vec<uint8_t>& sessionId) { in closeSession()
171 Status_V1_2 DrmPlugin::getKeyRequestCommon(const hidl_vec<uint8_t>& scope, in getKeyRequestCommon()
243 Return<void> DrmPlugin::getKeyRequest( in getKeyRequest()
265 Return<void> DrmPlugin::getKeyRequest_1_1( in getKeyRequest_1_1()
286 Return<void> DrmPlugin::getKeyRequest_1_2( in getKeyRequest_1_2()
[all …]
DDrmFactory.cpp39 using ::android::hardware::drm::V1_2::clearkey::DrmPlugin;
71 DrmPlugin *plugin = NULL; in createPlugin()
79 plugin = new DrmPlugin(SessionLibrary::get()); in createPlugin()
DAndroid.bp30 "DrmPlugin.cpp",
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp236 virtual void notify(DrmPlugin::EventType eventType, int extra, const ListenerArgs *arg = NULL);
269 void JNIDrmListener::notify(DrmPlugin::EventType eventType, int extra, in notify()
277 case DrmPlugin::kDrmPluginEventProvisionRequired: in notify()
281 case DrmPlugin::kDrmPluginEventKeyNeeded: in notify()
285 case DrmPlugin::kDrmPluginEventKeyExpired: in notify()
289 case DrmPlugin::kDrmPluginEventVendorDefined: in notify()
293 case DrmPlugin::kDrmPluginEventSessionReclaimed: in notify()
297 case DrmPlugin::kDrmPluginEventExpirationUpdate: in notify()
300 case DrmPlugin::kDrmPluginEventKeysChange: in notify()
303 case DrmPlugin::kDrmPluginEventSessionLostState: in notify()
[all …]
Dandroid_media_MediaDrm.h46 virtual void notify(DrmPlugin::EventType eventType, int extra,
53 DrmPlugin::SecurityLevel level,
62 DrmPlugin::EventType eventType,
96 void notify(DrmPlugin::EventType, int extra, const ListenerArgs *args);
/frameworks/av/drm/libmediadrm/include/mediadrm/
DIDrm.h38 DrmPlugin::SecurityLevel securityLevel,
46 virtual status_t openSession(DrmPlugin::SecurityLevel securityLevel,
54 String8 const &mimeType, DrmPlugin::KeyType keyType,
57 DrmPlugin::KeyRequestType *keyRequestType) = 0;
88 virtual status_t getHdcpLevels(DrmPlugin::HdcpLevel *connectedLevel,
89 DrmPlugin::HdcpLevel *maxLevel)
94 DrmPlugin::SecurityLevel *level) const = 0;
99 DrmPlugin::OfflineLicenseState *licenseState) const = 0;
DDrmHal.h72 DrmPlugin::SecurityLevel level,
80 virtual status_t openSession(DrmPlugin::SecurityLevel level,
88 String8 const &mimeType, DrmPlugin::KeyType keyType,
91 DrmPlugin::KeyRequestType *keyRequestType);
122 virtual status_t getHdcpLevels(DrmPlugin::HdcpLevel *connectedLevel,
123 DrmPlugin::HdcpLevel *maxLevel) const;
127 DrmPlugin::SecurityLevel *level) const;
132 DrmPlugin::OfflineLicenseState *licenseState) const;
236 DrmPlugin::SecurityLevel level,
DIDrmClient.h40 DrmPlugin::EventType eventType,
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h40 class DrmPlugin : public android::DrmPlugin {
42 explicit DrmPlugin(SessionLibrary* sessionLibrary);
44 virtual ~DrmPlugin() {} in ~DrmPlugin()
58 DrmPlugin::KeyRequestType *keyRequestType);
271 DISALLOW_EVIL_CONSTRUCTORS(DrmPlugin);
DDrmFactory.h39 android::DrmPlugin** plugin);
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp77 DrmPlugin::EventType eventType,
149 DrmPlugin::EventType eventType, in sendEvent()
161 case DrmPlugin::kDrmPluginEventProvisionRequired: in sendEvent()
164 case DrmPlugin::kDrmPluginEventKeyNeeded: in sendEvent()
167 case DrmPlugin::kDrmPluginEventKeyExpired: in sendEvent()
170 case DrmPlugin::kDrmPluginEventVendorDefined: in sendEvent()
173 case DrmPlugin::kDrmPluginEventSessionReclaimed: in sendEvent()
294 DrmPlugin::kSecurityLevelUnknown, &isSupported); in AMediaDrm_isCryptoSchemeSupported()
382 status_t status = mObj->mDrm->openSession(DrmPlugin::kSecurityLevelMax, session); in AMediaDrm_openSession()
430 DrmPlugin::KeyType mdKeyType; in AMediaDrm_getKeyRequest()
[all …]
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp60 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()
DMockDrmCryptoPlugin.h37 DrmPlugin **plugin);
53 class MockDrmPlugin : public DrmPlugin {
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmPlugin.h69 struct DrmPlugin : public IDrmPlugin { struct
70 explicit DrmPlugin(SessionLibrary* sessionLibrary);
72 virtual ~DrmPlugin() { mFileHandle.DeleteAllLicenses(); } in ~DrmPlugin() argument
421 CLEARKEY_DISALLOW_COPY_AND_ASSIGN_AND_NEW(DrmPlugin); argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp116 DrmPlugin::kSecurityLevelUnknown, &isSupported); in getSupportedDrmSchemes()