/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/ |
D | Android.bp | 20 "android.hardware.drm-V1-ndk", 43 "android.hardware.drm-V1-ndk", 77 name: "android.hardware.drm-service.clearkey", 83 init_rc: ["android.hardware.drm-service.clearkey.rc"], 84 vintf_fragments: ["android.hardware.drm-service.clearkey.xml"], 88 name: "android.hardware.drm-service-lazy.clearkey", 93 overrides: ["android.hardware.drm-service.clearkey"], 95 init_rc: ["android.hardware.drm-service-lazy.clearkey.rc"], 96 vintf_fragments: ["android.hardware.drm-service.clearkey.xml"], 100 name: "android.hardware.drm-service.clearkey.apex", [all …]
|
D | DrmFactory.cpp | 32 namespace drm { namespace 38 using ::aidl::android::hardware::drm::SecurityLevel; 39 using ::aidl::android::hardware::drm::Status; 40 using ::aidl::android::hardware::drm::Uuid; 44 std::shared_ptr<::aidl::android::hardware::drm::IDrmPlugin>* _aidl_return) { in createDrmPlugin() 62 std::shared_ptr<::aidl::android::hardware::drm::ICryptoPlugin>* _aidl_return) { in createCryptoPlugin() 82 for (const auto& uuid : ::aidl::android::hardware::drm::clearkey::getSupportedCryptoSchemes()) { in getSupportedCryptoSchemes()
|
D | DrmPlugin.cpp | 65 namespace drm { namespace 192 ::aidl::android::hardware::drm::HdcpLevels* _aidl_return) { in getHdcpLevels() 200 const std::string& in_mimeType, ::aidl::android::hardware::drm::KeyType in_keyType, in getKeyRequest() 201 const std::vector<::aidl::android::hardware::drm::KeyValue>& in_optionalParameters, in getKeyRequest() 202 ::aidl::android::hardware::drm::KeyRequest* _aidl_return) { in getKeyRequest() 266 std::vector<::aidl::android::hardware::drm::LogMessage>* _aidl_return) { in getLogMessages() 273 std::vector<::aidl::android::hardware::drm::LogMessage> logs = { in getLogMessages() 274 {timeMillis, ::aidl::android::hardware::drm::LogPriority::ERROR, in getLogMessages() 281 std::vector<::aidl::android::hardware::drm::DrmMetricGroup>* _aidl_return) { in getMetrics() 322 ::aidl::android::hardware::drm::NumberOfSessions* _aidl_return) { in getNumberOfSessions() [all …]
|
D | android.hardware.drm-service.clearkey.rc | 1 service vendor.drm-clearkey-service /vendor/bin/hw/android.hardware.drm-service.clearkey 7 interface aidl android.hardware.drm.IDrmFactory/clearkey
|
D | android.hardware.drm-service-lazy.clearkey.rc | 1 service vendor.drm-clearkey-service /vendor/bin/hw/android.hardware.drm-service-lazy.clearkey 9 interface aidl android.hardware.drm.IDrmFactory/clearkey
|
/frameworks/av/drm/libmediadrm/ |
D | Android.bp | 66 "android.hardware.drm@1.0", 67 "android.hardware.drm@1.1", 68 "android.hardware.drm@1.2", 69 "android.hardware.drm@1.3", 70 "android.hardware.drm@1.4", 73 "android.hardware.drm-V1-ndk", 83 "android.hardware.drm@1.0", 84 "android.hardware.drm@1.1", 85 "android.hardware.drm@1.2", 86 "android.hardware.drm@1.4", [all …]
|
D | CryptoHalHidl.cpp | 33 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; 54 typedef drm::V1_2::Status Status_V1_2; [all …]
|
D | CryptoHalAidl.cpp | 31 using ::aidl::android::hardware::drm::CryptoSchemes; 32 using DestinationBufferAidl = ::aidl::android::hardware::drm::DestinationBuffer; 33 using ::aidl::android::hardware::drm::Mode; 34 using ::aidl::android::hardware::drm::Pattern; 35 using SharedBufferAidl = ::aidl::android::hardware::drm::SharedBuffer; 36 using ::aidl::android::hardware::drm::Status; 37 using ::aidl::android::hardware::drm::SubSample; 38 using ::aidl::android::hardware::drm::Uuid; 39 using ::aidl::android::hardware::drm::SecurityLevel; 41 using ::aidl::android::hardware::drm::DecryptArgs; [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 48 namespace drm = ::android::hardware::drm; 246 jobject hidlLogMessagesToJavaList(JNIEnv *env, const Vector<drm::V1_4::LogMessage> &logs) { in hidlLogMessagesToJavaList() 469 JNIEnv *env, const sp<IDrm> &drm, const DrmStatus &err, const char *msg = NULL) { in throwExceptionAsNecessary() argument 471 if (drm != NULL && err != OK) { in throwExceptionAsNecessary() 472 msgStr = DrmUtils::GetExceptionMessage(err, msg, drm); in throwExceptionAsNecessary() 533 sp<IDrm> drm = MakeDrm(); in MakeDrm() local 535 if (drm == NULL) { in MakeDrm() 539 DrmStatus err = drm->createPlugin(uuid, appPackageName); in MakeDrm() 545 return drm; in MakeDrm() 628 sp<IDrm> drm = MakeDrm(); in IsCryptoSchemeSupported() local [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/include/ |
D | DrmPlugin.h | 33 namespace drm { 37 using ::aidl::android::hardware::drm::KeyType; 38 using ::aidl::android::hardware::drm::Status; 57 ::aidl::android::hardware::drm::HdcpLevels* _aidl_return) override; 60 const std::string& in_mimeType, ::aidl::android::hardware::drm::KeyType in_keyType, 61 const std::vector<::aidl::android::hardware::drm::KeyValue>& in_optionalParameters, 62 ::aidl::android::hardware::drm::KeyRequest* _aidl_return) override; 64 std::vector<::aidl::android::hardware::drm::LogMessage>* _aidl_return) override; 67 std::vector<::aidl::android::hardware::drm::DrmMetricGroup>* _aidl_return) override; 69 ::aidl::android::hardware::drm::NumberOfSessions* _aidl_return) override; [all …]
|
D | AidlUtils.h | 31 namespace drm { 34 inline ::aidl::android::hardware::drm::Status toMockStatus( in toMockStatus() 35 ::aidl::android::hardware::drm::Status status) { in toMockStatus() 37 case ::aidl::android::hardware::drm::Status::ERROR_DRM_INSUFFICIENT_SECURITY: in toMockStatus() 38 case ::aidl::android::hardware::drm::Status::ERROR_DRM_FRAME_TOO_LARGE: in toMockStatus() 39 case ::aidl::android::hardware::drm::Status::ERROR_DRM_SESSION_LOST_STATE: in toMockStatus() 40 return ::aidl::android::hardware::drm::Status::ERROR_DRM_UNKNOWN; in toMockStatus() 46 inline ::ndk::ScopedAStatus toNdkScopedAStatus(::aidl::android::hardware::drm::Status status, 76 return toNdkScopedAStatus(static_cast<::aidl::android::hardware::drm::Status>(res)); in toNdkScopedAStatus()
|
D | CryptoPlugin.h | 39 namespace drm { 43 using ::aidl::android::hardware::drm::DecryptArgs; 44 using ::aidl::android::hardware::drm::Status; 49 SharedBufferBase(const ::aidl::android::hardware::drm::SharedBuffer& mem); 66 std::vector<::aidl::android::hardware::drm::LogMessage>* _aidl_return) override; 76 const ::aidl::android::hardware::drm::SharedBuffer& in_base) override; 78 ::aidl::android::hardware::drm::Status getInitStatus() const { return mInitStatus; } in getInitStatus() 87 ::aidl::android::hardware::drm::Status mInitStatus;
|
D | DrmFactory.h | 31 namespace drm { 39 const ::aidl::android::hardware::drm::Uuid& in_uuid, 41 std::shared_ptr<::aidl::android::hardware::drm::IDrmPlugin>* _aidl_return) override; 44 const ::aidl::android::hardware::drm::Uuid& in_uuid, 46 std::shared_ptr<::aidl::android::hardware::drm::ICryptoPlugin>* _aidl_return) override; 49 ::aidl::android::hardware::drm::CryptoSchemes* _aidl_return) override;
|
/frameworks/av/drm/drmserver/ |
D | drmserver.rc | 1 service drm /system/bin/drmserver 4 user drm 5 group drm system inet drmrpc readproc 8 on property:drm.service.enabled=true 9 start drm 11 on property:drm.service.enabled=1 12 start drm
|
D | drmserver_dynamic.rc | 3 on property:drm.service.enabled=true 4 start drm 6 on property:drm.service.enabled=1 7 start drm
|
D | drmserver.zygote64.rc | 1 service drm /system/bin/drmserver64 4 user drm 5 group drm system inet drmrpc readproc
|
D | drmserver.zygote64_32.rc | 1 service drm /system/bin/drmserver32 4 user drm 5 group drm system inet drmrpc readproc
|
/frameworks/proto_logging/stats/atoms/media/ |
D | media_drm_atoms.proto | 6 import "frameworks/proto_logging/stats/enums/media/drm/enums.proto"; 14 * frameworks/av/drm/libmediadrm/DrmHal.cpp 19 optional android.media.drm.DrmScheme scheme = 1; 25 optional android.media.drm.IDrmFrontend frontend = 5; 34 * frameworks/av/drm/libmediadrm/DrmHal.cpp 39 optional android.media.drm.DrmScheme scheme = 1; 45 optional android.media.drm.IDrmFrontend frontend = 5; 55 optional android.media.drm.SecurityLevel security_level = 9; 57 optional android.media.drm.DrmApi api = 10; 59 optional android.media.drm.Status error_code = 11; [all …]
|
/frameworks/av/drm/libmediadrm/interface/mediadrm/ |
D | ICrypto.h | 31 namespace drm { 44 namespace drm = ::android::hardware::drm; variable 45 using drm::V1_0::SharedBuffer; 78 const drm::V1_0::SharedBuffer &/*source*/, size_t /*offset*/, 80 const drm::V1_0::DestinationBuffer &/*destination*/, AString * /*errorDetailMsg*/) = 0; 91 virtual status_t getLogMessages(Vector<drm::V1_4::LogMessage> &logs) const = 0;
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | CryptoHalHidl.h | 30 namespace drm = ::android::hardware::drm; variable 31 using drm::V1_0::ICryptoFactory; 32 using drm::V1_0::ICryptoPlugin; 33 using drm::V1_0::SharedBuffer; 34 using drm::V1_0::DestinationBuffer; 74 virtual status_t getLogMessages(Vector<drm::V1_4::LogMessage> &logs) const; 81 sp<drm::V1_2::ICryptoPlugin> mPluginV1_2;
|
D | DrmHalHidl.h | 35 namespace drm = ::android::hardware::drm; variable 36 using drm::V1_0::EventType; 37 using drm::V1_0::IDrmFactory; 38 using drm::V1_0::IDrmPlugin; 39 using drm::V1_0::IDrmPluginListener; 40 using drm::V1_1::SecurityLevel; 41 using drm::V1_2::KeyStatus; 42 using drm::V1_2::OfflineLicenseState; 47 typedef drm::V1_2::IDrmPluginListener IDrmPluginListener_V1_2; 48 typedef drm::V1_0::KeyStatus KeyStatus_V1_0; [all …]
|
D | CryptoHalAidl.h | 26 using IDrmFactoryAidl = ::aidl::android::hardware::drm::IDrmFactory; 27 using ICryptoPluginAidl = ::aidl::android::hardware::drm::ICryptoPlugin; 28 using ::aidl::android::hardware::drm::Uuid; 32 using ::android::hardware::drm::V1_0::DestinationBuffer; 33 using ::android::hardware::drm::V1_0::SharedBuffer; 60 virtual status_t getLogMessages(Vector<drm::V1_4::LogMessage>& logs) const;
|
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
D | MediaDrmSigner.java | 98 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/fuzzer/ |
D | Android.bp | 57 "android.hardware.drm@1.0", 58 "android.hardware.drm@1.1", 59 "android.hardware.drm@1.2", 60 "android.hardware.drm@1.3", 61 "android.hardware.drm@1.4", 64 "android.hardware.drm-V1-ndk", 68 "android-drm-team@google.com",
|
/frameworks/av/ |
D | METADATA | 6 " drm/mediadrm/plugins/clearkey/hidl/DeviceFiles.cpp\n" 7 " drm/mediadrm/plugins/clearkey/hidl/MemoryFileSystem.cpp\n" 8 " drm/mediadrm/plugins/clearkey/hidl/include/DeviceFiles.h\n" 9 " drm/mediadrm/plugins/clearkey/hidl/protos/DeviceFiles.proto\n" 10 " drm/mediadrm/plugins/clearkey/hidl/include/MemoryFileSystem.h\n"
|