Home
last modified time | relevance | path

Searched refs:swap (Results 1 - 25 of 44) sorted by relevance

12

/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dcamera_service_type_converter.cpp49 std::vector<int32_t>().swap(dst.streamIds_); in ConvertCaptureInfoHdiToVdi()
53 std::vector<uint8_t>().swap(dst.captureSetting_); in ConvertCaptureInfoHdiToVdi()
101 std::vector<int32_t>().swap(dst.streamIds_); in ConvertCaptureInfoVdiToHdi()
105 std::vector<uint8_t>().swap(dst.captureSetting_); in ConvertCaptureInfoVdiToHdi()
H A Dcamera_host_service.cpp41 std::vector<std::string>().swap(vdiLibList); in GetVdiLibList()
86 std::vector<struct HdfVdiObject *>().swap(cameraHostVdiLoaderList); in HdfCloseVdiLoaderList()
171 std::vector<std::string>().swap(cameraIds); in GetCameraIds()
256 std::vector<CameraIdInfo>().swap(cameraIdInfoList_); in UpdateCameraIdMapList()
H A Dstream_operator_service.cpp87 std::vector<StreamAttribute>().swap(attributes); in GetStreamAttributes()
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dhibernate.cpp29 #include <sys/swap.h>
61 // The swap file size, which can be configured in subsequent version.
140 HDF_LOGI("swap file is ready, do nothing."); in InitSwap()
156 HDF_LOGI("init swap failed"); in InitSwap()
173 HDF_LOGE("open swap file failed when mkswap"); in MkSwap()
184 uint32_t *swap = reinterpret_cast<uint32_t *>(buff); in MkSwap() local
186 swap[0] = SWAP_HEADER_INFO_VERSION; in MkSwap()
187 swap[1] = pages; in MkSwap()
193 char *uuid = reinterpret_cast<char *>(swap + SWAP_HEADER_INFO_UUID_OFFSET); in MkSwap()
201 auto ret = write(fd, swap, le in MkSwap()
[all...]
/drivers/peripheral/camera/test/ut/v4l2/
H A Dcamera_preview_test.cpp114 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
210 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
313 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
367 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
419 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
463 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
508 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
550 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
590 std::vector<StreamInfo>().swap(streamInfos); in HWTEST_F()
658 std::vector<StreamInfo>().swap(streamInfo in HWTEST_F()
[all...]
H A Dusb_camera_test_mult.cpp74 std::vector<StreamInfo>().swap(streamInfos_); in DefaultInfosPreview()
95 std::vector<StreamInfo>().swap(streamInfos_); in DefaultInfosVideo()
116 std::vector<StreamInfo>().swap(streamInfos_); in DefaultInfosCapture()
H A Ddouble_preview_test.cpp68 std::vector<StreamInfo>().swap(streamInfos_); in CreateStream()
75 std::vector<StreamInfo>().swap(streamInfos_); in CreateStream()
H A Dpipeline_test.cpp139 std::vector<std::shared_ptr<StreamInfo>>().swap(streamInfos); in TEST_F()
H A Dtest_camera_base.cpp542 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
560 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
578 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
595 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
/drivers/peripheral/intelligent_voice/interfaces/
H A Di_trigger.h34 data.swap(dataIn); in TriggerModel()
/drivers/peripheral/display/composer/test/moduletest/
H A Dhdi_device_test.cpp484 std::swap(splitColors[2], splitColors[1]); in TEST_P()
485 std::swap(splitColors[2], splitColors[3]); in TEST_P()
486 std::swap(splitRects[2], splitRects[1]); in TEST_P()
487 std::swap(splitRects[2], splitRects[3]); in TEST_P()
/drivers/peripheral/camera/test/mpi/src/
H A Dpipeline_test.cpp140 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
222 std::vector<std::shared_ptr<StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
H A Dresolution_test.cpp127 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
234 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
341 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
H A Dperformance_hdi_test.cpp537 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
638 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
843 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
915 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
H A Dpreview_test.cpp92 std::vector<std::shared_ptr<StreamInfo>>().swap(Test_->streamInfos); in HWTEST_F()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/
H A Dvi_controller.cpp96 std::vector<int32_t>().swap(abilityMetaData_); in StopVi()
106 std::vector<int32_t>().swap(abilityMetaData_); in SetAbilityMetaDataTag()
/drivers/peripheral/camera/test/ut/usb_camera/
H A Dtest_camera_base.cpp564 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
582 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
600 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
617 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp36 std::vector<DeviceControl>().swap(control_); in V4L2UvcSearchCapability()
37 std::vector<DeviceFormat>().swap(format_); in V4L2UvcSearchCapability()
H A Dv4l2_fileformat.cpp98 std::vector<DeviceFormat>().swap(fmtDesc); in V4L2GetFmtDescs()
H A Dv4l2_control.cpp343 std::vector<DeviceControl>().swap(control); in V4L2GetControls()
/drivers/peripheral/camera/test/common/v1_3/src/
H A Dhdi_common_v1_3.cpp221 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>().swap(streamInfos); in StartProfessionalStream()
272 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>().swap(streamInfos); in StartStream()
/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
H A Dmetadata_controller.cpp109 std::vector<int32_t>().swap(abilityMetaData_); in AddEnabledAbility()
555 swap(empty, queue_); in Start()
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp36 std::vector<DeviceControl>().swap(control_); in V4L2UvcSearchCapability()
37 std::vector<DeviceFormat>().swap(format_); in V4L2UvcSearchCapability()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/
H A Dstream_pipeline_dispatcher.cpp63 std::swap(seqNode_, seqNode); in Update()
/drivers/hdf_core/framework/model/input/driver/touchscreen/
H A Dtouch_ft5x06.c246 swap(x, y); in ParsePointData()

Completed in 19 milliseconds

12