Home
last modified time | relevance | path

Searched refs:drm (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp497 sp<IDrm> drm = service->makeDrm(); in MakeDrm() local
498 if (drm == NULL || (drm->initCheck() != OK && drm->initCheck() != NO_INIT)) { in MakeDrm()
502 return drm; in MakeDrm()
507 sp<IDrm> drm = MakeDrm(); in MakeDrm() local
509 if (drm == NULL) { in MakeDrm()
513 status_t err = drm->createPlugin(uuid, appPackageName); in MakeDrm()
519 return drm; in MakeDrm()
551 sp<IDrm> drm = MakeDrm(); in IsCryptoSchemeSupported() local
553 if (drm == NULL) { in IsCryptoSchemeSupported()
557 return drm->isCryptoSchemeSupported(uuid, mimeType, securityLevel, isSupported); in IsCryptoSchemeSupported()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
Dandroid.hardware.drm@1.2-service.clearkey.rc1 service vendor.drm-clearkey-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-service.clearkey
2 interface android.hardware.drm@1.0::ICryptoFactory clearkey
3 interface android.hardware.drm@1.0::IDrmFactory clearkey
4 interface android.hardware.drm@1.1::ICryptoFactory clearkey
5 interface android.hardware.drm@1.1::IDrmFactory clearkey
6 interface android.hardware.drm@1.2::ICryptoFactory clearkey
7 interface android.hardware.drm@1.2::IDrmFactory clearkey
Dandroid.hardware.drm@1.2-service-lazy.clearkey.rc1 service vendor.drm-clearkey-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-service-lazy.clearkey
2 interface android.hardware.drm@1.0::ICryptoFactory clearkey
3 interface android.hardware.drm@1.0::IDrmFactory clearkey
4 interface android.hardware.drm@1.1::ICryptoFactory clearkey
5 interface android.hardware.drm@1.1::IDrmFactory clearkey
6 interface android.hardware.drm@1.2::ICryptoFactory clearkey
7 interface android.hardware.drm@1.2::IDrmFactory clearkey
DAndroid.bp43 "android.hardware.drm@1.0",
44 "android.hardware.drm@1.1",
45 "android.hardware.drm@1.2",
81 name: "android.hardware.drm@1.2-service.clearkey",
84 init_rc: ["android.hardware.drm@1.2-service.clearkey.rc"],
87 name: "android.hardware.drm@1.2-service-lazy.clearkey",
88 overrides: ["android.hardware.drm@1.2-service.clearkey"],
91 init_rc: ["android.hardware.drm@1.2-service-lazy.clearkey.rc"],
Dservice.cpp28 using android::hardware::drm::V1_2::ICryptoFactory;
29 using android::hardware::drm::V1_2::IDrmFactory;
30 using android::hardware::drm::V1_2::clearkey::CryptoFactory;
31 using android::hardware::drm::V1_2::clearkey::DrmFactory;
DserviceLazy.cpp28 using android::hardware::drm::V1_2::ICryptoFactory;
29 using android::hardware::drm::V1_2::IDrmFactory;
30 using android::hardware::drm::V1_2::clearkey::CryptoFactory;
31 using android::hardware::drm::V1_2::clearkey::DrmFactory;
DDeviceFiles.cpp16 using android::hardware::drm::V1_2::clearkey::OfflineFile;
17 using android::hardware::drm::V1_2::clearkey::HashedFile;
18 using android::hardware::drm::V1_2::clearkey::License;
19 using android::hardware::drm::V1_2::clearkey::License_LicenseState_ACTIVE;
20 using android::hardware::drm::V1_2::clearkey::License_LicenseState_RELEASING;
40 namespace drm { namespace
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DCryptoPlugin.h34 namespace drm {
38 namespace drm = ::android::hardware::drm; variable
39 using drm::V1_0::DestinationBuffer;
40 using drm::V1_0::Mode;
41 using drm::V1_0::Pattern;
42 using drm::V1_0::SharedBuffer;
43 using drm::V1_0::Status;
44 using drm::V1_0::SubSample;
55 typedef drm::V1_2::Status Status_V1_2;
57 struct CryptoPlugin : public drm::V1_2::ICryptoPlugin {
DDrmPlugin.h34 namespace drm {
38 namespace drm = ::android::hardware::drm; variable
39 using drm::V1_0::EventType;
40 using drm::V1_0::IDrmPluginListener;
41 using drm::V1_0::KeyRequestType;
42 using drm::V1_0::KeyStatus;
43 using drm::V1_0::KeyType;
44 using drm::V1_0::KeyValue;
45 using drm::V1_0::SecureStop;
46 using drm::V1_0::SecureStopId;
[all …]
DSession.h29 namespace drm {
33 namespace drm = ::android::hardware::drm; variable
34 using drm::V1_0::Status;
35 using drm::V1_0::SubSample;
37 typedef drm::V1_2::Status Status_V1_2;
DClearKeyTypes.h26 namespace drm {
30 using ::android::hardware::drm::V1_0::KeyValue;
31 using ::android::hardware::drm::V1_1::SecurityLevel;
38 typedef ::android::hardware::drm::V1_0::SubSample SubSample;
DCreatePluginFactories.h25 namespace drm {
29 using ::android::hardware::drm::V1_2::ICryptoFactory;
30 using ::android::hardware::drm::V1_2::IDrmFactory;
DAesCtrDecryptor.h24 namespace drm {
28 using ::android::hardware::drm::V1_0::Status;
29 using ::android::hardware::drm::V1_0::SubSample;
DCryptoFactory.h27 namespace drm {
31 using ::android::hardware::drm::V1_2::ICryptoFactory;
32 using ::android::hardware::drm::V1_0::ICryptoPlugin;
/frameworks/av/drm/libmediadrm/
DAndroid.bp54 "android.hardware.drm@1.0",
55 "android.hardware.drm@1.1",
56 "android.hardware.drm@1.2",
67 // This is the version of the drm metrics configured for protobuf lite.
88 "android.hardware.drm@1.0",
89 "android.hardware.drm@1.1",
90 "android.hardware.drm@1.2",
105 // This is the version of the drm metrics library configured for full protobuf.
126 "android.hardware.drm@1.0",
127 "android.hardware.drm@1.1",
[all …]
DCryptoHal.cpp33 using drm::V1_0::BufferType;
34 using drm::V1_0::DestinationBuffer;
35 using drm::V1_0::ICryptoFactory;
36 using drm::V1_0::ICryptoPlugin;
37 using drm::V1_0::Mode;
38 using drm::V1_0::Pattern;
39 using drm::V1_0::SharedBuffer;
40 using drm::V1_0::Status;
41 using drm::V1_0::SubSample;
53 typedef drm::V1_2::Status Status_V1_2;
[all …]
DDrmSessionManager.cpp51 static uint64_t toClientId(const sp<IResourceManagerClient>& drm) { in toClientId() argument
52 return reinterpret_cast<int64_t>(drm.get()); in toClientId()
122 const sp<IResourceManagerClient>& drm, const Vector<uint8_t> &sessionId) { in addSession() argument
124 ALOGV("addSession(pid %d, uid %d, drm %p, sessionId %s)", pid, uid, drm.get(), in addSession()
132 int64_t clientId = toClientId(drm); in addSession()
134 mService->addResource(pid, uid, clientId, drm, toResourceVec(sessionId)); in addSession()
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java98 public static CertificateRequest getCertificateRequest(MediaDrm drm, int certType, in getCertificateRequest() argument
100 return new CertificateRequest(drm.getCertificateRequest(certType, certAuthority)); in getCertificateRequest()
118 public static Certificate provideCertificateResponse(MediaDrm drm, byte[] response) in provideCertificateResponse() argument
120 return new Certificate(drm.provideCertificateResponse(response)); in provideCertificateResponse()
133 public static byte[] signRSA(MediaDrm drm, byte[] sessionId, in signRSA() argument
135 return drm.signRSA(sessionId, algorithm, wrappedKey, message); in signRSA()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmHal.h37 namespace drm = ::android::hardware::drm; variable
38 using drm::V1_0::EventType;
39 using drm::V1_0::IDrmFactory;
40 using drm::V1_0::IDrmPlugin;
41 using drm::V1_0::IDrmPluginListener;
42 using drm::V1_1::SecurityLevel;
43 using drm::V1_2::KeyStatus;
44 using drm::V1_2::OfflineLicenseState;
49 typedef drm::V1_2::IDrmPluginListener IDrmPluginListener_V1_2;
50 typedef drm::V1_0::KeyStatus KeyStatus_V1_0;
[all …]
DCryptoHal.h30 namespace drm = ::android::hardware::drm; variable
31 using drm::V1_0::ICryptoFactory;
32 using drm::V1_0::ICryptoPlugin;
33 using drm::V1_0::SharedBuffer;
76 sp<drm::V1_2::ICryptoPlugin> mPluginV1_2;
/frameworks/av/drm/libmediadrm/tests/
DAndroid.bp21 "android.hardware.drm@1.0",
22 "android.hardware.drm@1.1",
23 "android.hardware.drm@1.2",
34 "frameworks/av/drm/libmediadrm/include",
/frameworks/av/drm/drmserver/
Ddrmserver.rc1 service drm /system/bin/drmserver
3 user drm
4 group drm system inet drmrpc readproc
/frameworks/av/media/libmediaplayerservice/tests/
DAndroid.bp15 "android.hardware.drm@1.0",
16 "android.hardware.drm@1.1",
17 "android.hardware.drm@1.2",
/frameworks/av/services/mediadrm/
DAndroid.mk35 android.hardware.drm@1.0 \
36 android.hardware.drm@1.1 \
37 android.hardware.drm@1.2
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp44 sp<IDrm> drm = service->makeDrm(); in CreateDrm() local
45 if (drm == NULL) { in CreateDrm()
51 status = drm->initCheck(); in CreateDrm()
56 return drm; in CreateDrm()
158 sp<IDrm> drm = CreateDrm(&status); in getSupportedDrmSchemes() local
159 if (drm != NULL) { in getSupportedDrmSchemes()
163 status = drm->isCryptoSchemeSupported(uuid.ptr(), String8(), in getSupportedDrmSchemes()
170 drm.clear(); in getSupportedDrmSchemes()

1234