Home
last modified time | relevance | path

Searched refs:IMediaKeySessionService (Results 1 - 25 of 85) sorted by relevance

1234

/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Ddrm_enum_napi.cpp34 { "LISTENER_DRM_EVENT", IMediaKeySessionService::ListenerType::LISTENER_DRM_EVENT },
35 { "LISTENER_PROVISION_REQUIRED", IMediaKeySessionService::ListenerType::LISTENER_PROVISION_REQUIRED },
36 { "LISTENER_KEY_REQUIRED", IMediaKeySessionService::ListenerType::LISTENER_KEY_REQUIRED },
37 { "LISTENER_KEY_EXPIRED", IMediaKeySessionService::ListenerType::LISTENER_KEY_EXPIRED },
38 { "LISTENER_VENDOR_DEFINED", IMediaKeySessionService::ListenerType::LISTENER_VENDOR_DEFINED },
39 { "LISTENER_EXPIRATION_UPDATE", IMediaKeySessionService::ListenerType::LISTENER_EXPIRATION_UPDATE },
40 { "LISTENER_KEY_CHANGE", IMediaKeySessionService::ListenerType::LISTENER_KEY_CHANGE },
44 { "MEDIA_KEY_TYPE_OFFLINE", IMediaKeySessionService::MediaKeyType::LICENSETYPE_OFFLINE },
45 { "MEDIA_KEY_TYPE_ONLINE", IMediaKeySessionService::MediaKeyType::LICENSETYPE_ONLINE },
50 IMediaKeySessionService
[all...]
/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/
H A Dkey_session_impl.h51 explicit MediaKeySessionImpl(sptr<IMediaKeySessionService> &keySession);
56 int32_t GenerateMediaKeyRequest(IMediaKeySessionService::MediaKeyRequestInfo &licenseRequestInfo,
57 IMediaKeySessionService::MediaKeyRequest &licenseRequest);
66 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel);
68 sptr<IMediaKeySessionService> GetMediaKeySessionServiceProxy();
79 sptr<OHOS::DrmStandard::IMediaKeySessionService> keySessionServiceProxy_;
H A Dmedia_key_system_impl.h51 int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
54 int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel);
61 IMediaKeySessionService::OfflineMediaKeyStatus &status);
/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,
38 sptr<IMediaKeySessionService> &keySessionProxy) override;
47 IMediaKeySessionService::OfflineMediaKeyStatus &status) override;
H A Dkey_session_service_proxy.h24 class MediaKeySessionServiceProxy : public IRemoteProxy<IMediaKeySessionService> {
30 int32_t GenerateMediaKeyRequest(IMediaKeySessionService::MediaKeyRequestInfo &licenseRequestInfo,
31 IMediaKeySessionService::MediaKeyRequest &licenseRequest) override;
42 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
/foundation/multimedia/drm_framework/services/drm_service/ipc/
H A Di_mediakeysystem_service.h70 virtual int32_t CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel,
71 sptr<IMediaKeySessionService> &keySessionProxy) = 0;
73 virtual int32_t GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) = 0;
77 IMediaKeySessionService::OfflineMediaKeyStatus &status) = 0;
H A Di_keysession_service.h26 class IMediaKeySessionService : public IRemoteBroker { class
86 virtual ~IMediaKeySessionService() = default;
98 virtual int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) = 0;
102 DECLARE_INTERFACE_DESCRIPTOR(u"IMediaKeySessionService");
/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,
61 sptr<IMediaKeySessionService> &keySessionProxy) override;
68 IMediaKeySessionService::OfflineMediaKeyStatus &status) override;
H A Dkey_session_service.h47 int32_t GenerateMediaKeyRequest(IMediaKeySessionService::MediaKeyRequestInfo &licenseRequestInfo,
48 IMediaKeySessionService::MediaKeyRequest &licenseRequest) override;
57 int32_t GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) override;
H A Dkey_session_service_stub.h29 class MediaKeySessionServiceStub : public IRemoteStub<IMediaKeySessionService> {
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Ddrm_i_keysession_service.h20 class IMediaKeySessionService;
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysystem.cpp75 IMediaKeySessionService::ContentProtectionLevel securityLevel = in OH_MediaKeySystem_IsSupported3()
76 (IMediaKeySessionService::ContentProtectionLevel)ContentProtectionLevel; in OH_MediaKeySystem_IsSupported3()
77 if ((securityLevel <= IMediaKeySessionService::CONTENT_PROTECTION_LEVEL_UNKNOWN) || in OH_MediaKeySystem_IsSupported3()
78 (securityLevel >= IMediaKeySessionService::CONTENT_PROTECTION_LEVEL_MAX)) { in OH_MediaKeySystem_IsSupported3()
344 IMediaKeySessionService::ContentProtectionLevel level = in OH_MediaKeySystem_GetMaxContentProtectionLevel()
345 IMediaKeySessionService::CONTENT_PROTECTION_LEVEL_UNKNOWN; in OH_MediaKeySystem_GetMaxContentProtectionLevel()
349 if (level <= IMediaKeySessionService::CONTENT_PROTECTION_LEVEL_UNKNOWN || in OH_MediaKeySystem_GetMaxContentProtectionLevel()
350 level >= IMediaKeySessionService::CONTENT_PROTECTION_LEVEL_MAX) { in OH_MediaKeySystem_GetMaxContentProtectionLevel()
473 IMediaKeySessionService::ContentProtectionLevel secureLevel = in OH_MediaKeySystem_CreateMediaKeySession()
474 static_cast<IMediaKeySessionService in OH_MediaKeySystem_CreateMediaKeySession()
[all...]
H A Dnative_mediakeysession.cpp32 static Drm_ErrCode DealMediaKeyRequest(IMediaKeySessionService::MediaKeyRequest &licenseRequest, in DealMediaKeyRequest()
70 IMediaKeySessionService::MediaKeyRequestInfo licenseRequestInfo; in OH_MediaKeySession_GenerateMediaKeyRequest()
71 IMediaKeySessionService::MediaKeyRequest licenseRequest; in OH_MediaKeySession_GenerateMediaKeyRequest()
72 licenseRequest.requestType = OHOS::DrmStandard::IMediaKeySessionService::REQUEST_TYPE_RELEASE; in OH_MediaKeySession_GenerateMediaKeyRequest()
73 licenseRequestInfo.mediaKeyType = (IMediaKeySessionService::MediaKeyType)info->type; in OH_MediaKeySession_GenerateMediaKeyRequest()
270 IMediaKeySessionService::ContentProtectionLevel level = in OH_MediaKeySession_GetContentProtectionLevel()
271 IMediaKeySessionService::ContentProtectionLevel::CONTENT_PROTECTION_LEVEL_UNKNOWN; in OH_MediaKeySession_GetContentProtectionLevel()
/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,
309 sptr<IMediaKeySessionService> &keySessionProxy)
333 keySessionProxy = iface_cast<IMediaKeySessionService>(remoteObject);
404 IMediaKeySessionService::OfflineMediaKeyStatus &status) in GetOfflineMediaKeyStatus()
433 status = (IMediaKeySessionService::OfflineMediaKeyStatus)reply.ReadInt32(); in GetOfflineMediaKeyStatus()
H A Dkey_session_service_proxy.cpp24 : IRemoteProxy<IMediaKeySessionService>(impl) in MediaKeySessionServiceProxy()
58 IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetContentProtectionLevel()
76 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)reply.ReadInt32(); in GetContentProtectionLevel()
100 IMediaKeySessionService::MediaKeyRequestInfo &licenseRequestInfo, in GenerateMediaKeyRequest()
101 IMediaKeySessionService::MediaKeyRequest &licenseRequest) in GenerateMediaKeyRequest()
149 licenseRequest.requestType = (IMediaKeySessionService::RequestType)reply.ReadInt32(); in GenerateMediaKeyRequest()
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmediakeysystem_service.cpp230 int32_t MediaKeySystemService::CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel, in CreateMediaKeySession()
231 sptr<IMediaKeySessionService> &keySessionProxy) in CreateMediaKeySession()
337 IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetMaxContentProtectionLevel()
351 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)level; in GetMaxContentProtectionLevel()
392 IMediaKeySessionService::OfflineMediaKeyStatus &status) in GetOfflineMediaKeyStatus()
406 status = (IMediaKeySessionService::OfflineMediaKeyStatus)offlineMediaKeyStatus; in GetOfflineMediaKeyStatus()
H A Dkey_session_service.cpp101 IMediaKeySessionService::MediaKeyRequestInfo &licenseRequestInfo, in GenerateMediaKeyRequest()
102 IMediaKeySessionService::MediaKeyRequest &licenseRequest) in GenerateMediaKeyRequest()
131 licenseRequest.requestType = (IMediaKeySessionService::RequestType)hdiMediaKeyRequest.requestType; in GenerateMediaKeyRequest()
251 IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetContentProtectionLevel()
264 *securityLevel = (IMediaKeySessionService::ContentProtectionLevel)level; in GetContentProtectionLevel()
H A Dkey_session_service_stub.cpp116 IMediaKeySessionService::MediaKeyRequestInfo licenseRequestInfo; in ProcessMediaKeyRequest()
117 IMediaKeySessionService::MediaKeyRequest licenseRequest; in ProcessMediaKeyRequest()
126 licenseRequestInfo.mediaKeyType = (OHOS::DrmStandard::IMediaKeySessionService::MediaKeyType)data.ReadInt32(); in ProcessMediaKeyRequest()
388 IMediaKeySessionService::ContentProtectionLevel securityLevel = in ProcessGetContentProtectionLevel()
389 IMediaKeySessionService::CONTENT_PROTECTION_LEVEL_UNKNOWN; in ProcessGetContentProtectionLevel()
H A Dmediakeysystem_service_stub.cpp116 sptr<IMediaKeySessionService> keySessionServiceProxy = nullptr; in ProcessCreatekeySession()
118 int32_t ret = stub->CreateMediaKeySession((IMediaKeySessionService::ContentProtectionLevel)securityLevel, in ProcessCreatekeySession()
277 IMediaKeySessionService::ContentProtectionLevel securityLevel = in ProcessGetMaxContentProtectionLevel()
278 IMediaKeySessionService::CONTENT_PROTECTION_LEVEL_UNKNOWN; in ProcessGetMaxContentProtectionLevel()
346 IMediaKeySessionService::OfflineMediaKeyStatus status; in ProcessGetOfflineMediaKeyStatus()
/foundation/multimedia/drm_framework/frameworks/native/drm/
H A Dkey_session_impl.cpp24 MediaKeySessionImpl::MediaKeySessionImpl(sptr<IMediaKeySessionService> &keySession) in MediaKeySessionImpl()
108 int32_t MediaKeySessionImpl::GenerateMediaKeyRequest(IMediaKeySessionService::MediaKeyRequestInfo &licenseRequestInfo, in GenerateMediaKeyRequest()
109 IMediaKeySessionService::MediaKeyRequest &licenseRequest) in GenerateMediaKeyRequest()
185 int32_t MediaKeySessionImpl::GetContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetContentProtectionLevel()
196 (IMediaKeySessionService::ContentProtectionLevel *)securityLevel); in GetContentProtectionLevel()
276 sptr<IMediaKeySessionService> MediaKeySessionImpl::GetMediaKeySessionServiceProxy() in GetMediaKeySessionServiceProxy()
H A Dmedia_key_system_impl.cpp216 int32_t MediaKeySystemImpl::CreateMediaKeySession(IMediaKeySessionService::ContentProtectionLevel securityLevel, in CreateMediaKeySession()
222 sptr<IMediaKeySessionService> keySessionProxy = nullptr; in CreateMediaKeySession()
271 int32_t MediaKeySystemImpl::GetMaxContentProtectionLevel(IMediaKeySessionService::ContentProtectionLevel *securityLevel) in GetMaxContentProtectionLevel()
282 serviceProxy_->GetMaxContentProtectionLevel((IMediaKeySessionService::ContentProtectionLevel *)securityLevel); in GetMaxContentProtectionLevel()
309 IMediaKeySessionService::OfflineMediaKeyStatus &status) in GetOfflineMediaKeyStatus()
/foundation/multimedia/av_codec/services/include/
H A Di_codec_service.h64 virtual int32_t SetDecryptConfig(const sptr<DrmStandard::IMediaKeySessionService> &keySession, in SetDecryptConfig()
118 virtual int32_t SetAudioDecryptionConfig(const sptr<DrmStandard::IMediaKeySessionService> &keySession, in SetAudioDecryptionConfig()
/foundation/multimedia/drm_framework/interfaces/kits/js/drm_napi/include/
H A Dkey_session_napi.h40 IMediaKeySessionService::MediaKeyRequestInfo mediaKeyRequestInfo;
41 IMediaKeySessionService::MediaKeyRequest mediaKeyRequest;
/foundation/multimedia/av_codec/test/unittest/video_test/drm_decryptor_test/
H A Dcodec_drm_decrypt_mock.h39 void SetDecryptionConfig(const sptr<DrmStandard::IMediaKeySessionService> &keySession,
H A Dcodec_drm_decrypt_mock.cpp48 void CodecDrmDecryptorMock::SetDecryptionConfig(const sptr<DrmStandard::IMediaKeySessionService> &keySession, in SetDecryptionConfig()

Completed in 12 milliseconds

1234