/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | drm_enum_napi.cpp | 83 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 D | media_key_system_napi.cpp | 233 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 D | mediakeysystem_service_proxy.h | 35 int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override; 37 int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
|
H A D | key_session_service_proxy.h | 42 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
|
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysystemndkfactory_fuzzer/ |
H A D | mediakeysystemndkfactory_fuzzer.h | 41 DRM_ContentProtectionLevel ContentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; member in OHOS::DrmStandard::MediaKeySystemFactoryNdkFuzzer
|
/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/ |
H A D | media_key_system_impl.h | 51 int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
54 int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel);
|
H A D | media_key_system_factory_impl.h | 40 IMediaKeySessionService::ContentProtectionLevel securityLevel);
|
H A D | key_session_impl.h | 66 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel);
|
/foundation/multimedia/drm_framework/services/drm_service/ipc/ |
H A D | i_keysession_service.h | 60 enum ContentProtectionLevel {
enum in OHOS::DrmStandard::IMediaKeySessionService 98 virtual int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) = 0;
|
H A D | i_mediakeysystem_service.h | 70 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 D | mediakeysessionndk_fuzzer.h | 48 DRM_ContentProtectionLevel ContentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; member in OHOS::DrmStandard::MediaKeysessionNdkFuzzer
|
H A D | mediakeysessionndk_fuzzer.cpp | 221 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 D | mediakeydecryptndk_fuzzer.h | 46 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 D | mediakeysystemndk_fuzzer.h | 50 DRM_ContentProtectionLevel ContentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; member in OHOS::DrmStandard::MediaKeySystemNdkFuzzer
|
H A D | mediakeysystemndk_fuzzer.cpp | 284 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 D | mediakeysystem_service.cpp | 230 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 D | key_session_service.cpp | 251 IMediaKeySessionService::ContentProtectionLevel *securityLevel)
in GetContentProtectionLevel() 258 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level;
in GetContentProtectionLevel() 264 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)level;
in GetContentProtectionLevel()
|
H A D | mediakeysystem_service_stub.cpp | 118 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 D | mediakeysystem_service.h | 59 int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
60 int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
|
H A D | key_session_service.h | 57 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
|
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/ |
H A D | native_mediakeysystem.cpp | 62 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 D | native_mediakeysession.cpp | 270 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 D | drmservice_fuzzer.h | 153 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 D | media_key_system_impl.cpp | 216 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 D | mediakeysystem_service_proxy.cpp | 129 IMediaKeySessionService::ContentProtectionLevel *securityLevel)
in GetMaxContentProtectionLevel() 147 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)reply.ReadInt32();
in GetMaxContentProtectionLevel() 308 int32_t MediaKeySystemServiceProxy::CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
|