/drivers/peripheral/fingerprint_auth/hdi_service/include/ |
D | fingerprint_auth_hdi.h | 27 namespace HDI { 29 using IFingerprintAuthInterface = OHOS::HDI::FingerprintAuth::V1_1::IFingerprintAuthInterface; 31 using IExecutorCallback = OHOS::HDI::FingerprintAuth::V1_1::IExecutorCallback; 33 using IExecutorV1_0 = OHOS::HDI::FingerprintAuth::V1_0::IExecutor; 34 using IExecutor = OHOS::HDI::FingerprintAuth::V1_1::IExecutor; 36 using AuthType = OHOS::HDI::FingerprintAuth::V1_0::AuthType; 37 using ExecutorRole = OHOS::HDI::FingerprintAuth::V1_0::ExecutorRole; 38 using ExecutorSecureLevel = OHOS::HDI::FingerprintAuth::V1_0::ExecutorSecureLevel; 39 using CommandId = OHOS::HDI::FingerprintAuth::V1_1::CommandId; 40 using FingerprintTipsCode = OHOS::HDI::FingerprintAuth::V1_0::FingerprintTipsCode; [all …]
|
/drivers/peripheral/user_auth/hdi_service/interface/ |
D | user_auth_hdi.h | 25 namespace HDI { 27 using IUserAuthInterface = OHOS::HDI::UserAuth::V1_1::IUserAuthInterface; 28 using UserAuthInterfaceService = OHOS::HDI::UserAuth::V1_1::UserAuthInterfaceService; 30 using AuthType = OHOS::HDI::UserAuth::V1_0::AuthType; 31 using ExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole; 32 using ExecutorSecureLevel = OHOS::HDI::UserAuth::V1_0::ExecutorSecureLevel; 33 using PinSubType = OHOS::HDI::UserAuth::V1_0::PinSubType; 34 using ScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode; 35 using ExecutorRegisterInfo = OHOS::HDI::UserAuth::V1_0::ExecutorRegisterInfo; 36 using ExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo; [all …]
|
/drivers/peripheral/face_auth/hdi_service/include/ |
D | face_auth_hdi.h | 27 namespace HDI { 29 using IFaceAuthInterface = OHOS::HDI::FaceAuth::V1_1::IFaceAuthInterface; 31 using IExecutorCallback = OHOS::HDI::FaceAuth::V1_1::IExecutorCallback; 33 using IExecutorV1_0 = OHOS::HDI::FaceAuth::V1_0::IExecutor; 34 using IExecutor = OHOS::HDI::FaceAuth::V1_1::IExecutor; 36 using AuthType = OHOS::HDI::FaceAuth::V1_0::AuthType; 37 using ExecutorRole = OHOS::HDI::FaceAuth::V1_0::ExecutorRole; 38 using ExecutorSecureLevel = OHOS::HDI::FaceAuth::V1_0::ExecutorSecureLevel; 39 using CommandId = OHOS::HDI::FaceAuth::V1_1::CommandId; 40 using FaceTipsCode = OHOS::HDI::FaceAuth::V1_0::FaceTipsCode; [all …]
|
/drivers/peripheral/pin_auth/hdi_service/service/inc/ |
D | pin_auth_hdi.h | 27 namespace HDI { 29 using IPinAuthInterface = OHOS::HDI::PinAuth::V1_1::IPinAuthInterface; 30 using PinAuthInterfaceService = OHOS::HDI::PinAuth::V1_1::PinAuthInterfaceService; 32 using IExecutorV1_0 = OHOS::HDI::PinAuth::V1_0::IExecutor; 33 using IExecutor = OHOS::HDI::PinAuth::V1_1::IExecutor; 35 using IExecutorCallback = OHOS::HDI::PinAuth::V1_0::IExecutorCallback; 36 using IExecutorCallbackV1_1 = OHOS::HDI::PinAuth::V1_1::IExecutorCallback; 38 using AuthType = OHOS::HDI::PinAuth::V1_0::AuthType; 39 using ExecutorRole = OHOS::HDI::PinAuth::V1_0::ExecutorRole; 40 using ExecutorSecureLevel = OHOS::HDI::PinAuth::V1_0::ExecutorSecureLevel; [all …]
|
/drivers/interface/ |
D | README_ZH.md | 1 # 外设驱动HDI接口定义 5 该仓库用于管理各模块HDI(Hardware Device Interface)接口定义,接口定义使用IDL语言描述并以`·idl`文件形式保存。 8 **图 1** HDI原理图 12 使用IDL语法描述HDI接口并保存为`.idl`文件,`.idl`文件在编译过程中转换为C/C++语言的函数接口声明、客户端与服务端IPC相关过程代码,开发者只需要基于生成的`ifoo.h`函数接口… 19 ├── sensor #sensor HDI 接口定义 20 │ └── v1_0 #sensor HDI 接口 v1.0版本定义 25 ├── audio #audio HDI 接口定义 27 ├── camera #camera HDI接口定义 28 ├── codec #codec HDI接口定义 29 ├── display #display HDI接口定义 [all …]
|
/drivers/peripheral/camera/hdi_service/v1_0/src/ |
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::Camera::V1_0::INVALID_ARGUMENT); in EnableResult() [all …]
|
D | camera_host_service.cpp | 45 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 52 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 64 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 71 return OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT; in GetVdiLibList() 74 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetVdiLibList() 94 if (GetVdiLibList(vdiLibList) != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetInstance() 150 int32_t ret = OHOS::HDI::Camera::V1_0::NO_ERROR; in SetCallback() 154 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in SetCallback() 157 CHECK_IF_PTR_NULL_RETURN_VALUE(cameraHostVdi, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in SetCallback() 159 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in SetCallback() [all …]
|
D | stream_operator_service.cpp | 38 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in IsStreamsSupported() 54 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in CreateStreams() 66 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in ReleaseStreams() 72 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in CommitStreams() 78 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in GetStreamAttributes() 98 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in AttachBufferQueue() 104 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in DetachBufferQueue() 110 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in Capture() 118 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in CancelCapture() 126 CHECK_IF_PTR_NULL_RETURN_VALUE(streamOperatorVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in ChangeToOfflineStream() [all …]
|
/drivers/peripheral/ |
D | README_zh.md | 9 此仓主要包含各外设器件驱动相关的HDI(Hardware Driver Interface)接口、HAL实现、驱动模型及测试用例等,根据模块划分不同目录,具体模块的相关信息可参阅各模块子目录下的re… 15 - audio:Audio HDI接口的定义,用于管理声卡驱动的加载和卸载、创建音频播放对象及录音对象、选择音频场景、设置音频属性及音量、控制音频播放及录音的启停等,详见audio目录下的[re… 16 - codec:Codec HDI接口的定义,这些接口对上层服务提供媒体编解码的驱动能力,详见codec目录下的[readme](codec/README_zh.md)文档。 17 - display:Display HDI 接口定义及其默认实现,对上层图形服务提供显示驱动能力,包括显示图层的管理、显示内存的管理及硬件图形加速,详见display目录下的[readme](d… 19 - format:Format HDI接口定义,此类接口对上层服务提供媒体文件复用和解复用的驱动能力,详见format目录下的[readme](format/README_zh.md)文档。 20 - input:Input HDI接口定义及其实现,对上层输入系统服务提供操作input设备的驱动能力,包括input设备管理、业务流控制、数据上报等,详见input目录下的[readme](i… 21 - sensor:Sensor HDI接口定义与实现,接口主要包括所有Sensor信息查询、Sensor启停、Sensor订阅/去订阅、Sensor参数配置等稳定的接口,简化服务开发,详见sen… 22 - wlan:WLAN HDI接口定义与实现,包括创建和销毁HAL层和WLAN驱动的通道、获取本设备支持的WLAN特性等,详见wlan目录下的[readme](wlan/README_zh.md… 24 - camera:Camera HDI接口定义及其实现,对上层Camera Service提供HDI的具体实现,对下管理Camera各个硬件设备等,详见camera目录下的[readme](ca… 25 - ril:Ril HDI接口定义及其实现,提供通话、SIM卡、短彩信、搜网、蜂窝数据相关的业务处理能力等,详见ril目录下的[readme](ril/README_zh.md)文档。
|
/drivers/peripheral/camera/test/fuzztest/common/src/ |
D | common.cpp | 26 serviceV1_1 = OHOS::HDI::Camera::V1_1::ICameraHost::Get("camera_service", false); in Init() 40 service = static_cast<OHOS::HDI::Camera::V1_0::ICameraHost *>(serviceV1_1.GetRefPtr()); in Init() 58 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDeviceV1_1 == nullptr) { in Open() 63 …cameraDevice = static_cast<OHOS::HDI::Camera::V1_0::ICameraDevice *>(cameraDeviceV1_1.GetRefPtr()); in Open() 71 if (rc != HDI::Camera::V1_0::NO_ERROR) { in GetCameraMetadata() 98 return HDI::Camera::V1_0::NO_ERROR; in OnCaptureStarted() 108 return HDI::Camera::V1_0::NO_ERROR; in OnCaptureEnded() 118 return HDI::Camera::V1_0::NO_ERROR; in OnCaptureError() 128 return HDI::Camera::V1_0::NO_ERROR; in OnFrameShutter() 134 return HDI::Camera::V1_0::NO_ERROR; in OnError() [all …]
|
/drivers/peripheral/codec/test/demo/jpeg/include/ |
D | jpeg_decoder.h | 54 OHOS::sptr<OHOS::HDI::Codec::Image::V1_0::ICodecImageJpeg> hdiDecoder_; 55 OHOS::HDI::Display::Buffer::V1_0::IDisplayBuffer *hdiBuffer_; 56 OHOS::sptr<OHOS::HDI::Codec::Image::V1_0::ICodecImageCallback> callback_; 57 OHOS::HDI::Codec::Image::V1_0::CodecJpegHelper *helper_ = nullptr; 58 OHOS::HDI::Codec::Image::V1_0::CodecImageBuffer inBuffer_; 59 OHOS::HDI::Codec::Image::V1_0::CodecImageBuffer outBuffer_; 64 OHOS::HDI::Codec::Image::V1_0::CodecJpegDecInfo decInfo_;
|
/drivers/peripheral/camera/test/hdi/v1_1/include/ |
D | hdi_common_v1_1.h | 52 using namespace OHOS::HDI::Camera::V1_0; 53 using namespace OHOS::HDI::Display::Composer::V1_0; 61 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 63 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 65 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 67 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 69 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 71 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 78 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraHost> serviceV1_1 = nullptr; 80 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraDevice> cameraDeviceV1_1 = nullptr; [all …]
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccommonhdi_fuzzer/ |
D | codeccallback_fuzzer.h | 24 class CodecCallbackFuzz : public OHOS::HDI::Codec::V1_0::ICodecCallback { 28 int32_t EventHandler(OHOS::HDI::Codec::V1_0::CodecEventType event, 29 const OHOS::HDI::Codec::V1_0::EventInfo &info) override; 30 …int32_t EmptyBufferDone(int64_t appData, const OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) ove… 31 …int32_t FillBufferDone(int64_t appData, const OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) over…
|
D | codeccallback_fuzzer.cpp | 21 int32_t CodecCallbackFuzz::EventHandler(OHOS::HDI::Codec::V1_0::CodecEventType event, in EventHandler() 22 const OHOS::HDI::Codec::V1_0::EventInfo &info) in EventHandler() 29 int32_t CodecCallbackFuzz::EmptyBufferDone(int64_t appData, const OHOS::HDI::Codec::V1_0::OmxCodecB… in EmptyBufferDone() 36 int32_t CodecCallbackFuzz::FillBufferDone(int64_t appData, const OHOS::HDI::Codec::V1_0::OmxCodecBu… in FillBufferDone()
|
/drivers/peripheral/display/buffer/test/unittest/ |
D | display_buffer_ut.h | 25 namespace HDI { 28 using OHOS::HDI::Display::Buffer::V1_0::IAllocator; 29 using OHOS::HDI::Display::Buffer::V1_0::IMapper; 30 using OHOS::HDI::Display::Buffer::V1_0::AllocInfo; 31 using OHOS::HDI::Display::Buffer::V1_0::IDisplayBuffer;
|
D | death_test.h | 26 namespace HDI { 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_0::IDisplayBuffer;
|
/drivers/peripheral/codec/test/demo/idl/include/ |
D | codec_hdi_callback.h | 20 class CodecHdiCallback : public OHOS::HDI::Codec::V1_0::ICodecCallback { 25 int32_t EventHandler(OHOS::HDI::Codec::V1_0::CodecEventType event, 26 const OHOS::HDI::Codec::V1_0::EventInfo &info) override; 28 …int32_t EmptyBufferDone(int64_t appData, const OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) ove… 30 …int32_t FillBufferDone(int64_t appData, const OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) over…
|
D | icodec_hdi_callback_base.h | 21 virtual int32_t EventHandler(OHOS::HDI::Codec::V1_0::CodecEventType event, 22 const OHOS::HDI::Codec::V1_0::EventInfo &info) = 0; 23 virtual int32_t OnEmptyBufferDone(const OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) = 0; 24 virtual int32_t OnFillBufferDone(const OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) = 0;
|
D | codec_hdi_decode.h | 40 using OHOS::HDI::Codec::V1_0::OmxCodecBuffer; 45 std::shared_ptr<OHOS::HDI::Codec::V1_0::OmxCodecBuffer> omxBuffer; 89 int32_t OnEmptyBufferDone(const struct OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) override; 90 int32_t OnFillBufferDone(const struct OHOS::HDI::Codec::V1_0::OmxCodecBuffer &buffer) override; 91 int32_t EventHandler(OHOS::HDI::Codec::V1_0::CodecEventType event, 92 const OHOS::HDI::Codec::V1_0::EventInfo &info) override; 121 OHOS::sptr<OHOS::HDI::Codec::V1_0::ICodecComponent> client_; 122 OHOS::sptr<OHOS::HDI::Codec::V1_0::ICodecCallback> callback_; 123 OHOS::sptr<OHOS::HDI::Codec::V1_0::ICodecComponentManager> omxMgr_; 137 static OHOS::HDI::Display::Buffer::V1_0::IDisplayBuffer *gralloc_;
|
/drivers/peripheral/ril/ |
D | README_zh.md | 7 Ril驱动模块主要包含HDI(Hardware Driver Interface)接口定义及其实现,对上层提供Telephony的驱动能力接口,HDI接口主要提供如下功能: 40 Ril驱动提供给framework层可直接调用的能力接口,主要功能有:通话、SIM卡、短彩信、蜂窝数据、事件上报等业务。Ril驱动模型对HDI开放的API接口功能如表1: 42 **表 1** Ril HDI 接口列表 67 class RilCallback : public HDI::Ril::V1_1::IRilCallback { 68 int32_t DialResponse(const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo) override; 69 int32_t HangupResponse(const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo) override; 70 int32_t RejectResponse(const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo) override; 71 int32_t AnswerResponse(const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo) override; 76 int32_t RilCallback::DialResponse(const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo) 85 sptr<OHOS::HDI::Ril::V1_1::IRil> g_rilInterface = OHOS::HDI::Ril::V1_1::IRil::Get(); [all …]
|
/drivers/peripheral/camera/test/fuzztest/camera_host/ |
D | camera_host_fuzzer.cpp | 55 …cameraTest->serviceV1_1->Prelaunch(reinterpret_cast<const HDI::Camera::V1_1::PrelaunchConfig &>(ra… in HostFuncSwitch() 73 sptr<HDI::Camera::V1_0::ICameraDevice> g_CameraDevice = nullptr; in HostFuncSwitch() 74 const sptr<HDI::Camera::V1_0::ICameraDeviceCallback> callback = in HostFuncSwitch() 75 const_cast<HDI::Camera::V1_0::ICameraDeviceCallback *>( in HostFuncSwitch() 76 reinterpret_cast<const HDI::Camera::V1_0::ICameraDeviceCallback *>(rawData)); in HostFuncSwitch() 83 sptr<HDI::Camera::V1_1::ICameraDevice> g_CameraDevice = nullptr; in HostFuncSwitch() 84 const sptr<HDI::Camera::V1_0::ICameraDeviceCallback> callback = in HostFuncSwitch() 85 const_cast<HDI::Camera::V1_0::ICameraDeviceCallback *>( in HostFuncSwitch() 86 reinterpret_cast<const HDI::Camera::V1_0::ICameraDeviceCallback *>(rawData)); in HostFuncSwitch()
|
/drivers/peripheral/camera/test/hdi/v1_1/src/ |
D | camera_hdi_uttest_v1_1.cpp | 51 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); 57 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 76 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); 82 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 101 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); 107 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::INVALID_ARGUMENT); 126 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); 132 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::INVALID_ARGUMENT); 155 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 176 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); [all …]
|
D | hdi_common_v1_1.cpp | 76 serviceV1_1 = OHOS::HDI::Camera::V1_1::ICameraHost::Get("camera_service", false); in Init() 90 service = static_cast<OHOS::HDI::Camera::V1_0::ICameraHost *>(serviceV1_1.GetRefPtr()); in Init() 110 if (rc != HDI::Camera::V1_0::NO_ERROR || cameraDeviceV1_1 == nullptr) { in Open() 115 …cameraDevice = static_cast<OHOS::HDI::Camera::V1_0::ICameraDevice *>(cameraDeviceV1_1.GetRefPtr()); in Open() 123 if (rc != HDI::Camera::V1_0::NO_ERROR) { in GetCameraMetadata() 145 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultPreview() 157 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultCapture() 169 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultInfosPreview() 181 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultInfosCapture() 193 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultInfosVideo() [all …]
|
/drivers/peripheral/camera/test/fuzztest/camera_device/ |
D | camera_device_fuzzer.cpp | 66 sptr<HDI::Camera::V1_1::IStreamOperator> g_StreamOperator = nullptr; in DeviceFuncSwitch() 67 const sptr<HDI::Camera::V1_0::IStreamOperatorCallback> callback = in DeviceFuncSwitch() 68 const_cast<HDI::Camera::V1_0::IStreamOperatorCallback *>( in DeviceFuncSwitch() 69 reinterpret_cast<const HDI::Camera::V1_0::IStreamOperatorCallback *>(rawData)); in DeviceFuncSwitch() 75 sptr<HDI::Camera::V1_0::IStreamOperator> g_StreamOperator = nullptr; in DeviceFuncSwitch() 76 const sptr<HDI::Camera::V1_0::IStreamOperatorCallback> callback = in DeviceFuncSwitch() 77 const_cast<HDI::Camera::V1_0::IStreamOperatorCallback *>( in DeviceFuncSwitch() 78 reinterpret_cast<const HDI::Camera::V1_0::IStreamOperatorCallback *>(rawData)); in DeviceFuncSwitch() 92 *reinterpret_cast<const HDI::Camera::V1_0::ResultCallbackMode *>(rawData)); in DeviceFuncSwitch()
|
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
D | hdi_stream_uttest.cpp | 48 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 79 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 94 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu… 100 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 105 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 120 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu… 142 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu… 164 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu… 171 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); 174 EXPECT_EQ(cameraTest->rc, HDI::Camera::V1_0::NO_ERROR); [all …]
|