Home
last modified time | relevance | path

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

12345678910

/hardware/google/gfxstream/guest/mesa/src/egl/wayland/wayland-drm/
Dwayland-drm.c46 struct wl_drm *drm = buffer->drm; in destroy_buffer() local
48 drm->callbacks.release_buffer(drm->user_data, buffer); in destroy_buffer()
65 struct wl_drm *drm = wl_resource_get_user_data(resource); in create_buffer() local
74 buffer->drm = drm; in create_buffer()
85 drm->callbacks.reference_buffer(drm->user_data, name, fd, buffer); in create_buffer()
100 (void (**)(void)) & drm->buffer_interface, in create_buffer()
171 struct wl_drm *drm = wl_resource_get_user_data(resource); in drm_authenticate() local
173 if (!drm->callbacks.authenticate || in drm_authenticate()
174 drm->callbacks.authenticate(drm->user_data, id) < 0) in drm_authenticate()
191 struct wl_drm *drm = data; in bind_drm() local
[all …]
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/
DIDrmPlugin.aidl34 package android.hardware.drm;
40 android.hardware.drm.HdcpLevels getHdcpLevels(); in getHdcpLevels()
41 ….drm.KeyRequest getKeyRequest(in byte[] scope, in byte[] initData, in String mimeType, in android.… in getKeyRequest()
42 List<android.hardware.drm.LogMessage> getLogMessages(); in getLogMessages()
43 List<android.hardware.drm.DrmMetricGroup> getMetrics(); in getMetrics()
44 android.hardware.drm.NumberOfSessions getNumberOfSessions(); in getNumberOfSessions()
45 List<android.hardware.drm.KeySetId> getOfflineLicenseKeySetIds(); in getOfflineLicenseKeySetIds()
46 …android.hardware.drm.OfflineLicenseState getOfflineLicenseState(in android.hardware.drm.KeySetId k… in getOfflineLicenseState()
49 …android.hardware.drm.ProvisionRequest getProvisionRequest(in String certificateType, in String cer… in getProvisionRequest()
50 android.hardware.drm.SecureStop getSecureStop(in android.hardware.drm.SecureStopId secureStopId); in getSecureStop()
[all …]
DDecryptArgs.aidl34 package android.hardware.drm;
40 android.hardware.drm.Mode mode;
41 android.hardware.drm.Pattern pattern;
42 android.hardware.drm.SubSample[] subSamples;
43 android.hardware.drm.SharedBuffer source;
45 android.hardware.drm.DestinationBuffer destination;
DIDrmFactory.aidl34 package android.hardware.drm;
37 …@nullable android.hardware.drm.IDrmPlugin createDrmPlugin(in android.hardware.drm.Uuid uuid, in St… in createDrmPlugin()
38 …@nullable android.hardware.drm.ICryptoPlugin createCryptoPlugin(in android.hardware.drm.Uuid uuid,… in createCryptoPlugin()
39 android.hardware.drm.CryptoSchemes getSupportedCryptoSchemes(); in getSupportedCryptoSchemes()
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/
DIDrmPlugin.aidl34 package android.hardware.drm;
40 android.hardware.drm.HdcpLevels getHdcpLevels(); in getHdcpLevels()
41 ….drm.KeyRequest getKeyRequest(in byte[] scope, in byte[] initData, in String mimeType, in android.… in getKeyRequest()
42 List<android.hardware.drm.LogMessage> getLogMessages(); in getLogMessages()
43 List<android.hardware.drm.DrmMetricGroup> getMetrics(); in getMetrics()
44 android.hardware.drm.NumberOfSessions getNumberOfSessions(); in getNumberOfSessions()
45 List<android.hardware.drm.KeySetId> getOfflineLicenseKeySetIds(); in getOfflineLicenseKeySetIds()
46 …android.hardware.drm.OfflineLicenseState getOfflineLicenseState(in android.hardware.drm.KeySetId k… in getOfflineLicenseState()
49 …android.hardware.drm.ProvisionRequest getProvisionRequest(in String certificateType, in String cer… in getProvisionRequest()
50 android.hardware.drm.SecureStop getSecureStop(in android.hardware.drm.SecureStopId secureStopId); in getSecureStop()
[all …]
DDecryptArgs.aidl34 package android.hardware.drm;
40 android.hardware.drm.Mode mode;
41 android.hardware.drm.Pattern pattern;
42 android.hardware.drm.SubSample[] subSamples;
43 android.hardware.drm.SharedBuffer source;
45 android.hardware.drm.DestinationBuffer destination;
DIDrmFactory.aidl34 package android.hardware.drm;
37 …@nullable android.hardware.drm.IDrmPlugin createDrmPlugin(in android.hardware.drm.Uuid uuid, in St… in createDrmPlugin()
38 …@nullable android.hardware.drm.ICryptoPlugin createCryptoPlugin(in android.hardware.drm.Uuid uuid,… in createCryptoPlugin()
39 android.hardware.drm.CryptoSchemes getSupportedCryptoSchemes(); in getSupportedCryptoSchemes()
/hardware/interfaces/drm/1.0/default/
DAndroid.bp25 name: "android.hardware.drm@1.0-helper",
58 name: "android.hardware.drm@1.0-multilib-lib",
68 name: "android.hardware.drm@1.0-multilib-exe",
78 name: "android.hardware.drm@1.0-service-defaults",
81 include_dirs: ["hardware/interfaces/drm"],
83 static_libs: ["android.hardware.drm@1.0-helper"],
86 "android.hardware.drm@1.0",
96 //############ Build legacy drm service ############
99 name: "android.hardware.drm@1.0-service",
101 "android.hardware.drm@1.0-multilib-exe",
[all …]
/hardware/interfaces/drm/aidl/vts/include/
Ddrm_hal_common.h49 typedef vector<::aidl::android::hardware::drm::KeyValue> KeyedVector;
53 #define EXPECT_OK(ret) EXPECT_TRUE(::aidl::android::hardware::drm::vts::IsOk(ret))
59 namespace drm {
65 ::aidl::android::hardware::drm::Status DrmErr(const ::ndk::ScopedAStatus& ret);
81 ::aidl::android::hardware::drm::Uuid getAidlUUID();
86 ::aidl::android::hardware::drm::Uuid toAidlUuid(const std::vector<uint8_t>& in_uuid) { in toAidlUuid()
92 bool isCryptoSchemeSupported(::aidl::android::hardware::drm::Uuid uuid,
93 ::aidl::android::hardware::drm::SecurityLevel level,
96 SessionId openSession(::aidl::android::hardware::drm::SecurityLevel level,
97 ::aidl::android::hardware::drm::Status* err);
[all …]
/hardware/interfaces/drm/1.4/vts/functional/
DAndroid.bp27 name: "android.hardware.drm@1.4-vts",
36 "android.hardware.drm@1.0",
37 "android.hardware.drm@1.1",
38 "android.hardware.drm@1.2",
39 "android.hardware.drm@1.3",
40 "android.hardware.drm@1.4",
47 "android.hardware.drm@1.0-helper",
48 "android.hardware.drm@1.2-vts",
52 "android.hardware.drm@1.2-vts",
62 include_dirs: ["hardware/interfaces/drm/1.0/vts/functional"],
[all …]
Ddrm_hal_test.cpp23 namespace drm { namespace
31 sp<drm::V1_4::IDrmPlugin> DrmHalTest::DrmPluginV1_4() const { in DrmPluginV1_4()
32 sp<drm::V1_4::IDrmPlugin> plugin(drm::V1_4::IDrmPlugin::castFrom(drmPlugin)); in DrmPluginV1_4()
98 auto drm = DrmPluginV1_4(); in TEST_P() local
100 if (drm == nullptr || crypto == nullptr) { in TEST_P()
106 r2 = drm->requiresSecureDecoderDefault(mime); in TEST_P()
109 r2 = drm->requiresSecureDecoder(mime, sL); in TEST_P()
122 auto drm = DrmPluginV1_4(); in TEST_P() local
123 if (drm == nullptr) { in TEST_P()
126 V1_0::Status err = drm->setPlaybackId(sid, pbId); in TEST_P()
[all …]
/hardware/interfaces/drm/aidl/android/hardware/drm/
DIDrmPlugin.aidl17 package android.hardware.drm;
19 import android.hardware.drm.DrmMetricGroup;
20 import android.hardware.drm.HdcpLevels;
21 import android.hardware.drm.IDrmPluginListener;
22 import android.hardware.drm.KeySetId;
23 import android.hardware.drm.KeyRequest;
24 import android.hardware.drm.KeyStatus;
25 import android.hardware.drm.KeyType;
26 import android.hardware.drm.KeyValue;
27 import android.hardware.drm.LogMessage;
[all …]
DICryptoPlugin.aidl17 package android.hardware.drm;
20 import android.hardware.drm.DecryptArgs;
21 import android.hardware.drm.DestinationBuffer;
22 import android.hardware.drm.LogMessage;
23 import android.hardware.drm.Mode;
24 import android.hardware.drm.Pattern;
25 import android.hardware.drm.SharedBuffer;
26 import android.hardware.drm.Status;
27 import android.hardware.drm.SubSample;
DDecryptArgs.aidl17 package android.hardware.drm;
19 import android.hardware.drm.DestinationBuffer;
20 import android.hardware.drm.KeyStatusType;
21 import android.hardware.drm.Mode;
22 import android.hardware.drm.Pattern;
23 import android.hardware.drm.SharedBuffer;
24 import android.hardware.drm.SubSample;
DIDrmFactory.aidl17 package android.hardware.drm;
19 import android.hardware.drm.CryptoSchemes;
20 import android.hardware.drm.SecurityLevel;
21 import android.hardware.drm.Uuid;
44 @nullable android.hardware.drm.IDrmPlugin createDrmPlugin( in createDrmPlugin()
58 @nullable android.hardware.drm.ICryptoPlugin createCryptoPlugin( in createCryptoPlugin()
/hardware/interfaces/drm/1.3/vts/functional/
DAndroid.bp27 name: "android.hardware.drm@1.3-vts",
36 "android.hardware.drm@1.0",
37 "android.hardware.drm@1.1",
38 "android.hardware.drm@1.2",
39 "android.hardware.drm@1.3",
47 "android.hardware.drm@1.0-helper",
58 include_dirs: ["hardware/interfaces/drm/1.0/vts/functional"],
63 "android.hardware.drm@1.0-vts",
64 "android.hardware.drm@1.1-vts",
65 "android.hardware.drm@1.2-vts",
[all …]
Ddrm_hal_test_main.cpp45 using android::hardware::drm::V1_0::vts::DrmHalVendorFactoryTest;
46 using android::hardware::drm::V1_0::vts::DrmHalVendorPluginTest;
47 using android::hardware::drm::V1_0::vts::DrmHalVendorDecryptTest;
48 using android::hardware::drm::V1_0::vts::DrmHalClearkeyFactoryTest;
49 using android::hardware::drm::V1_0::vts::DrmHalClearkeyPluginTest;
50 using android::hardware::drm::V1_0::vts::DrmHalClearkeyDecryptTest;
51 using android::hardware::drm::V1_1::vts::DrmHalClearkeyTest;
52 using android::hardware::drm::V1_2::vts::DrmHalTest;
53 using android::hardware::drm::V1_2::vts::DrmHalClearkeyTestV1_2;
54 using android::hardware::drm::V1_3::vts::DrmHalTestV1_3;
[all …]
/hardware/google/graphics/gs101/libhwc2.1/libcolormanager/
DDisplayColorModule.h32 android::DrmDevice *drm, uint32_t &blobId);
34 android::DrmDevice *drm, uint32_t &blobId);
36 android::DrmDevice *drm, uint32_t &blobId);
38 android::DrmDevice *drm, uint32_t &blobId);
40 android::DrmDevice *drm, uint32_t &blobId);
43 android::DrmDevice *drm, uint32_t &blobId);
45 android::DrmDevice *drm, uint32_t &blobId);
47 android::DrmDevice *drm, uint32_t &blobId);
49 android::DrmDevice *drm, uint32_t &blobId);
52 android::DrmDevice *drm, uint32_t &blobId);
[all …]
DDisplayColorModule.cpp46 DrmDevice *drm, uint32_t &blobId) { in eotf() argument
65 int ret = drm->CreatePropertyBlob(&eotfLut, sizeof(eotfLut), &blobId); in eotf()
74 DrmDevice *drm, uint32_t &blobId) { in gm() argument
88 ret = drm->CreatePropertyBlob(&gmMatrix, sizeof(gmMatrix), &blobId); in gm()
97 DrmDevice *drm, uint32_t &blobId) { in dtm() argument
125 int ret = drm->CreatePropertyBlob(&tmData, sizeof(tmData), &blobId); in dtm()
135 DrmDevice *drm, uint32_t &blobId) { in oetf() argument
154 int ret = drm->CreatePropertyBlob(&oetfLut, sizeof(oetfLut), &blobId); in oetf()
163 const GsInterfaceType::IDqe::DqeMatrixData::ConfigType *config, DrmDevice *drm, in gammaMatrix() argument
172 ret = drm->CreatePropertyBlob(&gammaMatrix, sizeof(gammaMatrix), &blobId); in gammaMatrix()
[all …]
/hardware/google/graphics/zuma/libhwc2.1/libcolormanager/
DDisplayColorModule.h34 android::DrmDevice *drm, uint32_t &blobId);
36 android::DrmDevice *drm, uint32_t &blobId);
38 android::DrmDevice *drm, uint32_t &blobId);
40 android::DrmDevice *drm, uint32_t &blobId);
42 android::DrmDevice *drm, uint32_t &blobId);
45 android::DrmDevice *drm, uint32_t &blobId);
47 android::DrmDevice *drm, uint32_t &blobId);
49 android::DrmDevice *drm, uint32_t &blobId);
51 android::DrmDevice *drm, uint32_t &blobId);
54 android::DrmDevice *drm, uint32_t &blobId);
[all …]
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Dresourcemanager.cpp56 std::unique_ptr<DrmDevice> drm = std::make_unique<DrmDevice>(); in AddDrmDevice() local
58 std::tie(ret, displays_added) = drm->Init(path.c_str(), num_displays_); in AddDrmDevice()
61 drms_.push_back(std::move(drm)); in AddDrmDevice()
74 for (auto &drm : drms_) { in AvailableWritebackConnector() local
75 if (drm.get() == drm_device) in AvailableWritebackConnector()
77 writeback_conn = drm->AvailableWritebackConnector(display); in AvailableWritebackConnector()
85 for (auto &drm : drms_) { in GetDrmDevice() local
86 if (drm->HandlesDisplay(display)) in GetDrmDevice()
87 return drm.get(); in GetDrmDevice()
/hardware/qcom/sm7250/display/sdm/libs/core/
DMakefile.am16 drm/hw_color_manager_drm.cpp \
17 drm/hw_device_drm.cpp \
18 drm/hw_events_drm.cpp \
19 drm/hw_info_drm.cpp \
20 drm/hw_peripheral_drm.cpp \
21 drm/hw_scale_drm.cpp \
22 drm/hw_tv_drm.cpp \
23 drm/hw_virtual_drm.cpp
/hardware/qcom/sm8150/display/sdm/libs/core/
DMakefile.am16 drm/hw_color_manager_drm.cpp \
17 drm/hw_device_drm.cpp \
18 drm/hw_events_drm.cpp \
19 drm/hw_info_drm.cpp \
20 drm/hw_peripheral_drm.cpp \
21 drm/hw_scale_drm.cpp \
22 drm/hw_tv_drm.cpp \
23 drm/hw_virtual_drm.cpp \
/hardware/interfaces/drm/1.2/vts/functional/
DAndroid.bp40 name: "android.hardware.drm@1.2-vts",
54 "android.hardware.drm@1.0",
55 "android.hardware.drm@1.1",
56 "android.hardware.drm@1.2",
64 "android.hardware.drm@1.0-helper",
68 "android.hardware.drm@1.2",
71 "android.hardware.drm@1.0-helper",
85 "android.hardware.drm@1.2-vts",
88 "android.hardware.drm@1.0",
89 "android.hardware.drm@1.2",
[all …]
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_test_main.cpp23 using ::android::hardware::drm::V1_0::ICryptoFactory;
24 using ::android::hardware::drm::V1_0::IDrmFactory;
26 using ::android::hardware::drm::V1_0::vts::DrmHalClearkeyFactoryTest;
27 using ::android::hardware::drm::V1_0::vts::DrmHalClearkeyPluginTest;
28 using ::android::hardware::drm::V1_0::vts::DrmHalClearkeyDecryptTest;
30 using ::android::hardware::drm::V1_0::vts::DrmHalVendorFactoryTest;
31 using ::android::hardware::drm::V1_0::vts::DrmHalVendorPluginTest;
32 using ::android::hardware::drm::V1_0::vts::DrmHalVendorDecryptTest;

12345678910