/drivers/peripheral/user_auth/hdi_service/interface/ |
H A D | user_auth_hdi.h | 24 namespace HDI { namespace 26 using IUserAuthInterface = OHOS::HDI::UserAuth::V2_0::IUserAuthInterface; 27 using UserAuthInterfaceService = OHOS::HDI::UserAuth::V2_0::UserAuthInterfaceService; 29 using HdiAuthType = OHOS::HDI::UserAuth::V2_0::AuthType; 30 using HdiExecutorRole = OHOS::HDI::UserAuth::V2_0::ExecutorRole; 31 using HdiExecutorSecureLevel = OHOS::HDI::UserAuth::V2_0::ExecutorSecureLevel; 32 using HdiPinSubType = OHOS::HDI::UserAuth::V2_0::PinSubType; 33 using HdiScheduleMode = OHOS::HDI::UserAuth::V2_0::ScheduleMode; 34 using HdiExecutorRegisterInfo = OHOS::HDI::UserAuth::V2_0::ExecutorRegisterInfo; 35 using HdiExecutorInfo = OHOS::HDI [all...] |
/drivers/peripheral/face_auth/hdi_service/include/ |
H A D | face_auth_hdi.h | 28 namespace HDI { namespace 30 using IFaceAuthInterface = OHOS::HDI::FaceAuth::V2_0::IFaceAuthInterface; 31 using FaceAuthInterfaceStub = OHOS::HDI::FaceAuth::V2_0::FaceAuthInterfaceStub; 32 using AllInOneExecutorStub = OHOS::HDI::FaceAuth::V2_0::AllInOneExecutorStub; 34 using IExecutorCallback = OHOS::HDI::FaceAuth::V2_0::IExecutorCallback; 36 using IAllInOneExecutor = OHOS::HDI::FaceAuth::V2_0::IAllInOneExecutor; 38 using AuthType = OHOS::HDI::FaceAuth::V2_0::AuthType; 39 using ExecutorRole = OHOS::HDI::FaceAuth::V2_0::ExecutorRole; 40 using ExecutorSecureLevel = OHOS::HDI::FaceAuth::V2_0::ExecutorSecureLevel; 41 using DriverCommandId = OHOS::HDI [all...] |
/drivers/peripheral/fingerprint_auth/hdi_service/include/ |
H A D | fingerprint_auth_hdi.h | 28 namespace HDI { namespace 30 using IFingerprintAuthInterface = OHOS::HDI::FingerprintAuth::V2_0::IFingerprintAuthInterface; 31 using FingerprintAuthInterfaceStub = OHOS::HDI::FingerprintAuth::V2_0::FingerprintAuthInterfaceStub; 32 using AllInOneExecutorStub = OHOS::HDI::FingerprintAuth::V2_0::AllInOneExecutorStub; 34 using IExecutorCallback = OHOS::HDI::FingerprintAuth::V2_0::IExecutorCallback; 36 using IAllInOneExecutor = OHOS::HDI::FingerprintAuth::V2_0::IAllInOneExecutor; 38 using AuthType = OHOS::HDI::FingerprintAuth::V2_0::AuthType; 39 using ExecutorRole = OHOS::HDI::FingerprintAuth::V2_0::ExecutorRole; 40 using ExecutorSecureLevel = OHOS::HDI::FingerprintAuth::V2_0::ExecutorSecureLevel; 41 using DriverCommandId = OHOS::HDI [all...] |
/drivers/peripheral/pin_auth/hdi_service/service/inc/ |
H A D | pin_auth_hdi.h | 27 namespace HDI { namespace 29 using IPinAuthInterface = OHOS::HDI::PinAuth::V2_0::IPinAuthInterface; 30 using PinAuthInterfaceService = OHOS::HDI::PinAuth::V2_0::PinAuthInterfaceService; 32 using HdiIAllInOneExecutor = OHOS::HDI::PinAuth::V2_0::IAllInOneExecutor; 33 using HdiICollector = OHOS::HDI::PinAuth::V2_0::ICollector; 34 using HdiIVerifier = OHOS::HDI::PinAuth::V2_0::IVerifier; 35 using HdiIExecutorCallback = OHOS::HDI::PinAuth::V2_0::IExecutorCallback; 37 using HdiAuthType = OHOS::HDI::PinAuth::V2_0::AuthType; 38 using HdiExecutorRole = OHOS::HDI::PinAuth::V2_0::ExecutorRole; 39 using HdiExecutorSecureLevel = OHOS::HDI [all...] |
/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/ |
H A D | media_key_system_types.h | 51 namespace HDI { namespace 121 OHOS::HDI::Drm::V1_0::MediaKeyType mediaKeyType; 128 OHOS::HDI::Drm::V1_0::MediaKeyRequestType requestType; 144 OHOS::HDI::Drm::V1_0::CryptoAlgorithmType type; 147 OHOS::HDI::Drm::V1_0::Pattern pattern; 148 std::vector<OHOS::HDI::Drm::V1_0::SubSample> subSamples; 161 bool MediaKeyRequestInfoBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Drm::V1_0::MediaKeyRequestInfo& dataBlock); 163 bool MediaKeyRequestInfoBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Drm::V1_0::MediaKeyRequestInfo& dataBlock); 165 bool MediaKeyRequestBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Drm::V1_0::MediaKeyRequest& dataBlock); 167 bool MediaKeyRequestBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI [all...] |
H A D | media_decrypt_module_proxy.h | 23 namespace HDI { namespace 27 class MediaDecryptModuleProxy : public IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaDecryptModule> { 29 explicit MediaDecryptModuleProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaDecryptModule>(remote) {} in MediaDecryptModuleProxy() 38 int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo, 39 const OHOS::HDI::Drm::V1_0::DrmBuffer& srcBuffer, const OHOS::HDI::Drm::V1_0::DrmBuffer& destBuffer) override; 45 static int32_t DecryptMediaData_(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo, 46 const OHOS::HDI::Drm::V1_0::DrmBuffer& srcBuffer, const OHOS::HDI::Drm::V1_0::DrmBuffer& destBuffer, const sptr<IRemoteObject> remote); 53 static inline BrokerDelegator<OHOS::HDI [all...] |
H A D | media_key_system_proxy.h | 23 namespace HDI { namespace 27 class MediaKeySystemProxy : public IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystem> { 29 explicit MediaKeySystemProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystem>(remote) {} in MediaKeySystemProxy() 48 int32_t GetMaxContentProtectionLevel(OHOS::HDI::Drm::V1_0::ContentProtectionLevel& level) override; 54 int32_t GetOemCertificateStatus(OHOS::HDI::Drm::V1_0::CertificateStatus& status) override; 56 int32_t SetCallback(const sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystemCallback>& systemCallback) override; 58 int32_t CreateMediaKeySession(OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, 59 sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession>& keySession) override; 64 OHOS::HDI::Drm::V1_0::OfflineMediaKeyStatus& mediaKeyStatus) override; 68 int32_t GetOemCertificate(sptr<OHOS::HDI [all...] |
H A D | media_key_session_proxy.h | 23 namespace HDI { namespace 27 class MediaKeySessionProxy : public IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySession> { 29 explicit MediaKeySessionProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySession>(remote) {} in MediaKeySessionProxy() 38 int32_t GenerateMediaKeyRequest(const OHOS::HDI::Drm::V1_0::MediaKeyRequestInfo& mediaKeyRequestInfo, 39 OHOS::HDI::Drm::V1_0::MediaKeyRequest& mediaKeyRequest) override; 56 int32_t GetContentProtectionLevel(OHOS::HDI::Drm::V1_0::ContentProtectionLevel& level) override; 60 int32_t SetCallback(const sptr<OHOS::HDI::Drm::V1_0::IMediaKeySessionCallback>& sessionCallback) override; 62 int32_t GetMediaDecryptModule(sptr<OHOS::HDI::Drm::V1_0::IMediaDecryptModule>& decryptModule) override; 68 static int32_t GenerateMediaKeyRequest_(const OHOS::HDI::Drm::V1_0::MediaKeyRequestInfo& mediaKeyRequestInfo, 69 OHOS::HDI [all...] |
H A D | media_key_session_stub.h | 27 namespace HDI { namespace 39 static int32_t MediaKeySessionStubGenerateMediaKeyRequest_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 41 static int32_t MediaKeySessionStubProcessMediaKeyResponse_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 43 static int32_t MediaKeySessionStubCheckMediaKeyStatus_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 45 static int32_t MediaKeySessionStubClearMediaKeys_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 47 static int32_t MediaKeySessionStubGetOfflineReleaseRequest_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 49 static int32_t MediaKeySessionStubProcessOfflineReleaseResponse_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 51 static int32_t MediaKeySessionStubRestoreOfflineMediaKeys_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 53 static int32_t MediaKeySessionStubGetContentProtectionLevel_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySession> impl); 55 static int32_t MediaKeySessionStubRequiresSecureDecoderModule_(MessageParcel& mediaKeySessionData, MessageParcel& mediaKeySessionReply, MessageOption& mediaKeySessionOption, sptr<OHOS::HDI [all...] |
H A D | media_key_system_factory_stub.h | 27 namespace HDI { namespace 39 static int32_t MediaKeySystemFactoryStubIsMediaKeySystemSupported_(MessageParcel& mediaKeySystemFactoryData, MessageParcel& mediaKeySystemFactoryReply, MessageOption& mediaKeySystemFactoryOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory> impl); 41 static int32_t MediaKeySystemFactoryStubCreateMediaKeySystem_(MessageParcel& mediaKeySystemFactoryData, MessageParcel& mediaKeySystemFactoryReply, MessageOption& mediaKeySystemFactoryOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory> impl); 45 sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory> impl); 47 static int32_t MediaKeySystemFactoryStubGetVersion_(MessageParcel& mediaKeySystemFactoryData, MessageParcel& mediaKeySystemFactoryReply, MessageOption& mediaKeySystemFactoryOption, sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory> impl); 60 static inline ObjectDelegator<OHOS::HDI::Drm::V1_0::MediaKeySystemFactoryStub, OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory> objDelegator_; 61 sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory> impl_; 65 } // HDI
|
H A D | media_key_system_factory_proxy.h | 23 namespace HDI { namespace 27 class MediaKeySystemFactoryProxy : public IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory> { 29 explicit MediaKeySystemFactoryProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory>(remote) {} in MediaKeySystemFactoryProxy() 39 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported) override; 41 int32_t CreateMediaKeySystem(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem>& mediaKeySystem) override; 48 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported, const sptr<IRemoteObject> remote); 50 static int32_t CreateMediaKeySystem_(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem>& mediaKeySystem, 59 static inline BrokerDelegator<OHOS::HDI::Drm::V1_0::MediaKeySystemFactoryProxy> delegator_; 64 } // HDI
|
H A D | media_key_session_callback_proxy.h | 23 namespace HDI { namespace 27 class MediaKeySessionCallbackProxy : public IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySessionCallback> { 29 explicit MediaKeySessionCallbackProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySessionCallback>(remote) {} in MediaKeySessionCallbackProxy() 38 int32_t SendEvent(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra, 42 OHOS::HDI::Drm::V1_0::MediaKeySessionKeyStatus>& keyStatus, bool newKeysAvailable) override; 46 static int32_t SendEvent_(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra, 50 OHOS::HDI::Drm::V1_0::MediaKeySessionKeyStatus>& keyStatus, bool newKeysAvailable, const sptr<IRemoteObject> remote); 55 static inline BrokerDelegator<OHOS::HDI::Drm::V1_0::MediaKeySessionCallbackProxy> delegator_; 60 } // HDI
|
/drivers/peripheral/camera/test/common/v1_3/src/ |
H A D | hdi_common_v1_3.cpp | 29 serviceV1_3 = OHOS::HDI::Camera::V1_3::ICameraHost::Get("camera_service", false);
in Init() 74 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDeviceV1_3 == nullptr) {
in Open() 104 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDeviceV1_3 == nullptr) {
in OpenSecureCamera() 120 if (rc != HDI::Camera::V1_0::NO_ERROR) {
in GetCameraMetadata() 137 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos)
in DefaultMeta() 145 infos->v1_0.encodeType_ = OHOS::HDI::Camera::V1_0::ENCODE_TYPE_H265;
in DefaultMeta() 150 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos)
in DefaultInfosMeta() 162 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos)
in DefaultInfosProfessionalCapture() 179 if (rc == HDI::Camera::V1_0::NO_ERROR) {
in StartProfessionalStream() 181 if (rc != HDI in StartProfessionalStream() [all...] |
/drivers/peripheral/camera/test/common/v1_2/include/ |
H A D | hdi_common_v1_2.h | 46 using namespace OHOS::HDI::Camera::V1_2;
54 void DefaultSketch(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
55 void DefaultInfosPreviewV1_2(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
56 void DefaultInfosSketch(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
59 OHOS::sptr<OHOS::HDI::Camera::V1_2::ICameraHost> serviceV1_2 = nullptr;
60 OHOS::sptr<OHOS::HDI::Camera::V1_2::ICameraDevice> cameraDeviceV1_2 = nullptr;
61 OHOS::sptr<OHOS::HDI::Camera::V1_2::IStreamOperatorCallback> streamOperatorCallbackV1_2 = nullptr;
62 OHOS::sptr<OHOS::HDI::Camera::V1_2::ICameraHostCallback> hostCallbackV1_2 = nullptr;
63 OHOS::sptr<OHOS::HDI::Camera::V1_2::IStreamOperator> streamOperator_V1_2 = nullptr;
64 std::shared_ptr<OHOS::HDI [all...] |
/drivers/peripheral/camera/hdi_service/v1_0/src/ |
H A D | camera_host_service.cpp | 46 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 53 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 65 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 72 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 75 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetVdiLibList() 95 if (GetVdiLibList(vdiLibList) != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetInstance() 152 CHECK_IF_PTR_NULL_RETURN_VALUE(cameraHostVdi, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in SetCallback() 157 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in SetCallback() 160 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in SetCallback() 166 return OHOS::HDI in SetCallback() [all...] |
H A D | camera_device_service.cpp | 31 CHECK_IF_PTR_NULL_RETURN_VALUE(cameraDeviceServiceVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in GetStreamOperator() 35 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator() 38 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetStreamOperator() 44 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator() 49 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator() 52 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetStreamOperator() 57 CHECK_IF_PTR_NULL_RETURN_VALUE(cameraDeviceServiceVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in UpdateSettings() 63 CHECK_IF_PTR_NULL_RETURN_VALUE(cameraDeviceServiceVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in SetResultMode() 69 CHECK_IF_PTR_NULL_RETURN_VALUE(cameraDeviceServiceVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in GetEnabledResults() 75 CHECK_IF_PTR_NULL_RETURN_VALUE(cameraDeviceServiceVdi_, OHOS::HDI in EnableResult() [all...] |
/drivers/peripheral/camera/test/hdi/v1_2/src/ |
H A D | camera_prelaunch_uttest_v1_2.cpp | 43 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>();
in HWTEST_F() 49 *cameraTest->prelaunchConfig, OHOS::HDI::Camera::V1_2::NORMAL);
in HWTEST_F() 50 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
in HWTEST_F() 63 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>();
in HWTEST_F() 69 *cameraTest->prelaunchConfig, OHOS::HDI::Camera::V1_2::NORMAL);
in HWTEST_F() 70 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR);
in HWTEST_F() 83 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>();
in HWTEST_F() 89 *cameraTest->prelaunchConfig, OHOS::HDI::Camera::V1_2::NORMAL);
in HWTEST_F() 90 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::INVALID_ARGUMENT);
in HWTEST_F() 103 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI in HWTEST_F() [all...] |
H A D | front_camera_hdi_uttest_v1_2.cpp | 53 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
in HWTEST_F() 56 cameraTest->streamInfoV1_1 = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
in HWTEST_F() 61 cameraTest->streamInfoV1_1 = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
in HWTEST_F() 67 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
in HWTEST_F() 69 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(OHOS::HDI::Camera::V1_2::PORTRAIT),
in HWTEST_F() 71 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
in HWTEST_F() 79 cameraTest->rc = (OHOS::HDI::Camera::V1_2::CamRetCode)cameraTest->cameraDevice->UpdateSettings(setting);
in HWTEST_F() 80 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
in HWTEST_F() 107 if (cameraTest->rc == HDI in HWTEST_F() [all...] |
/drivers/peripheral/secure_element/sim_hdi_service/ |
H A D | secure_element_interface_service.h | 22 namespace HDI { namespace 27 public OHOS::HDI::SecureElement::SimSecureElement::V1_0::ISecureElementInterface { 32 int32_t init(const sptr<OHOS::HDI::SecureElement::SimSecureElement::V1_0::ISecureElementCallback>& clientCallback, 33 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) override; 40 uint8_t& channelNumber, OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) 44 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) override; 47 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) override; 50 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) override; 52 int32_t reset(OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) override; 59 } // HDI [all...] |
H A D | secure_element_interface_service.cpp | 22 namespace HDI { namespace 32 const sptr<OHOS::HDI::SecureElement::SimSecureElement::V1_0::ISecureElementCallback>& clientCallback, in init() 33 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) in init() 50 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) in openLogicalChannel() 56 std::vector<uint8_t>& response, OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) in openBasicChannel() 62 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) in closeChannel() 68 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) in transmit() 74 OHOS::HDI::SecureElement::SimSecureElement::V1_0::SecureElementStatus& status) in reset() 81 } // HDI
|
/drivers/peripheral/camera/test/hdi/v1_3/src/ |
H A D | camera_hdi_uttest_v1_3.cpp | 52 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
in IsTagValueExistsU8() 70 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
in PrintAllTagDataU8() 112 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
in CreateAndCommitStreamsForHighFrameRate() 114 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
in CreateAndCommitStreamsForHighFrameRate() 120 cameraTest->streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>();
in CreateAndCommitStreamsForHighFrameRate() 127 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
in CreateAndCommitStreamsForHighFrameRate() 129 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(OHOS::HDI::Camera::V1_3::HIGH_FRAME_RATE),
in CreateAndCommitStreamsForHighFrameRate() 131 EXPECT_EQ(HDI::Camera::V1_0::NO_ERROR, cameraTest->rc);
in CreateAndCommitStreamsForHighFrameRate() 147 if (cameraTest->rc == HDI in HWTEST_F() [all...] |
H A D | camera_professional_uttest_v1_3.cpp | 22 using namespace OHOS::HDI::Camera;
53 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
in g_isModeExists() 74 if (rc == HDI::Camera::V1_0::NO_ERROR && entry.data.f != nullptr && entry.count > 0) {
in GetSupportedPhysicalApertureValues() 94 uint8_t deferredImage = OHOS::HDI::Camera::V1_2::STILL_IMAGE;
in FillCaptureSetting() 114 if (cameraTest->rc == HDI::Camera::V1_0::NO_ERROR && entry.data.f != nullptr && entry.count > 0) {
in HWTEST_F() 118 if (value == OHOS::HDI::Camera::V1_3::PROFESSIONAL_PHOTO) {
in HWTEST_F() 120 } else if (value == OHOS::HDI::Camera::V1_3::PROFESSIONAL_VIDEO) {
in HWTEST_F() 140 if (cameraTest->rc == HDI::Camera::V1_0::NO_ERROR && entry.data.i32 != nullptr && entry.count > 0) {
in HWTEST_F() 164 if (!g_isModeExists(cameraTest->ability, OHOS_ABILITY_CAMERA_MODES, OHOS::HDI::Camera::V1_3::PROFESSIONAL_PHOTO)) {
in HWTEST_F() 179 cameraTest->StartProfessionalStream(cameraTest->intents, OHOS::HDI in HWTEST_F() [all...] |
/drivers/peripheral/clearplay/hdi_service/include/drm/v1_0/ |
H A D | media_key_system_factory_service.h | 23 namespace HDI { namespace 26 class MediaKeySystemFactoryService : public OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory, public MediaKeySystemServiceCallback { 32 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported) override; 34 int32_t CreateMediaKeySystem(sptr<OHOS::HDI::Drm::V1_0::IMediaKeySystem>& mediaKeySystem) override; 35 int32_t CloseMediaKeySystemService(sptr<OHOS::HDI::Drm::V1_0::MediaKeySystemService> mediaKeySystem) override; 38 std::map<sptr<OHOS::HDI::Drm::V1_0::MediaKeySystemService>, bool> mediaKeySystemMap_; 43 } // HDI
|
/drivers/peripheral/display/buffer/test/unittest/ |
H A D | display_buffer_ut.h | 26 namespace HDI { namespace 29 using OHOS::HDI::Display::Buffer::V1_0::IAllocator; 30 using OHOS::HDI::Display::Buffer::V1_0::IMapper; 31 using OHOS::HDI::Display::Buffer::V1_0::AllocInfo; 32 using OHOS::HDI::Display::Buffer::V1_1::IMetadata; 33 using OHOS::HDI::Display::Buffer::V1_1::IDisplayBuffer; 45 } // HDI
|
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/include/ |
H A D | encode_heif_helper.h | 42 bool FillImageItem(ImgType type, OHOS::HDI::Codec::Image::V2_0::ImageItem& item, uint8_t *data, size_t &size); 43 OHOS::HDI::Codec::Image::V2_0::ItemRef FillRefItem(OHOS::HDI::Codec::Image::V2_0::ItemRef item, 45 bool FillMetaItem(MetaType type, OHOS::HDI::Codec::Image::V2_0::MetaItem& item, uint8_t *data, size_t &size); 46 bool AllocOutputBuffer(OHOS::HDI::Codec::Image::V2_0::SharedBuffer& output); 48 std::vector<OHOS::HDI::Codec::Image::V2_0::ImageItem> inputImgs_; 49 std::vector<OHOS::HDI::Codec::Image::V2_0::MetaItem> inputMetas_; 50 std::vector<OHOS::HDI::Codec::Image::V2_0::ItemRef> refs_;
|