Home
last modified time | relevance | path

Searched refs:ContentProtectionLevel (Results 1 - 25 of 33) sorted by relevance

12

/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Ddrm_enum_napi.cpp83 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_UNKNOWN },
85 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_SW_CRYPTO },
87 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_HW_CRYPTO },
89 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_ENHANCED_HW },
91 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_MAX },
111 { "ContentProtectionLevel", g_contentProtectionLevel },
H A Dmedia_key_system_napi.cpp233 IMediaKeySessionService::ContentProtectionLevel securityLevel = in IsMediaKeySystemSupported()
234 (IMediaKeySessionService::ContentProtectionLevel)jsContentProtectionLevel; in IsMediaKeySystemSupported()
237 DRM_ERR_LOG("ContentProtectionLevel is invalid"); in IsMediaKeySystemSupported()
238 NapiDrmError::ThrowError(env, "param ContentProtectionLevel exceeds reasonable range!", DRM_INVALID_PARAM); in IsMediaKeySystemSupported()
342 IMediaKeySessionService::ContentProtectionLevel securityLevel = in CreateMediaKeySession()
343 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_UNKNOWN; in CreateMediaKeySession()
356 static_cast<IMediaKeySessionService::ContentProtectionLevel>(jsContentProtectionLevel); in CreateMediaKeySession()
357 if (securityLevel <= IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_UNKNOWN || in CreateMediaKeySession()
358 securityLevel >= IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_MAX) { in CreateMediaKeySession()
359 NapiDrmError::ThrowError(env, "The param ContentProtectionLevel exceed in CreateMediaKeySession()
[all...]
/foundation/multimedia/drm_framework/services/drm_service/client/include/
H A Dmediakeysystem_service_proxy.h35 int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
37 int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
H A Dkey_session_service_proxy.h42 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysystemndkfactory_fuzzer/
H A Dmediakeysystemndkfactory_fuzzer.h41 DRM_ContentProtectionLevel ContentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; member in OHOS::DrmStandard::MediaKeySystemFactoryNdkFuzzer
/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/
H A Dmedia_key_system_impl.h51 int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
54 int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel);
H A Dmedia_key_system_factory_impl.h40 IMediaKeySessionService::ContentProtectionLevel securityLevel);
H A Dkey_session_impl.h66 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel);
/foundation/multimedia/drm_framework/services/drm_service/ipc/
H A Di_keysession_service.h60 enum ContentProtectionLevel { enum in OHOS::DrmStandard::IMediaKeySessionService
98 virtual int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) = 0;
H A Di_mediakeysystem_service.h70 virtual int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
73 virtual int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) = 0;
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysessionndk_fuzzer/
H A Dmediakeysessionndk_fuzzer.h48 DRM_ContentProtectionLevel ContentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; member in OHOS::DrmStandard::MediaKeysessionNdkFuzzer
H A Dmediakeysessionndk_fuzzer.cpp221 OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &ContentProtectionLevel, &mediaKeySession); in FuzzTestMediaKeySessionGenerateLicenseNdk()
273 OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &ContentProtectionLevel, &mediaKeySession); in FuzzTestMediaKeySessionLicenseOperationNdk()
316 OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &ContentProtectionLevel, &mediaKeySession); in FuzzTestMediaKeySessionsSetUpLicenseNdk()
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeydecryptndk_fuzzer/
H A Dmediakeydecryptndk_fuzzer.h46 DRM_ContentProtectionLevel ContentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; member in OHOS::DrmStandard::MediadecryptNdkFuzzer
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysystemndk_fuzzer/
H A Dmediakeysystemndk_fuzzer.h50 DRM_ContentProtectionLevel ContentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; member in OHOS::DrmStandard::MediaKeySystemNdkFuzzer
H A Dmediakeysystemndk_fuzzer.cpp284 OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &ContentProtectionLevel, &session); in FuzzTestMediaKeySystemCertificateOperationNdk()
290 OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &ContentProtectionLevel, &session); in FuzzTestMediaKeySystemCertificateOperationNdk()
312 OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &ContentProtectionLevel, &mediaKeySession); in FuzzTestMediaKeySystemLicenseOperationNdk()
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmediakeysystem_service.cpp230 int32_t MediaKeySystemService::CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel, in CreateMediaKeySession()
245 ret = hdiKeySystem_->CreateMediaKeySession((OHOS::HDI::Drm::V1_0::ContentProtectionLevel)securityLevel, in CreateMediaKeySession()
337 IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetMaxContentProtectionLevel()
341 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level; in GetMaxContentProtectionLevel()
351 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)level; in GetMaxContentProtectionLevel()
H A Dkey_session_service.cpp251 IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetContentProtectionLevel()
258 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level; in GetContentProtectionLevel()
264 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)level; in GetContentProtectionLevel()
H A Dmediakeysystem_service_stub.cpp118 int32_t ret = stub->CreateMediaKeySession((IMediaKeySessionService::ContentProtectionLevel)securityLevel, in ProcessCreatekeySession()
277 IMediaKeySessionService::ContentProtectionLevel securityLevel = in ProcessGetMaxContentProtectionLevel()
/foundation/multimedia/drm_framework/services/drm_service/server/include/
H A Dmediakeysystem_service.h59 int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
60 int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
H A Dkey_session_service.h57 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysystem.cpp62 DRM_ContentProtectionLevel ContentProtectionLevel) in OH_MediaKeySystem_IsSupported3()
75 IMediaKeySessionService::ContentProtectionLevel securityLevel = in OH_MediaKeySystem_IsSupported3()
76 (IMediaKeySessionService::ContentProtectionLevel)ContentProtectionLevel; in OH_MediaKeySystem_IsSupported3()
79 DRM_ERR_LOG("ContentProtectionLevel is invalid"); in OH_MediaKeySystem_IsSupported3()
344 IMediaKeySessionService::ContentProtectionLevel level = in OH_MediaKeySystem_GetMaxContentProtectionLevel()
473 IMediaKeySessionService::ContentProtectionLevel secureLevel = in OH_MediaKeySystem_CreateMediaKeySession()
474 static_cast<IMediaKeySessionService::ContentProtectionLevel>(secure); in OH_MediaKeySystem_CreateMediaKeySession()
61 OH_MediaKeySystem_IsSupported3(const char *uuid, const char *mimeType, DRM_ContentProtectionLevel ContentProtectionLevel) OH_MediaKeySystem_IsSupported3() argument
H A Dnative_mediakeysession.cpp270 IMediaKeySessionService::ContentProtectionLevel level = in OH_MediaKeySession_GetContentProtectionLevel()
271 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_UNKNOWN; in OH_MediaKeySession_GetContentProtectionLevel()
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/drmservice_fuzzer/
H A Ddrmservice_fuzzer.h153 int32_t GetContentProtectionLevel(OHOS::HDI::Drm::V1_0::ContentProtectionLevel &level) override
233 int32_t GetMaxContentProtectionLevel(OHOS::HDI::Drm::V1_0::ContentProtectionLevel &level) override
235 level = OHOS::HDI::Drm::V1_0::ContentProtectionLevel::HW_ENHANCED_SECURE_CRYPTO;
262 int32_t CreateMediaKeySession(OHOS::HDI::Drm::V1_0::ContentProtectionLevel level,
/foundation/multimedia/drm_framework/frameworks/native/drm/
H A Dmedia_key_system_impl.cpp216 int32_t MediaKeySystemImpl::CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel, in CreateMediaKeySession()
271 int32_t MediaKeySystemImpl::GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetMaxContentProtectionLevel()
282 serviceProxy_->GetMaxContentProtectionLevel((IMediaKeySessionService::ContentProtectionLevel *)securityLevel); in GetMaxContentProtectionLevel()
/foundation/multimedia/drm_framework/services/drm_service/client/src/
H A Dmediakeysystem_service_proxy.cpp129 IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetMaxContentProtectionLevel()
147 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)reply.ReadInt32(); in GetMaxContentProtectionLevel()
308 int32_t MediaKeySystemServiceProxy::CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,

Completed in 16 milliseconds

12