Home
last modified time | relevance | path

Searched refs:V1_1 (Results 1 - 25 of 161) sorted by relevance

1234567

/drivers/interface/display/buffer/v1_1/hdi_impl/
H A Ddisplay_buffer_hdi_impl.cpp21 namespace V1_1 { namespace
22 using namespace OHOS::HDI::Display::Buffer::V1_1;
25 IDisplayBuffer *instance = new V1_1::HdiDisplayBufferImpl(); in Get()
32 } // namespace V1_1
/drivers/peripheral/motion/test/unittest/hdi/
H A Dhdf_motion_hdi_test.cpp30 using namespace OHOS::HDI::Motion::V1_1;
34 sptr<OHOS::HDI::Motion::V1_1::IMotionInterface> g_motionInterface = nullptr;
50 g_motionInterface = OHOS::HDI::Motion::V1_1::IMotionInterface::Get(); in SetUpTestCase()
136 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_PICKUP); in HWTEST_F()
137 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_FLIP); in HWTEST_F()
138 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_SHAKE); in HWTEST_F()
139 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_ROTATION); in HWTEST_F()
174 int32_t ret = g_motionInterface->EnableMotion(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_MAX); in HWTEST_F()
178 ret = g_motionInterface->DisableMotion(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_MAX); in HWTEST_F()
188 int32_t ret = g_motionInterface->EnableMotion(OHOS::HDI::Motion::V1_1 in HWTEST_F()
[all...]
/drivers/peripheral/motion/test/fuzztest/motion_fuzzer/
H A Dmotion_fuzzer.cpp22 using namespace OHOS::HDI::Motion::V1_1;
64 sptr<OHOS::HDI::Motion::V1_1::IMotionInterface> g_motionInterface = in DoSomethingInterestingWithMyAPI()
65 OHOS::HDI::Motion::V1_1::IMotionInterface::Get(false); in DoSomethingInterestingWithMyAPI()
70 sptr<OHOS::HDI::Motion::V1_1::MotionInterfaceStub> motionInterface = in DoSomethingInterestingWithMyAPI()
71 new OHOS::HDI::Motion::V1_1::MotionInterfaceStub(g_motionInterface); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_port.h46 using OHOS::HDI::Usb::V1_1::PortInfo;
48 using OHOS::HDI::Usb::V1_1::IUsbdSubscriber;
53 namespace V1_1 { namespace
60 int32_t UpdatePort(int32_t mode, const sptr<HDI::Usb::V1_1::IUsbdSubscriber> &subscriber);
76 HDI::Usb::V1_1::PortInfo currentPortInfo_ = {DEFAULT_PORT_ID, POWER_ROLE_SINK, DATA_ROLE_DEVICE, PORT_MODE_DEVICE};
79 } // namespace V1_1
/drivers/peripheral/display/buffer/test/unittest/
H A Ddisplay_buffer_ut.cpp30 using namespace OHOS::HDI::Display::Buffer::V1_1;
35 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_RGBX_8888;
36 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_RGBA_8888;
37 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_BGRA_8888;
38 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_YCBCR_420_SP;
39 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_YCRCB_420_SP;
40 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_YCBCR_420_P;
41 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_YCRCB_420_P;
42 using OHOS::HDI::Display::Composer::V1_1::PIXEL_FMT_RGB_888;
43 using OHOS::HDI::Display::Composer::V1_1
[all...]
H A Ddisplay_buffer_ut.h32 using OHOS::HDI::Display::Buffer::V1_1::IMetadata;
33 using OHOS::HDI::Display::Buffer::V1_1::IDisplayBuffer;
/drivers/peripheral/connected_nfc_tag/hdi_service/
H A Dconnected_nfc_tag_impl.h28 namespace V1_1 { namespace
29 class ConnectedNfcTagImpl : public OHOS::HDI::ConnectedNfcTag::V1_1::IConnectedNfcTag {
35 const sptr<OHOS::HDI::ConnectedNfcTag::V1_1::IConnectedNfcTagCallback>& callbackObj) override;
46 } // namespace V1_1
H A Dconnected_nfc_tag_impl.cpp27 namespace V1_1 { namespace
29 static sptr<OHOS::HDI::ConnectedNfcTag::V1_1::IConnectedNfcTagCallback> g_callbackV1_1 = nullptr;
46 const sptr<OHOS::HDI::ConnectedNfcTag::V1_1::IConnectedNfcTagCallback>& callbackObj) in RegisterCallBack()
93 } // namespace V1_1
/drivers/peripheral/usb/test/fuzztest/usbgetinterfacestatus_fuzzer/
H A Dusbgetinterfacestatus_fuzzer.cpp22 using namespace OHOS::HDI::Usb::V1_1;
34 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> usbInterface = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in UsbGetInterfaceStatusFuzzTest()
/drivers/peripheral/thermal/test/fuzztest/thermalhdistub_fuzzer/
H A Dthermalhdistub_fuzz.cpp28 using namespace OHOS::HDI::Thermal::V1_1;
34 namespace V1_1 { namespace
64 } // namespace V1_1
73 OHOS::HDI::Thermal::V1_1::ThermalStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/drivers/peripheral/usb/test/fuzztest/usbclearhalt_fuzzer/
H A Dusbclearhalt_fuzzer.cpp23 using namespace OHOS::HDI::Usb::V1_1;
31 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> usbInterface = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in UsbClearHaltFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbgetdevicespeed_fuzzer/
H A Dusbgetdevicespeed_fuzzer.cpp22 using namespace OHOS::HDI::Usb::V1_1;
30 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> usbInterface = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in UsbGetDeviceSpeedFuzzTest()
/drivers/peripheral/usb/test/fuzztest/usbresetdevice_fuzzer/
H A Dusbresetdevice_fuzzer.cpp23 using namespace OHOS::HDI::Usb::V1_1;
31 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> usbInterface = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in UsbResetDeviceFuzzTest()
/drivers/peripheral/camera/test/fuzztest/stream_operator/
H A Dstream_operator_fuzzer.cpp58 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfosV1_1; in IsStreamSupportedApi()
59 OHOS::HDI::Camera::V1_1::ExtendedStreamInfo extendedStreamInfo; in IsStreamSupportedApi()
60 extendedStreamInfo.type = OHOS::HDI::Camera::V1_1::EXTENDED_STREAM_INFO_QUICK_THUMBNAIL; in IsStreamSupportedApi()
65 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoCapture = nullptr; in IsStreamSupportedApi()
66 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in IsStreamSupportedApi()
73 *reinterpret_cast<const HDI::Camera::V1_1::OperationMode_V1_1 *>(rawData), abilityVec, in IsStreamSupportedApi()
83 cameraTest->streamInfoV1_1 = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in UpdateStreams()
139 *reinterpret_cast<const HDI::Camera::V1_1::OperationMode_V1_1 *>(rawData), abilityVec); in HostFuncSwitch()
/drivers/interface/display/composer/v1_1/display_command/
H A Ddisplay_cmd_requester.h28 namespace V1_1 { namespace
53 using HdiDisplayCmdRequester = V1_1::DisplayCmdRequester<SharedMemQueue<int32_t>, V1_1::IDisplayComposer>;
54 } // namespace V1_1
/drivers/peripheral/usb/test/fuzztest/usbcontroltransferreadwithlength_fuzzer/
H A Dusbcontroltransferreadwithlength_fuzzer.cpp24 using namespace OHOS::HDI::Usb::V1_1;
34 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> usbInterface = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in UsbControlTransferReadwithLengthFuzzTest()
/drivers/peripheral/camera/test/common/v1_3/src/
H A Dhdi_common_v1_3.cpp137 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) 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()
190 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
191 streamInfoVideo = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
192 streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
193 streamInfoAnalyze = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in StartProfessionalStream()
215 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(professionalMode), abilityVec); in StartProfessionalStream()
221 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>().swap(streamInfos); in StartProfessionalStream()
241 streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1 in StartStream()
[all...]
/drivers/peripheral/camera/test/hdi/v1_2/src/
H A Dcamera_prelaunch_uttest_v1_2.cpp43 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); in HWTEST_F()
63 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); in HWTEST_F()
83 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); in HWTEST_F()
103 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); in HWTEST_F()
123 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); in HWTEST_F()
H A Dfront_camera_hdi_uttest_v1_2.cpp56 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()
69 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(OHOS::HDI::Camera::V1_2::PORTRAIT), in HWTEST_F()
117 cameraTest->streamInfoV1_1 = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
122 cameraTest->streamInfoV1_1 = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
130 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(OHOS::HDI::Camera::V1_2::PORTRAIT), in HWTEST_F()
H A Dcamera_stream_uttest_v1_2.cpp51 cameraTest->streamInfoV1_1 = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
56 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
94 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
99 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
107 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(OHOS::HDI::Camera::V1_2::NIGHT), in HWTEST_F()
150 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
155 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
163 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(OHOS::HDI::Camera::V1_2::NIGHT), in HWTEST_F()
206 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
211 cameraTest->streamInfoCapture = std::make_shared<OHOS::HDI::Camera::V1_1 in HWTEST_F()
[all...]
/drivers/peripheral/camera/test/common/v1_1/include/
H A Dhdi_common_v1_1.h36 using namespace OHOS::HDI::Camera::V1_1;
52 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraHost> serviceV1_1 = nullptr;
53 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraDevice> cameraDeviceV1_1 = nullptr;
54 OHOS::sptr<OHOS::HDI::Camera::V1_1::IStreamOperator> streamOperator_V1_1 = nullptr;
/drivers/peripheral/camera/test/hdi/v1_3/src/
H A Dcamera_hdi_uttest_securestream_v1_3.cpp69 cameraTest->streamInfoPre = std::make_shared<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>(); in HWTEST_F()
73 OHOS::HDI::Camera::V1_1::ExtendedStreamInfo extendedStreamInfo = in HWTEST_F()
75 .type = static_cast<OHOS::HDI::Camera::V1_1::ExtendedStreamInfoType>( in HWTEST_F()
91 static_cast<OHOS::HDI::Camera::V1_1::OperationMode_V1_1>(OHOS::HDI::Camera::V1_3::OperationMode::SECURE), in HWTEST_F()
/drivers/peripheral/sensor/hdi_service/
H A Dsensor_callback_vdi.h32 class SensorCallbackVdi : public OHOS::HDI::Sensor::V1_1::ISensorCallbackVdi {
37 int32_t OnDataEventVdi(const OHOS::HDI::Sensor::V1_1::HdfSensorEventsVdi& eventVdi) override;
/drivers/peripheral/camera/test/fuzztest/camera_host/
H A Dcamera_host_fuzzer.cpp38 if (size < sizeof(struct HDI::Camera::V1_1::PrelaunchConfig)) { in FuncPrelaunch()
41 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); in FuncPrelaunch()
65 sptr<HDI::Camera::V1_1::ICameraDevice> g_CameraDevice = nullptr; in FuncOpenCamera_V1_1()
98 cameraTest->prelaunchConfig = std::make_shared<OHOS::HDI::Camera::V1_1::PrelaunchConfig>(); in FuncPrelaunchWithOpMode()
/drivers/peripheral/camera/test/common/v1_3/include/
H A Dhdi_common_v1_3.h36 void DefaultMeta(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
37 void DefaultInfosProfessionalCapture(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
38 void DefaultInfosMeta(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
49 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> streamInfoMeta = nullptr;

Completed in 7 milliseconds

1234567