/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/drm_v1_0/cpp_target/drm/v1_0/ |
H A D | media_key_system_service.cpp.txt | 25 int32_t MediaKeySystemService::GetConfigurationString(const std::string& name, std::string& value) 30 int32_t MediaKeySystemService::SetConfigurationString(const std::string& name, const std::string& v… 45 int32_t MediaKeySystemService::GetStatistics(std::map<std::string, std::string>& statistics) 60 int32_t MediaKeySystemService::ProcessKeySystemResponse(const std::vector<uint8_t>& response) 65 int32_t MediaKeySystemService::GetOemCertificateStatus(OHOS::HDI::Drm::V1_0::CertificateStatus& sta… 75 int32_t MediaKeySystemService::CreateMediaKeySession(OHOS::HDI::Drm::V1_0::ContentProtectionLevel l… 81 int32_t MediaKeySystemService::GetOfflineMediaKeyIds(std::vector<std::vector<uint8_t>>& mediaKeyIds) 86 int32_t MediaKeySystemService::GetOfflineMediaKeyStatus(const std::vector<uint8_t>& mediaKeyId, 92 int32_t MediaKeySystemService::ClearOfflineMediaKeys(const std::vector<uint8_t>& mediaKeyId) 97 int32_t MediaKeySystemService::GetOemCertificate(sptr<OHOS::HDI::Drm::V1_0::IOemCertificate>& oemCe… [all …]
|
H A D | media_key_system_service.h.txt | 25 class MediaKeySystemService : public OHOS::HDI::Drm::V1_0::IMediaKeySystem { 27 MediaKeySystemService() = default; 28 virtual ~MediaKeySystemService() = default;
|
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/server/src/ |
H A D | mediakeysystem_service.cpp | 33 MediaKeySystemService::MediaKeySystemService(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> hdiKeySyst… in MediaKeySystemService() function in OHOS::DrmStandard::MediaKeySystemService 40 MediaKeySystemService::MediaKeySystemService(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> hdiKeySyst… in MediaKeySystemService() function in OHOS::DrmStandard::MediaKeySystemService 49 MediaKeySystemService::~MediaKeySystemService() in ~MediaKeySystemService() 62 void MediaKeySystemService::OnDrmPluginDied(std::string &name) in OnDrmPluginDied() 65 int32_t MediaKeySystemService::CloseMediaKeySystemServiceByCallback() in CloseMediaKeySystemServiceByCallback() 94 int32_t MediaKeySystemService::Release() in Release() 106 int32_t MediaKeySystemService::SetMediaKeySystemServiceOperatorsCallback( in SetMediaKeySystemServiceOperatorsCallback() 279 int32_t MediaKeySystemService::SetBundleName() in SetBundleName() 342 int32_t MediaKeySystemService::GetMaxContentProtectionLevel( in GetMaxContentProtectionLevel() 467 std::string MediaKeySystemService::GetPluginName() in GetPluginName() [all …]
|
H A D | mediakeysystemfactory_service.cpp | 48 std::set<sptr<MediaKeySystemService>> mediaKeySystemServiceSet = pidIt->second; in REGISTER_SYSTEM_ABILITY_BY_ID() 171 sptr<MediaKeySystemService> mediaKeySystemService = nullptr; in CreateMediaKeySystem() 186 …mediaKeySystemService = new(std::nothrow) MediaKeySystemService(hdiMediaKeySystem, statisticsInfo); in CreateMediaKeySystem() 209 int32_t MediaKeySystemFactoryService::CloseMediaKeySystemService(sptr<MediaKeySystemService> mediaK… in CloseMediaKeySystemService()
|
/ohos5.0/drivers/peripheral/clearplay/hdi_service/src/ |
H A D | media_key_system_service.cpp | 29 MediaKeySystemService::~MediaKeySystemService() in ~MediaKeySystemService() 43 int32_t MediaKeySystemService::GetConfigurationString(const std::string &name, std::string &value) in GetConfigurationString() 99 int32_t MediaKeySystemService::GetStatistics(std::map<std::string, std::string> &statistics) in GetStatistics() 127 int32_t MediaKeySystemService::GetMaxContentProtectionLevel(ContentProtectionLevel &level) in GetMaxContentProtectionLevel() 152 int32_t MediaKeySystemService::ProcessKeySystemResponse(const std::vector<uint8_t> &response) in ProcessKeySystemResponse() 161 int32_t MediaKeySystemService::CreateMediaKeySession(ContentProtectionLevel level, in CreateMediaKeySession() 234 int32_t MediaKeySystemService::ClearOfflineMediaKeys(const std::vector<uint8_t> &licenseId) in ClearOfflineMediaKeys() 275 int32_t MediaKeySystemService::GetOemCertificateStatus(CertificateStatus &status) in GetOemCertificateStatus() 292 int32_t MediaKeySystemService::Destroy() in Destroy() 330 int32_t MediaKeySystemService::GetOfflineKeyFromFile() in GetOfflineKeyFromFile() [all …]
|
H A D | media_key_system_factory_service.cpp | 41 …sptr<OHOS::HDI::Drm::V1_0::MediaKeySystemService> mediaKeySystem = mediaKeySystemMap_.begin()->fir… in ~MediaKeySystemFactoryService() 77 sptr<MediaKeySystemService> newMediaKeySystem = new (std::nothrow) MediaKeySystemService(); in CreateMediaKeySystem() 97 int32_t MediaKeySystemFactoryService::CloseMediaKeySystemService(sptr<MediaKeySystemService> mediaK… in CloseMediaKeySystemService()
|
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/drmservice_fuzzer/ |
H A D | drmservice_fuzzer.h | 47 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 49 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 51 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 53 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 55 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 57 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 59 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 61 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 63 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); 65 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr); [all …]
|
H A D | drmservice_fuzzer.cpp | 159 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceCreateMediaKeySessionTest() 175 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceCloseMediaKeySessionServiceTest() 188 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceGenerateKeySystemRequestTest() 202 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceProcessKeySystemResponseTest() 219 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceGenerateSetConfigurationStringTest() 237 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceSetConfigurationStringTest() 255 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceGetConfigurationStringTest() 271 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceSetConfigurationByteArrayTest() 288 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceGetConfigurationByteArrayTest() 304 std::shared_ptr<MediaKeySystemService> mediaKeySystemServicePtr) in DrmserviceGetStatisticsTest() [all …]
|
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/server/include/ |
H A D | mediakeysystem_service.h | 43 class MediaKeySystemService : public MediaKeySystemServiceStub, 48 explicit MediaKeySystemService(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> hdiKeySystem); 49 explicit MediaKeySystemService(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem> hdiKeySystem, 51 ~MediaKeySystemService() override; 102 … virtual int32_t CloseMediaKeySystemService(sptr<MediaKeySystemService> mediaKeySystemService) = 0;
|
H A D | mediakeysystemfactory_service.h | 61 int32_t CloseMediaKeySystemService(sptr<MediaKeySystemService> mediaKeySystemService) override; 74 std::map<int32_t, std::set<sptr<MediaKeySystemService>>> mediaKeySystemForPid_;
|
/ohos5.0/drivers/peripheral/clearplay/hdi_service/include/drm/v1_0/ |
H A D | media_key_system_service.h | 28 class MediaKeySystemService : public OHOS::HDI::Drm::V1_0::IMediaKeySystem, public KeySessionServic… 30 MediaKeySystemService() = default; 31 virtual ~MediaKeySystemService(); 96 virtual int32_t CloseMediaKeySystemService(sptr<MediaKeySystemService> mediaKeySystem) = 0;
|
H A D | media_key_system_factory_service.h | 35 …int32_t CloseMediaKeySystemService(sptr<OHOS::HDI::Drm::V1_0::MediaKeySystemService> mediaKeySyste… 38 std::map<sptr<OHOS::HDI::Drm::V1_0::MediaKeySystemService>, bool> mediaKeySystemMap_;
|
/ohos5.0/foundation/multimedia/drm_framework/ |
H A D | README_zh.md | 20 | MediaKeySystemClient | 对外提供MediaKeySystem API接口,调用MediaKeySystemService,用于DRM证书Provision(下载)、创建M… 21 | MediaKeySystemService | 通过MediaKeySystem HDI调用底层插件,提供DRM证书Provision(下载)、创建MediaKeySession、获取/设置属性…
|