Home
last modified time | relevance | path

Searched refs:bind (Results 1 - 25 of 29) sorted by relevance

12

/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dvendor_interface.cpp72 std::bind(&VendorInterface::OnEventReceived, this, std::placeholders::_1)); in WatchHciChannel()
73 watcher_.AddFdToWatcher(channel[0], std::bind(&Hci::H4Protocol::ReadData, h4, std::placeholders::_1)); in WatchHciChannel()
79 std::bind(&VendorInterface::OnEventReceived, this, std::placeholders::_1)); in WatchHciChannel()
81 channel[hci_channels_t::HCI_ACL_IN], std::bind(&Hci::MctProtocol::ReadAclData, mct, std::placeholders::_1)); in WatchHciChannel()
83 channel[hci_channels_t::HCI_EVT], std::bind(&Hci::MctProtocol::ReadEventData, mct, std::placeholders::_1)); in WatchHciChannel()
186 watcher_.SetTimeout(std::chrono::milliseconds(lpmTimer_), std::bind(&VendorInterface::WatcherTimeout, this)); in SendPacket()
217 std::bind(&VendorInterface::WatcherTimeout, VendorInterface::GetInstance())); in OnInitCallback()
H A Dhci_watcher.cpp80 thread_ = std::thread(std::bind(&HciWatcher::WatcherThread, this)); in Start()
/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_netlink_monitor.cpp34 mThread = std::make_unique<std::thread>(std::bind(&HdiNetLinkMonitor::MonitorThread, this)); in Init()
67 ret = bind(fd, reinterpret_cast<struct sockaddr *>(&snl), sizeof(struct sockaddr_nl)); in ThreadInit()
69 DISPLAY_LOGE("bind fail"); in ThreadInit()
/drivers/peripheral/display/hal/default_standard/src/display_device/core/
H A Dhdi_netlink_monitor.cpp39 ret = bind(fd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)); in Init()
40 DISPLAY_CHK_RETURN((ret < 0), DISPLAY_FAILURE, DISPLAY_LOGE("bind failed errno : %{public}d", errno)); in Init()
/drivers/hdf_core/framework/utils/src/
H A Dhdf_sbuf.c52 .bind = SbufBindRaw,
56 .bind = SbufBindIpc,
60 .bind = SbufBindRawIpcHw,
376 if (constructor->bind == NULL) { in HdfSbufTypedBind()
377 HDF_LOGE("sbuf constructor %u bind method not implement", type); in HdfSbufTypedBind()
389 HDF_LOGE("failed to bind sbuf, unknown type %u", type); in HdfSbufTypedBind()
394 sbuf->impl = constructor->bind(base, size); in HdfSbufTypedBind()
398 HDF_LOGE("sbuf bind fail"); in HdfSbufTypedBind()
/drivers/hdf_core/framework/tools/hdi-gen/ast/
H A Dast_fd_type.cpp189 methods.emplace(methodName, std::bind(&ASTFdType::EmitCWriteMethods, this, _1, _2, _3, _4)); in RegisterWriteMethod()
192 methods.emplace(methodName, std::bind(&ASTFdType::EmitCppWriteMethods, this, _1, _2, _3, _4)); in RegisterWriteMethod()
205 methods.emplace(methodName, std::bind(&ASTFdType::EmitCReadMethods, this, _1, _2, _3, _4)); in RegisterReadMethod()
208 methods.emplace(methodName, std::bind(&ASTFdType::EmitCppReadMethods, this, _1, _2, _3, _4)); in RegisterReadMethod()
H A Dast_interface_type.cpp247 methods.emplace("WriteInterface", std::bind(&ASTInterfaceType::EmitCWriteMethods, this, _1, _2, _3, _4)); in RegisterWriteMethod()
258 methods.emplace(methodName, std::bind(&ASTInterfaceType::EmitCReadMethods, this, _1, _2, _3, _4)); in RegisterReadMethod()
H A Dast_array_type.cpp757 methods.emplace(methodName, std::bind(&ASTArrayType::EmitCWriteMethods, this, _1, _2, _3, _4)); in RegisterWritePodArrayMethod()
760 methods.emplace(methodName, std::bind(&ASTArrayType::EmitCppWriteMethods, this, _1, _2, _3, _4)); in RegisterWritePodArrayMethod()
773 methods.emplace("WriteStringArray", std::bind(&ASTArrayType::EmitCWriteStrArrayMethods, this, _1, _2, _3, _4)); in RegisterWriteStringArrayMethod()
784 std::bind(&ASTArrayType::EmitCReadMethods, this, _1, _2, _3, _4) : in RegisterReadPodArrayMethod()
785 std::bind(&ASTArrayType::EmitCStubReadMethods, this, _1, _2, _3, _4); in RegisterReadPodArrayMethod()
790 methods.emplace(methodName, std::bind(&ASTArrayType::EmitCppReadMethods, this, _1, _2, _3, _4)); in RegisterReadPodArrayMethod()
802 std::bind(&ASTArrayType::EmitCReadStrArrayMethods, this, _1, _2, _3, _4) : in RegisterReadStringArrayMethod()
803 std::bind(&ASTArrayType::EmitCStubReadStrArrayMethods, this, _1, _2, _3, _4); in RegisterReadStringArrayMethod()
/drivers/hdf_core/framework/utils/include/
H A Dhdf_sbuf_impl.h20 struct HdfSBufImpl *(*bind)(uintptr_t base, size_t size); member
/drivers/peripheral/bluetooth/hci/hdi_service/
H A Dhci_interface_impl.cpp43 new RemoteDeathRecipient(std::bind(&HciInterfaceImpl::OnRemoteDied, this, std::placeholders::_1)); in HciInterfaceImpl()
/drivers/peripheral/usb/net/include/
H A Dusb_net_host.h143 int32_t (*bind)(struct UsbnetHost *); member
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_pnp_uevent_hdmi.c140 if (bind(*sockFd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)) < 0) { in AudioHdmiOpenEventPoll()
141 AUDIO_FUNC_LOGE("bind failed: %{public}m"); in AudioHdmiOpenEventPoll()
/drivers/peripheral/usb/ddk/host/src/
H A Dddk_uevent_handle.c77 if (bind(socketfd, (struct sockaddr *)&addr, sizeof(addr)) < 0) { in DdkUeventOpen()
78 HDF_LOGE("%{public}s: bind socketfd failed!", __func__); in DdkUeventOpen()
/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi.cpp52 new RemoteDeathRecipient(std::bind(&Wifi::OnRemoteDied, this, std::placeholders::_1)); in Wifi()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_thread.cpp77 ret = bind(fd, reinterpret_cast<const struct sockaddr*>(&address), sizeof(struct sockaddr_nl)); in OpenUeventSocket()
79 BATTERY_HILOGE(COMP_HDI, "bind socket address failed, ret: %{public}d", ret); in OpenUeventSocket()
/drivers/peripheral/intelligent_voice/hdi_service/trigger/
H A Dintell_voice_trigger_adapter_impl.cpp191 std::bind(&IntellVoiceTriggerAdapterImpl::Clean, this, std::placeholders::_1), object.GetRefPtr()); in RegisterDeathRecipient()
/drivers/peripheral/nfc/hdi_service/
H A Dnfc_impl.cpp65 new RemoteDeathRecipient(std::bind(&NfcImpl::OnRemoteDied, this, std::placeholders::_1)); in NfcImpl()
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Drunning_lock_impl.cpp74 std::function<void()> unholdFunc = std::bind(&RunningLockImpl::Unhold, filledInfo, lockid, bundleName); in Hold()
/drivers/peripheral/secure_element/vendor_adaptor/
H A Dse_vendor_adaptions.cpp53 new RemoteDeathRecipient(std::bind(&SeVendorAdaptions::OnRemoteDied, this, std::placeholders::_1)); in SeVendorAdaptions()
/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_uevent.c380 if (bind(sockfd, (struct sockaddr *)&addr, sizeof(addr)) < 0) { in DevMgrUeventSocketInit()
381 HDF_LOGE("bind socket failed, err = %{public}d", errno); in DevMgrUeventSocketInit()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp437 rc = bind(uDevFd_, (struct sockaddr *)&nls, sizeof(nls)); in V4L2UvcDetectInit()
439 CAMERA_LOGE("UVC:V4L2Detect bind() error\n"); in V4L2UvcDetectInit()
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp436 rc = bind(uDevFd_, (struct sockaddr *)&nls, sizeof(nls)); in V4L2UvcDetectInit()
438 CAMERA_LOGE("UVC:V4L2Detect bind() error\n"); in V4L2UvcDetectInit()
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_device/
H A Dcamera_device_vdi_impl.cpp33 PLACE_A_NOKILL_WATCHDOG(std::bind(&CameraDeviceVdiImpl::OnRequestTimeout, this))
/drivers/peripheral/secure_element/vendor_sim_adaptor/
H A Dse_vendor_adaptions.cpp52 new RemoteDeathRecipient(std::bind(&SimSeVendorAdaptions::OnRemoteDied, this, std::placeholders::_1)); in SimSeVendorAdaptions()
/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c959 if (usbNet->driverInfo->bind) { in UsbnetHostInitObject()
961 ret = usbNet->driverInfo->bind(usbNet); in UsbnetHostInitObject()
963 HDF_LOGE("%{public}s:%{public}d bind failed", __func__, __LINE__); in UsbnetHostInitObject()

Completed in 18 milliseconds

12