Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 137) sorted by relevance

123456

/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
Dv4l2_dev.cpp43 int fd; in start() local
82 int fd; in stop() local
126 int rc, fd; in ReqBuffers() local
153 int rc, fd; in CreatBuffer() local
185 int rc, fd; in QueueBuffer() local
209 int fd; in ReleaseBuffers() local
268 RetCode HosV4L2Dev::CreateEpoll(int fd, const unsigned int streamNumber) in CreateEpoll()
302 void HosV4L2Dev::EraseEpoll(int fd) in EraseEpoll()
321 int rc, fd; in StartStream() local
370 int fd = GetCurrentFd(cameraID); in StopStream() local
[all …]
Dv4l2_fileformat.cpp24 RetCode HosFileFormat::V4L2SearchFormat(int fd, std::vector<DeviceFormat>& fmtDesc) in V4L2SearchFormat()
85 RetCode HosFileFormat::V4L2GetFmtDescs(int fd, std::vector<DeviceFormat>& fmtDesc) in V4L2GetFmtDescs()
110 RetCode HosFileFormat::V4L2GetCapability(int fd, const std::string& devName, std::string& cameraId) in V4L2GetCapability()
142 RetCode HosFileFormat::V4L2GetFmt(int fd, DeviceFormat& format) in V4L2GetFmt()
176 RetCode HosFileFormat::V4L2SetFmt(int fd, DeviceFormat& format) in V4L2SetFmt()
210 RetCode HosFileFormat::V4L2GetCrop(int fd, DeviceFormat& format) in V4L2GetCrop()
237 RetCode HosFileFormat::V4L2SetCrop(int fd, DeviceFormat& format) in V4L2SetCrop()
264 RetCode HosFileFormat::V4L2GetCropCap(int fd, DeviceFormat& format) in V4L2GetCropCap()
321 void HosFileFormat::V4L2CloseDevice(int fd) in V4L2CloseDevice()
331 int fd = 0; in V4L2MatchDevice() local
[all …]
Dv4l2_stream.cpp30 RetCode HosV4L2Streams::V4L2StreamOn(int fd) in V4L2StreamOn()
46 RetCode HosV4L2Streams::V4L2StreamOff(int fd) in V4L2StreamOff()
62 RetCode HosV4L2Streams::V4L2StreamFPSGet(int fd, DeviceFormat& format) in V4L2StreamFPSGet()
81 RetCode HosV4L2Streams::V4L2StreamFPSSet(int fd, DeviceFormat& format) in V4L2StreamFPSSet()
Dv4l2_control.cpp22 RetCode HosV4L2Control::V4L2SetCtrls (int fd, std::vector<DeviceControl>& control, const int numCon… in V4L2SetCtrls()
71 RetCode HosV4L2Control::V4L2GetCtrls (int fd, std::vector<DeviceControl>& control, const int numCon… in V4L2GetCtrls()
126 RetCode HosV4L2Control::V4L2GetCtrl(int fd, unsigned int id, int& value) in V4L2GetCtrl()
144 RetCode HosV4L2Control::V4L2SetCtrl(int fd, unsigned int id, int value) in V4L2SetCtrl()
163 int HosV4L2Control::ExtControl(int fd, struct v4l2_queryctrl *ctrl) in ExtControl()
178 void HosV4L2Control::V4L2SetValue(int fd, std::vector<DeviceControl>& control, in V4L2SetValue()
209 void HosV4L2Control::V4L2EnumExtControls(int fd, std::vector<DeviceControl>& control) in V4L2EnumExtControls()
249 int HosV4L2Control::V4L2GetControl(int fd, std::vector<DeviceControl>& control, unsigned int id) in V4L2GetControl()
295 void HosV4L2Control::V4L2EnumControls(int fd, std::vector<DeviceControl>& control) in V4L2EnumControls()
313 RetCode HosV4L2Control::V4L2GetControls(int fd, std::vector<DeviceControl>& control) in V4L2GetControls()
Dv4l2_buffer.cpp36 RetCode HosV4L2Buffers::V4L2ReqBuffers(int fd, int unsigned buffCont) in V4L2ReqBuffers()
67 RetCode HosV4L2Buffers::V4L2QueueBuffer(int fd, const std::shared_ptr<FrameSpec>& frameSpec) in V4L2QueueBuffer()
172 RetCode HosV4L2Buffers::V4L2DequeueBuffer(int fd) in V4L2DequeueBuffer()
222 RetCode HosV4L2Buffers::V4L2AllocBuffer(int fd, const std::shared_ptr<FrameSpec>& frameSpec) in V4L2AllocBuffer()
259 RetCode HosV4L2Buffers::SetAdapterBuffer(int fd, struct v4l2_buffer &buf, const std::shared_ptr<Fra… in SetAdapterBuffer()
357 RetCode HosV4L2Buffers::V4L2ReleaseBuffers(int fd) in V4L2ReleaseBuffers()
395 RetCode HosV4L2Buffers::Flush(int fd) in Flush()
/drivers/interface/display/composer/hdifd_parcelable/
Dhdifd_parcelable.cpp37 HdifdParcelable::HdifdParcelable(int32_t fd) in HdifdParcelable()
49 bool HdifdParcelable::Init(int32_t fd) in Init()
71 bool HdifdParcelable::WriteFileDescriptor(const int fd, Parcel& parcel) in WriteFileDescriptor()
95 int fd = descriptor->GetFd(); in ReadFileDescriptor() local
123 int32_t fd = -1; in Unmarshalling() local
/drivers/peripheral/codec/hal/v1.0/share_mem/src/
Dashmem_wrapper.cpp38 int32_t fd = AshmemCreate(name, size); in AshmemCreateFd() local
45 uint8_t* MapAshmemFd(int32_t fd, int32_t size) in MapAshmemFd()
68 int32_t CloseAshmemFd(int32_t fd) in CloseAshmemFd()
Dshare_mem.c29 int32_t fd = AshmemCreateFd("", shareMemory->size); in CreateFdShareMemory() local
/drivers/hdf_core/adapter/uhdf2/utils/src/
Dshared_mem.cpp24 int SharedMemSetProt(int fd, int prot) in SharedMemSetProt()
29 int SharedMemGetSize(int fd) in SharedMemGetSize()
/drivers/peripheral/power/interfaces/hdi_service/src/
Dsystem_operation.cpp36 UniqueFd fd(TEMP_FAILURE_RETRY(open(WAKE_LOCK_PATH, O_RDWR | O_CLOEXEC))); in WriteWakeLock() local
49 UniqueFd fd(TEMP_FAILURE_RETRY(open(WAKE_UNLOCK_PATH, O_RDWR | O_CLOEXEC))); in WriteWakeUnlock() local
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
Dhdi_service_test.cpp224 int fd = open(sysBattTemPath.c_str(), O_RDONLY); in ReadTemperatureSysfs() local
261 int fd = open(sysBattVolPath.c_str(), O_RDONLY); in ReadVoltageSysfs() local
298 int fd = open(sysBattCapPath.c_str(), O_RDONLY); in ReadCapacitySysfs() local
336 int fd = open(sysBattTotalEnergyPath.c_str(), O_RDONLY); in ReadTotalEnergySysfs() local
374 int fd = open(sysBattCurrentAvgPath.c_str(), O_RDONLY); in ReadCurrentAverageSysfs() local
412 int fd = open(sysBattCurrentNowPath.c_str(), O_RDONLY); in ReadCurrentNowSysfs() local
450 int fd = open(sysBattChargeNowPath.c_str(), O_RDONLY); in ReadRemainEnergySysfs() local
519 int fd = open(sysHealthStatePath.c_str(), O_RDONLY); in ReadHealthStateSysfs() local
569 int fd = open(path, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in ReadSysfsFile() local
655 int fd = open(sysChargeStatePath.c_str(), O_RDONLY); in ReadChargeStateSysfs() local
[all …]
/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/
Dfb_device.cpp36 int fd = adapter->OpenDevice(FBDEV_PATH, O_RDWR, 0); in Create() local
46 FbDevice::FbDevice(int fd) in FbDevice()
/drivers/peripheral/audio/test/systemtest/hdi_service/common/render/src/
Daudio_idl_hdirender_control_test.cpp502 int fd = fileno(file); variable
541 int fd = fileno(fp); variable
580 int fd = fileno(fp); variable
604 int fd = fileno(fp); variable
623 int fd = 3; variable
/drivers/peripheral/audio/test/systemtest/hdi_service/common/capture/src/
Daudio_idl_hdicapture_control_test.cpp450 int fd = fileno(fp); variable
488 int fd = fileno(file); variable
527 int fd = fileno(file); variable
551 int fd = fileno(fp); variable
570 int fd = 3; variable
/drivers/peripheral/partitionslot/hal/src/
Dpartitionslot_manager.cpp73 int32_t PartitionSlotManager::WriteSlot(int fd, int32_t slot, off_t offset, off_t size) in WriteSlot()
89 int fd = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in ReadMisc() local
115 int fd = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteSlotToMisc() local
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
Dhci_protocol.cpp44 ssize_t HciProtocol::Read(int fd, uint8_t *data, size_t length) in Read()
57 ssize_t HciProtocol::Write(int fd, const uint8_t *data, size_t length) in Write()
Dh4_protocol.cpp28int fd, HciDataCallback onAclReceive, HciDataCallback onScoReceive, HciDataCallback onEventReceive) in H4Protocol()
54 void H4Protocol::ReadData(int fd) in ReadData()
Dmct_protocol.cpp51 void MctProtocol::ReadEventData(int fd) in ReadEventData()
97 void MctProtocol::ReadAclData(int fd) in ReadAclData()
/drivers/peripheral/display/hdi_service/device/src/util/
Ddisplay_device_common.cpp240 bool DisplayDeviceWriteFileDescriptor(MessageParcel *parcel, const int32_t fd) in DisplayDeviceWriteFileDescriptor()
257 bool DisplayDeviceReadFileDescriptor(int32_t *fd, MessageParcel *parcel) in DisplayDeviceReadFileDescriptor()
277 bool DisplayDeviceWriteFileDescriptorArray(MessageParcel *parcel, const int *fd, uint32_t num) in DisplayDeviceWriteFileDescriptorArray()
290 bool DisplayDeviceReadFileDescriptorArray(int *fd, MessageParcel *parcel, uint32_t num) in DisplayDeviceReadFileDescriptorArray()
/drivers/hdf_core/framework/sample/platform/uart/dev/
Dhello_uart_dev.c20 int fd; in main() local
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
Dhisilicon_drm.h28 __s32 fd; member
/drivers/peripheral/display/hal/default_standard/src/display_device/core/
Dhdi_fd.h31 explicit HdiFd(int fd) : mFd(fd) in HdiFd()
/drivers/hdf_core/interfaces/inner_api/hdi/base/
Dhdi_smq_meta.h258 SharedMemQueueMeta<T>::SharedMemQueueMeta(int fd, size_t elementCount, SmqType type) in SharedMemQueueMeta()
314 void SharedMemQueueMeta<T>::SetFd(int fd) in SetFd()
429 int fd = parcel.ReadFileDescriptor(); in UnMarshalling() local
/drivers/peripheral/audio/test/fuzztest/audio_config_fuzzer/audiocardconfig_fuzzer/
Daudiocardconfig_fuzzer.cpp35 int fd = mkstemp(tmpfile); in DoSomethingInterestingWithMyAPI() local
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
Dosal_firmware.c43 int32_t fd; member
55 int32_t fd = -1; in OsalRequestFirmware() local

123456