OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DrmPlugin
(Results
1 - 17
of
17
) sorted by null
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DrmFactory.cpp
25
#include "
DrmPlugin
.h"
48
android::
DrmPlugin
** plugin) {
54
*plugin = new
DrmPlugin
(SessionLibrary::get());
DrmPlugin.cpp
24
#include "
DrmPlugin
.h"
45
DrmPlugin
::
DrmPlugin
(SessionLibrary* sessionLibrary)
52
void
DrmPlugin
::initProperties() {
65
status_t
DrmPlugin
::openSession(Vector<uint8_t>& sessionId) {
71
status_t
DrmPlugin
::closeSession(const Vector<uint8_t>& sessionId) {
83
status_t
DrmPlugin
::getKeyRequest(
91
DrmPlugin
::KeyRequestType *keyRequestType) {
101
*keyRequestType =
DrmPlugin
::kKeyRequestType_Initial;
111
void
DrmPlugin
::setPlayPolicy()
[
all
...]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DrmFactory.h
39
android::
DrmPlugin
** plugin);
DrmPlugin.h
40
class
DrmPlugin
: public android::
DrmPlugin
{
42
explicit
DrmPlugin
(SessionLibrary* sessionLibrary);
44
virtual ~
DrmPlugin
() {}
58
DrmPlugin
::KeyRequestType *keyRequestType);
271
DISALLOW_EVIL_CONSTRUCTORS(
DrmPlugin
);
/frameworks/av/media/libmedia/include/media/
IDrmClient.h
32
virtual void notify(
DrmPlugin
::EventType eventType, int extra, const Parcel *obj) = 0;
IDrm.h
39
DrmPlugin
::SecurityLevel securityLevel,
47
virtual status_t openSession(
DrmPlugin
::SecurityLevel securityLevel,
55
String8 const &mimeType,
DrmPlugin
::KeyType keyType,
58
DrmPlugin
::KeyRequestType *keyRequestType) = 0;
89
virtual status_t getHdcpLevels(
DrmPlugin
::HdcpLevel *connectedLevel,
90
DrmPlugin
::HdcpLevel *maxLevel)
95
DrmPlugin
::SecurityLevel *level) const = 0;
100
DrmPlugin
::OfflineLicenseState *licenseState) const = 0;
DrmHal.h
69
DrmPlugin
::SecurityLevel level,
77
virtual status_t openSession(
DrmPlugin
::SecurityLevel level,
85
String8 const &mimeType,
DrmPlugin
::KeyType keyType,
88
DrmPlugin
::KeyRequestType *keyRequestType);
119
virtual status_t getHdcpLevels(
DrmPlugin
::HdcpLevel *connectedLevel,
120
DrmPlugin
::HdcpLevel *maxLevel) const;
124
DrmPlugin
::SecurityLevel *level) const;
129
DrmPlugin
::OfflineLicenseState *licenseState) const;
237
DrmPlugin
::SecurityLevel level,
/frameworks/av/drm/libmediadrm/
DrmHal.cpp
131
static
DrmPlugin
::SecurityLevel toSecurityLevel(SecurityLevel level) {
134
return
DrmPlugin
::kSecurityLevelSwSecureCrypto;
136
return
DrmPlugin
::kSecurityLevelSwSecureDecode;
138
return
DrmPlugin
::kSecurityLevelHwSecureCrypto;
140
return
DrmPlugin
::kSecurityLevelHwSecureDecode;
142
return
DrmPlugin
::kSecurityLevelHwSecureAll;
144
return
DrmPlugin
::kSecurityLevelUnknown;
148
static SecurityLevel toHidlSecurityLevel(
DrmPlugin
::SecurityLevel level) {
150
case
DrmPlugin
::kSecurityLevelSwSecureCrypto:
152
case
DrmPlugin
::kSecurityLevelSwSecureDecode
[
all
...]
IDrmClient.cpp
43
virtual void notify(
DrmPlugin
::EventType eventType, int extra, const Parcel *obj)
73
notify((
DrmPlugin
::EventType)eventType, extra, &obj);
IDrm.cpp
87
DrmPlugin
::SecurityLevel level, bool *isSupported) {
130
virtual status_t openSession(
DrmPlugin
::SecurityLevel level,
161
String8 const &mimeType,
DrmPlugin
::KeyType keyType,
164
DrmPlugin
::KeyRequestType *keyRequestType) {
186
*keyRequestType = static_cast<
DrmPlugin
::KeyRequestType>(reply.readInt32());
418
DrmPlugin
::OfflineLicenseState *licenseState) const {
425
*licenseState =
DrmPlugin
::OfflineLicenseState::kOfflineLicenseStateUnknown;
428
*licenseState = static_cast<
DrmPlugin
::OfflineLicenseState>(reply.readInt32());
446
virtual status_t getHdcpLevels(
DrmPlugin
::HdcpLevel *connected,
447
DrmPlugin
::HdcpLevel *max) const
[
all
...]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DrmPlugin.cpp
24
#include "
DrmPlugin
.h"
74
DrmPlugin
::
DrmPlugin
(SessionLibrary* sessionLibrary)
88
void
DrmPlugin
::initProperties() {
113
void
DrmPlugin
::installSecureStop(const hidl_vec<uint8_t>& sessionId) {
122
Return<void>
DrmPlugin
::openSession(openSession_cb _hidl_cb) {
133
Return<void>
DrmPlugin
::openSession_1_1(SecurityLevel securityLevel,
145
Return<Status>
DrmPlugin
::closeSession(const hidl_vec<uint8_t>& sessionId) {
164
Status_V1_2
DrmPlugin
::getKeyRequestCommon(const hidl_vec<uint8_t>& scope,
236
Return<void>
DrmPlugin
::getKeyRequest
[
all
...]
DrmFactory.cpp
25
#include "
DrmPlugin
.h"
68
DrmPlugin
*plugin = NULL;
76
plugin = new
DrmPlugin
(SessionLibrary::get());
/frameworks/av/media/ndk/
NdkMediaDrm.cpp
74
void notify(
DrmPlugin
::EventType eventType, int extra, const Parcel *obj);
91
void DrmListener::notify(
DrmPlugin
::EventType eventType, int extra, const Parcel *obj) {
115
if (
DrmPlugin
::kDrmPluginEventExpirationUpdate == eventType) {
123
} else if (
DrmPlugin
::kDrmPluginEventKeysChange == eventType) {
160
// translates
DrmPlugin
event types into their NDK equivalents
163
case
DrmPlugin
::kDrmPluginEventProvisionRequired:
166
case
DrmPlugin
::kDrmPluginEventKeyNeeded:
169
case
DrmPlugin
::kDrmPluginEventKeyExpired:
172
case
DrmPlugin
::kDrmPluginEventVendorDefined:
175
case
DrmPlugin
::kDrmPluginEventSessionReclaimed
[
all
...]
/frameworks/av/drm/mediadrm/plugins/mock/
MockDrmCryptoPlugin.cpp
60
DrmPlugin
**plugin)
421
DrmPlugin
::EventType eventType = (
DrmPlugin
::EventType)code;
463
Vector<
DrmPlugin
::KeyStatus> keyStatusList;
464
DrmPlugin
::KeyStatus keyStatus;
468
keyStatus.mType =
DrmPlugin
::kKeyStatusType_Usable;
474
keyStatus.mType =
DrmPlugin
::kKeyStatusType_Expired;
480
keyStatus.mType =
DrmPlugin
::kKeyStatusType_OutputNotAllowed;
486
keyStatus.mType =
DrmPlugin
::kKeyStatusType_StatusPending;
492
keyStatus.mType =
DrmPlugin
::kKeyStatusType_InternalError
[
all
...]
MockDrmCryptoPlugin.h
37
DrmPlugin
**plugin);
53
class MockDrmPlugin : public
DrmPlugin
{
58
// from
DrmPlugin
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DrmPlugin.h
69
struct
DrmPlugin
: public IDrmPlugin {
70
explicit
DrmPlugin
(SessionLibrary* sessionLibrary);
72
virtual ~
DrmPlugin
() { mFileHandle.DeleteAllLicenses(); }
420
CLEARKEY_DISALLOW_COPY_AND_ASSIGN_AND_NEW(
DrmPlugin
);
/frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerDrm.cpp
164
DrmPlugin
::kSecurityLevelUnknown, &isSupported);
Completed in 1058 milliseconds