/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/unittest/src/ |
H A D | drm_framework_unittest.cpp | 412 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; variable 418 EXPECT_GT(contentProtectionLevel, 0); 437 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; variable 457 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; variable 478 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; variable 503 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; variable 529 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; variable 559 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; variable 590 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; variable 3211 contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/drm_mock/capi/ |
H A D | media_key_system_mock.cpp | 56 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; in CreateMediaKeySession() local 57 …ret = OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem_, &contentProtectionLevel, &mediaKeyS… in CreateMediaKeySession()
|
/ohos5.0/docs/zh-cn/application-dev/media/drm/ |
H A D | native-drm-mediakeysystem-management.md | 91 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; 92 …ret = OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &contentProtectionLevel, &mediaKeySe… 187 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; 188 ret = OH_MediaKeySystem_GetMaxContentProtectionLevel(mediaKeySystem, &contentProtectionLevel);
|
H A D | drm-mediakeysystem-management.md | 78 …let contentProtectionLevel: drm.ContentProtectionLevel = drm.ContentProtectionLevel.CONTENT_PROTEC… 80 contentProtectionLevel = mediaKeySystem.getMaxContentProtectionLevel();
|
H A D | drm-mediakeysession-management.md | 150 …let contentProtectionLevel: drm.ContentProtectionLevel = mediaKeySession.getContentProtectionLevel…
|
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysystemndk_fuzzer/ |
H A D | mediakeysystemndk_fuzzer.cpp | 220 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; in FuzzTestMediaKeySystemGetNdk() local 223 OH_MediaKeySystem_GetMaxContentProtectionLevel(mediaKeySystem, &contentProtectionLevel); in FuzzTestMediaKeySystemGetNdk() 224 OH_MediaKeySystem_GetMaxContentProtectionLevel(tmpSystem, &contentProtectionLevel); in FuzzTestMediaKeySystemGetNdk() 273 …DRM_ContentProtectionLevel *contentProtectionLevel = reinterpret_cast<DRM_ContentProtectionLevel *… in FuzzTestMediaKeySystemCertificateOperationNdk() local 282 OH_MediaKeySystem_CreateMediaKeySession(tmpSystem, contentProtectionLevel, &session); in FuzzTestMediaKeySystemCertificateOperationNdk()
|
/ohos5.0/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/include/ |
H A D | native_mediakeysystem.h | 132 DRM_ContentProtectionLevel contentProtectionLevel); 230 DRM_ContentProtectionLevel *contentProtectionLevel);
|
H A D | native_mediakeysession.h | 249 DRM_ContentProtectionLevel *contentProtectionLevel);
|
/ohos5.0/foundation/multimedia/drm_framework/frameworks/c/drm_capi/ |
H A D | native_mediakeysession.cpp | 264 DRM_ContentProtectionLevel *contentProtectionLevel) in OH_MediaKeySession_GetContentProtectionLevel() argument 267 …DRM_CHECK_AND_RETURN_RET_LOG(((mediaKeySessoin != nullptr) && (contentProtectionLevel != nullptr)), in OH_MediaKeySession_GetContentProtectionLevel() 278 *contentProtectionLevel = static_cast<DRM_ContentProtectionLevel>(level); in OH_MediaKeySession_GetContentProtectionLevel() 279 if (*contentProtectionLevel <= CONTENT_PROTECTION_LEVEL_UNKNOWN || in OH_MediaKeySession_GetContentProtectionLevel() 280 *contentProtectionLevel >= CONTENT_PROTECTION_LEVEL_MAX) { in OH_MediaKeySession_GetContentProtectionLevel()
|
H A D | native_mediakeysystem.cpp | 335 DRM_ContentProtectionLevel *contentProtectionLevel) in OH_MediaKeySystem_GetMaxContentProtectionLevel() argument 338 … DRM_CHECK_AND_RETURN_RET_LOG(((mediaKeySystem != nullptr) && (contentProtectionLevel != nullptr)), in OH_MediaKeySystem_GetMaxContentProtectionLevel() 354 *contentProtectionLevel = static_cast<DRM_ContentProtectionLevel>(level); in OH_MediaKeySystem_GetMaxContentProtectionLevel()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-drm-kit/ |
H A D | _drm.md | 133 …oin, [DRM_ContentProtectionLevel](#drm_contentprotectionlevel) \*contentProtectionLevel) | 获取会话的内容… 141 …eType, [DRM_ContentProtectionLevel](#drm_contentprotectionlevel) contentProtectionLevel) | 判断设备是否支… 149 …tem, [DRM_ContentProtectionLevel](#drm_contentprotectionlevel) \*contentProtectionLevel) | 获取当前DRM… 1267 …tectionLevel (MediaKeySession *mediaKeySessoin, DRM_ContentProtectionLevel *contentProtectionLevel) 1281 | contentProtectionLevel | 内容保护级别。 | 1287 - DRM_ERR_INVALID_VAL:输入参数mediaKeySession为空指针或无效,或输入参数contentProtectionLevel为空指针; 1695 …rotectionLevel (MediaKeySystem *mediaKeySystem, DRM_ContentProtectionLevel *contentProtectionLevel) 1709 | contentProtectionLevel | 内容保护级别。 | 1715 - DRM_ERR_INVALID_VAL:输入参数mediaKeySystem为空指针或无效,或输入参数contentProtectionLevel为空指针; 1881 …ported3 (const char *name, const char *mimeType, DRM_ContentProtectionLevel contentProtectionLevel) [all …]
|
H A D | native__mediakeysystem_8h.md | 37 …[DRM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) contentProtectionLevel) | 判断设备是否支… 45 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | 获取当前DRM…
|
H A D | native__mediakeysession_8h.md | 53 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | 获取会话的内容…
|
/ohos5.0/docs/en/application-dev/media/drm/ |
H A D | native-drm-mediakeysystem-management.md | 91 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; 92 …ret = OH_MediaKeySystem_CreateMediaKeySession(mediaKeySystem, &contentProtectionLevel, &mediaKeySe… 187 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; 188 … ret = OH_MediaKeySystem_GetMaxContentProtectionLevel(mediaKeySystem, &contentProtectionLevel);
|
H A D | drm-mediakeysystem-management.md | 82 …let contentProtectionLevel: drm.ContentProtectionLevel = drm.ContentProtectionLevel.CONTENT_PROTEC… 84 contentProtectionLevel = mediaKeySystem.getMaxContentProtectionLevel();
|
H A D | drm-mediakeysession-management.md | 150 …let contentProtectionLevel: drm.ContentProtectionLevel = mediaKeySession.getContentProtectionLevel…
|
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysessionndk_fuzzer/ |
H A D | mediakeysessionndk_fuzzer.cpp | 326 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; in FuzzTestMediaKeySessionsSetUpLicenseNdk() local 327 OH_MediaKeySession_GetContentProtectionLevel(mediaKeySession, &contentProtectionLevel); in FuzzTestMediaKeySessionsSetUpLicenseNdk() 328 OH_MediaKeySession_GetContentProtectionLevel(nullptr, &contentProtectionLevel); in FuzzTestMediaKeySessionsSetUpLicenseNdk()
|
/ohos5.0/docs/en/application-dev/reference/apis-drm-kit/ |
H A D | native__mediakeysystem_8h.md | 37 …[DRM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) contentProtectionLevel) | Checks … 45 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | Obtains…
|
H A D | _drm.md | 127 …oin, [DRM_ContentProtectionLevel](#drm_contentprotectionlevel) \*contentProtectionLevel) | Obtains… 135 …eType, [DRM_ContentProtectionLevel](#drm_contentprotectionlevel) contentProtectionLevel) | Checks … 143 …tem, [DRM_ContentProtectionLevel](#drm_contentprotectionlevel) \*contentProtectionLevel) | Obtains… 1261 …tectionLevel (MediaKeySession *mediaKeySessoin, DRM_ContentProtectionLevel *contentProtectionLevel) 1275 | contentProtectionLevel | Pointer to the content protection level.| 1281 …ediaKeySession** is a null pointer or invalid, or the value of **contentProtectionLevel** is a nul… 1689 …rotectionLevel (MediaKeySystem *mediaKeySystem, DRM_ContentProtectionLevel *contentProtectionLevel) 1703 | contentProtectionLevel | Pointer to the content protection level.| 1709 …mediaKeySystem** is a null pointer or invalid, or the value of **contentProtectionLevel** is a nul… 1875 …ported3 (const char *name, const char *mimeType, DRM_ContentProtectionLevel contentProtectionLevel) [all …]
|
H A D | native__mediakeysession_8h.md | 53 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | Obtains…
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/video_demo/ |
H A D | avcodec_video_decoder_demo.cpp | 149 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; in RunDrmCase() local 151 errNo = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session); in RunDrmCase()
|
/ohos5.0/docs/zh-cn/application-dev/media/avcodec/ |
H A D | audio-decoding.md | 178 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; 179 ret = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session);
|
H A D | video-decoding.md | 333 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; 334 ret = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session); 870 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; 871 ret = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session);
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 202 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; in RunDrmCase() local 204 errNo = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session); in RunDrmCase()
|
/ohos5.0/docs/en/application-dev/media/avcodec/ |
H A D | audio-decoding.md | 180 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; 181 ret = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session);
|