Home
last modified time | relevance | path

Searched refs:IMediaKeySystemService (Results 1 - 19 of 19) sorted by relevance

/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/
H A Dmedia_key_system_impl.h44 explicit MediaKeySystemImpl(sptr<IMediaKeySystemService> &mediaKeysystem);
53 int32_t GetStatistics(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics);
64 int32_t GetCertificateStatus(IMediaKeySystemService::CertificateStatus *certStatus);
73 sptr<IMediaKeySystemService> serviceProxy_;
/foundation/multimedia/drm_framework/services/drm_service/ipc/
H A Di_mediakeysystem_service.h28 class IMediaKeySystemService : public IRemoteBroker { class
62 virtual ~IMediaKeySystemService() = default;
72 virtual int32_t GetStatistics(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics) = 0;
74 virtual int32_t GetCertificateStatus(IMediaKeySystemService::CertificateStatus *certStatus) = 0;
H A Di_mediakeysystemfactory_service.h45 virtual int32_t CreateMediaKeySystem(std::string &name, sptr<IMediaKeySystemService> &mediaKeySystemProxy) = 0;
/foundation/multimedia/drm_framework/services/drm_service/client/include/
H A Dmediakeysystem_service_proxy.h25 class MediaKeySystemServiceProxy : public IRemoteProxy<IMediaKeySystemService> {
39 int32_t GetStatistics(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics) override;
40 int32_t GetCertificateStatus(IMediaKeySystemService::CertificateStatus *certStatue) override;
H A Dmediakeysystemfactory_service_proxy.h35 int32_t CreateMediaKeySystem(std::string &name, sptr<IMediaKeySystemService> &mediaKeySystemProxy) override;
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Ddrm_enum_napi.cpp58 { "CERT_STATUS_PROVISIONED", IMediaKeySystemService::CertificateStatus::CERT_STATUS_PROVISIONED },
59 { "CERT_STATUS_NOT_PROVISIONED", IMediaKeySystemService::CertificateStatus::CERT_STATUS_NOT_PROVISIONED },
60 { "CERT_STATUS_EXPIRED", IMediaKeySystemService::CertificateStatus::CERT_STATUS_EXPIRED },
61 { "CERT_STATUS_INVALID", IMediaKeySystemService::CertificateStatus::CERT_STATUS_INVALID },
62 { "CERT_STATUS_UNAVAILABLE", IMediaKeySystemService::CertificateStatus::CERT_STATUS_UNAVAILABLE },
H A Dmedia_key_system_napi.cpp713 static napi_value vectorToJsArray(napi_env env, std::vector<IMediaKeySystemService::MetircKeyValue> &metrics) in vectorToJsArray()
741 std::vector<IMediaKeySystemService::MetircKeyValue> metrics; in GetStatistics()
772 IMediaKeySystemService::CertificateStatus certStatus; in GetCertificateStatus()
/foundation/multimedia/drm_framework/services/drm_service/server/include/
H A Dmediakeysystem_service_stub.h31 class MediaKeySystemServiceStub : public IRemoteStub<IMediaKeySystemService> {
H A Dmediakeysystem_service.h64 int32_t GetCertificateStatus(IMediaKeySystemService::CertificateStatus *certStatus) override;
72 int32_t GetStatistics(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics) override;
H A Dmediakeysystemfactory_service.h60 int32_t CreateMediaKeySystem(std::string &name, sptr<IMediaKeySystemService> &mediaKeySystemProxy) override;
/foundation/multimedia/drm_framework/services/drm_service/client/src/
H A Dmediakeysystem_service_proxy.cpp24 : IRemoteProxy<IMediaKeySystemService>(impl) in MediaKeySystemServiceProxy()
152 int32_t MediaKeySystemServiceProxy::GetCertificateStatus(IMediaKeySystemService::CertificateStatus *certStatus) in GetCertificateStatus()
170 *certStatus = (IMediaKeySystemService::CertificateStatus)reply.ReadInt32(); in GetCertificateStatus()
341 int32_t MediaKeySystemServiceProxy::GetStatistics(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics) in GetStatistics()
360 IMediaKeySystemService::MetircKeyValue keyValue; in GetStatistics()
H A Dmediakeysystemfactory_service_proxy.cpp214 sptr<IMediaKeySystemService> &mediaKeySystemProxy) in CreateMediaKeySystem()
238 mediaKeySystemProxy = iface_cast<IMediaKeySystemService>(remoteObject); in CreateMediaKeySystem()
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmediakeysystem_service.cpp310 int32_t MediaKeySystemService::GetStatistics(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics) in GetStatistics()
324 IMediaKeySystemService::MetircKeyValue keyValue; in GetStatistics()
355 int32_t MediaKeySystemService::GetCertificateStatus(IMediaKeySystemService::CertificateStatus *certStatus) in GetCertificateStatus()
369 *certStatus = (IMediaKeySystemService::CertificateStatus)tmpStatus; in GetCertificateStatus()
H A Dmediakeysystem_service_stub.cpp253 std::vector<IMediaKeySystemService::MetircKeyValue> metrics; in ProcessGetMetircs()
293 IMediaKeySystemService::CertificateStatus certStatus = IMediaKeySystemService::CERT_STATUS_PROVISIONED; in ProcessGetCertificateStatus()
H A Dmediakeysystemfactory_service.cpp167 sptr<IMediaKeySystemService> &mediaKeySystemProxy) in CreateMediaKeySystem()
351 IMediaKeySystemService::CertificateStatus certStatus = IMediaKeySystemService::CERT_STATUS_UNAVAILABLE; in WriteDumpInfo()
H A Dmediakeysystemfactory_service_stub.cpp89 sptr<IMediaKeySystemService> mediaKeysystemProxy = nullptr; in ProcessCreateMediaKeySystem()
/foundation/multimedia/drm_framework/frameworks/native/drm/
H A Dmedia_key_system_impl.cpp24 MediaKeySystemImpl::MediaKeySystemImpl(sptr<IMediaKeySystemService> &mediaKeysystem) : serviceProxy_(mediaKeysystem) in MediaKeySystemImpl()
253 int32_t MediaKeySystemImpl::GetStatistics(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics) in GetStatistics()
344 int32_t MediaKeySystemImpl::GetCertificateStatus(IMediaKeySystemService::CertificateStatus *certStatus) in GetCertificateStatus()
354 ret = serviceProxy_->GetCertificateStatus((IMediaKeySystemService::CertificateStatus *)certStatus); in GetCertificateStatus()
H A Dmedia_key_system_factory_impl.cpp209 sptr<IMediaKeySystemService> mediaKeySystemProxy = nullptr; in CreateMediaKeySystem()
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysystem.cpp286 static Drm_ErrCode vectorToClist(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics, in vectorToClist()
322 std::vector<IMediaKeySystemService::MetircKeyValue> metrics; in OH_MediaKeySystem_GetStatistics()
416 IMediaKeySystemService::CertificateStatus CertStatus; in OH_MediaKeySystem_GetCertificateStatus()

Completed in 12 milliseconds