Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 153) sorted by relevance

1234567

/drivers/peripheral/camera/vdi_base/common/device_manager/include/
Ddevice_manager_adapter.h80 using NodeBufferCb = std::function<void(std::shared_ptr<FrameSpec>)>;
81 using MetaDataCb = std::function<void(std::shared_ptr<CameraMetadata>)>;
82 using HotplugDevCb = std::function<void(std::shared_ptr<CameraMetadata>, bool, CameraId)>;
83 using DeviceStatusCb = std::function<void()>;
/drivers/peripheral/camera/vdi_base/v4l2/include/
Dutils.h33 std::function<void (int32_t captureId, const std::vector<int32_t> &streamId)> OnCaptureStarted;
34 std::function<void (int32_t captureId,
36 std::function<void (int32_t captureId,
38 std::function<void (int32_t captureId, const std::vector<int> &streamIds)> OnFrameShutter;
/drivers/peripheral/usb/
DBUILD.gn27 "./gadget/function/acm:libusbfn_cdcacm",
28 "./gadget/function/ecm:libusbfn_cdcecm",
29 "./gadget/function/mtp:hdi_usbfn_mtp_service",
30 "./gadget/function/usbfn:libusbfn",
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
Dstream_customer.h43 …const std::function<void(void*, const uint32_t)> callback) : callback_(callback), consumer_(surfac… in TestBuffersConsumerListener()
72 std::function<void(void*, uint32_t)> callback_;
80 …sptr<OHOS::IBufferProducer> CreateProducer(CaptureMode mode, const std::function<void(void*, uint3…
/drivers/interface/bluetooth/a2dp/v1_0/
DIBluetoothAudioCallback.idl31 * @brief Defines the callback function, including the start, suspend, stop operations from audio.
40 * @brief Defines the callback function to start, suspend, stop audio render.
46 * @brief Start audio render callback function.
56 * @brief Suspend audio render callback function.
66 * @brief Stop audio render callback function.
/drivers/peripheral/usb/gadget/function/mtp/
DBUILD.gn24 "${usb_driver_path}/gadget/function/include",
25 "${usb_driver_path}/gadget/function/mtp/include",
50 "${usb_driver_path}/gadget/function/include",
51 "${usb_driver_path}/gadget/function/mtp/include",
/drivers/peripheral/bluetooth/hci/hdi_service/
Dremote_death_recipient.h30 explicit RemoteDeathRecipient(std::function<void(const wptr<IRemoteObject> &)> callback) in RemoteDeathRecipient()
47 std::function<void(const wptr<IRemoteObject> &)> callback_;
/drivers/peripheral/camera/test/ut/v4l2/
Dstream_customer.h46 void CamFrame(const std::function<void(const unsigned char *, const uint32_t)> callback);
48 …OHOS::Camera::RetCode ReceiveFrameOn(const std::function<void(const unsigned char *, const uint32_…
Dstream_customer.cpp22 void StreamCustomer::CamFrame(const std::function<void(const unsigned char *, uint32_t)> callback) in CamFrame()
67 const std::function<void(const unsigned char *, uint32_t)> callback) in ReceiveFrameOn()
/drivers/peripheral/camera/test/demo/
Dstream_customer.h45 void CamFrame(const std::function<void(void*, const uint32_t)> callback);
47 RetCode ReceiveFrameOn(const std::function<void(void*, const uint32_t)> callback);
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
Dhci_watcher.h33 using HciDataCallback = std::function<void(int fd)>;
34 using TimeoutCallback = std::function<void()>;
/drivers/peripheral/camera/vdi_base/common/utils/watchdog/
Dwatchdog.h28 void Init(int ms, std::function<void()> executor, bool isKill = false);
37 std::function<void()> executor_ = nullptr;
/drivers/hdf_core/interfaces/inner_api/hdi/base/
Dnative_buffer.h123 std::function<void(BufferHandle *)> destructor = nullptr);
148 std::function<void(BufferHandle *)> bufferDestructor_;
/drivers/interface/display/composer/v1_0/cache_manager/
Ddevice_cache.h48 std::function<int32_t (const BufferHandle&)> realFunc);
50 std::function<int32_t (const BufferHandle&)> realFunc);
/drivers/hdf_core/adapter/platform/i2c/
Di2c_bes.c65 pinMuxI2c[0].function = HAL_IOMUX_FUNC_I2C_M0_SCL; in I2cDeviceIomuxInit()
66 pinMuxI2c[1].function = HAL_IOMUX_FUNC_I2C_M0_SDA; in I2cDeviceIomuxInit()
68 pinMuxI2c[0].function = HAL_IOMUX_FUNC_I2C_M1_SCL; in I2cDeviceIomuxInit()
69 pinMuxI2c[1].function = HAL_IOMUX_FUNC_I2C_M1_SDA; in I2cDeviceIomuxInit()
73 pinMuxI2c[0].function = HAL_IOMUX_FUNC_SYS_I2C_M0_SCL; in I2cDeviceIomuxInit()
74 pinMuxI2c[1].function = HAL_IOMUX_FUNC_SYS_I2C_M0_SDA; in I2cDeviceIomuxInit()
76 pinMuxI2c[0].function = HAL_IOMUX_FUNC_SYS_I2C_M1_SCL; in I2cDeviceIomuxInit()
77 pinMuxI2c[1].function = HAL_IOMUX_FUNC_SYS_I2C_M1_SDA; in I2cDeviceIomuxInit()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/
Dhdf_driver.c.template38 …amework. When loading the driver, call the Bind function and then the Init function. If the Init f…
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/include/
Doffline_pipeline.h37 void BindOfflineStreamCallback(std::function<void(std::shared_ptr<IBuffer>&)>& callback);
53 std::function<void(std::shared_ptr<IBuffer>&)> callback_ = nullptr;
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
Dv4l2_common.h106 using BufCallback = std::function<void(std::shared_ptr<FrameSpec>)>;
107 using UvcCallback = std::function<void(const std::string, std::vector<DeviceControl>&,
/drivers/peripheral/usb/sample/host/
DBUILD.gn27 "./../../gadget/function/include",
56 "./../../gadget/function/include",
157 "./../../gadget/function/include",
189 "./../../gadget/function/include",
225 "./../../gadget/function/include",
/drivers/peripheral/codec/test/demo/v1.0/
DBUILD.gn27 "-Wno-predefined-identifier-outside-function",
73 "-Wno-predefined-identifier-outside-function",
119 "-Wno-predefined-identifier-outside-function",
165 "-Wno-predefined-identifier-outside-function",
/drivers/peripheral/usb/hdi_service/
DBUILD.gn28 "${usb_driver_path}/gadget/function/include",
29 "${usb_driver_path}/gadget/function/mtp/include",
53 "./../gadget/function/mtp:libusbfn_mtp_interface_service_1.0",
/drivers/interface/bluetooth/hci/v1_0/
DIHciCallback.idl31 …* @brief Defines the HCI callback function, including the initialization result and data received …
42 …* @brief Defines the HCI callback function, including the initialization result and data received …
48 * @brief HCI initialization callback function.
/drivers/peripheral/intelligent_voice/interfaces/
Di_engine.h33 using getParameterCb = std::function<void(const std::string &retStr)>;
34 using getFileDataCb = std::function<void(std::shared_ptr<uint8_t> data, uint32_t size)>;
/drivers/peripheral/camera/test/mpi/include/
Dcommon.h138 …std::shared_ptr<OHOS::Surface> CreateProducer(std::function<void(OHOS::SurfaceBuffer* buffer)> cal…
140 … OHOS::sptr<OHOS::IBufferProducer> CreateProducer(std::function<void(void*, uint32_t)> callback);
167 std::function<void(OHOS::SurfaceBuffer*)> callback_ = nullptr;
170 std::function<void(void*, uint32_t)> callback_ = nullptr;
/drivers/peripheral/camera/test/hdi/v1_0/include/
Dut_common.h141 … OHOS::sptr<OHOS::IBufferProducer> CreateProducer(std::function<void(void*, uint32_t)> callback);
142 …OHOS::sptr<BufferProducerSequenceable> CreateProducerSeq(std::function<void(void*, uint32_t)> call…
168 std::function<void(void*, uint32_t)> callback_ = nullptr;
185 using ResultCallback = std::function<void (uint64_t, const std::shared_ptr<CameraMetadata>)>;

1234567