/foundation/multimedia/drm_framework/frameworks/native/test/unittest/src/ |
H A D | drm_framework_unittest.cpp | 406 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; in HWTEST_F() local 410 errNo = OH_MediaKeySystem_GetMaxContentProtectionLevel(mediaKeySystem, &contentProtectionLevel); in HWTEST_F() 412 EXPECT_GT(contentProtectionLevel, 0); in HWTEST_F() 431 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; in HWTEST_F() local 435 errNo = OH_MediaKeySystem_GetMaxContentProtectionLevel(mediaKeySystem, &contentProtectionLevel); in HWTEST_F() 451 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; in HWTEST_F() local 455 errNo = OH_MediaKeySystem_GetMaxContentProtectionLevel(mediaKeySystem, &contentProtectionLevel); in HWTEST_F() 472 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; in HWTEST_F() local 480 errNo = OH_MediaKeySystem_GetMaxContentProtectionLevel(mediaKeySystem, &contentProtectionLevel); in HWTEST_F() 497 DRM_ContentProtectionLevel contentProtectionLevel in HWTEST_F() local 523 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 553 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 584 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 615 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 646 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 676 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 762 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 789 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 819 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 867 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 907 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 947 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 987 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1026 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1080 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1132 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1176 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1222 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1267 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1325 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1381 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1436 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1497 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1554 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1612 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1672 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1732 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1791 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1847 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1903 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 1958 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2021 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2095 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2168 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2241 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2271 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2547 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; HWTEST_F() local 2573 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2649 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2730 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2807 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2939 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 2978 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3001 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3115 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3143 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3170 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3210 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3246 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3279 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3306 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3336 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3368 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3408 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3442 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3484 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3545 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3604 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3697 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_UNKNOWN; killclearplay2() local 3707 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3747 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3799 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local 3865 DRM_ContentProtectionLevel contentProtectionLevel = CONTENT_PROTECTION_LEVEL_SW_CRYPTO; HWTEST_F() local [all...] |
/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, &mediaKeySession_); in CreateMediaKeySession()
|
/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/include/ |
H A D | native_mediakeysystem.h | 126 * @param contentProtectionLevel Used to specifies the ContentProtectionLevel. 132 DRM_ContentProtectionLevel contentProtectionLevel); 222 * @param contentProtectionLevel Content protection level. 230 DRM_ContentProtectionLevel *contentProtectionLevel);
|
H A D | native_mediakeysession.h | 241 * @param contentProtectionLevel Content protection level. 249 DRM_ContentProtectionLevel *contentProtectionLevel);
|
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/ |
H A D | native_mediakeysession.cpp | 264 DRM_ContentProtectionLevel *contentProtectionLevel) in OH_MediaKeySession_GetContentProtectionLevel() 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() 263 OH_MediaKeySession_GetContentProtectionLevel(MediaKeySession *mediaKeySessoin, DRM_ContentProtectionLevel *contentProtectionLevel) OH_MediaKeySession_GetContentProtectionLevel() argument
|
H A D | native_mediakeysystem.cpp | 335 DRM_ContentProtectionLevel *contentProtectionLevel) in OH_MediaKeySystem_GetMaxContentProtectionLevel() 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() 334 OH_MediaKeySystem_GetMaxContentProtectionLevel(MediaKeySystem *mediaKeySystem, DRM_ContentProtectionLevel *contentProtectionLevel) OH_MediaKeySystem_GetMaxContentProtectionLevel() argument
|
/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 *>(rawData); in FuzzTestMediaKeySystemCertificateOperationNdk() local 282 OH_MediaKeySystem_CreateMediaKeySession(tmpSystem, contentProtectionLevel, &session); in FuzzTestMediaKeySystemCertificateOperationNdk()
|
/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()
|
/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()
|
/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()
|