Home
last modified time | relevance | path

Searched refs:contentProtectionLevel (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/unittest/src/
H A Ddrm_framework_unittest.cpp412 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 Dmedia_key_system_mock.cpp56 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 Dnative-drm-mediakeysystem-management.md91 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 Ddrm-mediakeysystem-management.md78 …let contentProtectionLevel: drm.ContentProtectionLevel = drm.ContentProtectionLevel.CONTENT_PROTEC…
80 contentProtectionLevel = mediaKeySystem.getMaxContentProtectionLevel();
H A Ddrm-mediakeysession-management.md150 …let contentProtectionLevel: drm.ContentProtectionLevel = mediaKeySession.getContentProtectionLevel…
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysystemndk_fuzzer/
H A Dmediakeysystemndk_fuzzer.cpp220 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 Dnative_mediakeysystem.h132 DRM_ContentProtectionLevel contentProtectionLevel);
230 DRM_ContentProtectionLevel *contentProtectionLevel);
H A Dnative_mediakeysession.h249 DRM_ContentProtectionLevel *contentProtectionLevel);
/ohos5.0/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysession.cpp264 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 Dnative_mediakeysystem.cpp335 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.md133 …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 Dnative__mediakeysystem_8h.md37 …[DRM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) contentProtectionLevel) | 判断设备是否支…
45 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | 获取当前DRM…
H A Dnative__mediakeysession_8h.md53 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | 获取会话的内容…
/ohos5.0/docs/en/application-dev/media/drm/
H A Dnative-drm-mediakeysystem-management.md91 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 Ddrm-mediakeysystem-management.md82 …let contentProtectionLevel: drm.ContentProtectionLevel = drm.ContentProtectionLevel.CONTENT_PROTEC…
84 contentProtectionLevel = mediaKeySystem.getMaxContentProtectionLevel();
H A Ddrm-mediakeysession-management.md150 …let contentProtectionLevel: drm.ContentProtectionLevel = mediaKeySession.getContentProtectionLevel…
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysessionndk_fuzzer/
H A Dmediakeysessionndk_fuzzer.cpp326 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 Dnative__mediakeysystem_8h.md37 …[DRM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) contentProtectionLevel) | Checks …
45 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | Obtains…
H A D_drm.md127 …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 Dnative__mediakeysession_8h.md53 …RM_ContentProtectionLevel](_drm.md#drm_contentprotectionlevel) \*contentProtectionLevel) | Obtains…
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/video_demo/
H A Davcodec_video_decoder_demo.cpp149 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 Daudio-decoding.md178 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO;
179 ret = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session);
H A Dvideo-decoding.md333 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 Davcodec_audio_avbuffer_decoder_demo.cpp202 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 Daudio-decoding.md180 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO;
181 ret = OH_MediaKeySystem_CreateMediaKeySession(system, &contentProtectionLevel, &session);

12