Lines Matching refs:HdcHostUSB

21 HdcHostUSB::HdcHostUSB(const bool serverOrDaemonIn, void *ptrMainBase, void *ctxUSBin)
30 HdcHostUSB::~HdcHostUSB()
35 WRITE_LOG(LOG_DEBUG, "~HdcHostUSB");
38 void HdcHostUSB::Stop()
47 int HdcHostUSB::Initial()
53 WRITE_LOG(LOG_DEBUG, "HdcHostUSB init");
95 void HdcHostUSB::InitLogging(void *ctxUSB)
137 bool HdcHostUSB::DetectMyNeed(libusb_device *device, string &sn)
182 void HdcHostUSB::KickoutZombie(HSession hSession)
198 void HdcHostUSB::RemoveIgnoreDevice(string &mountInfo)
205 void HdcHostUSB::ReviewUsbNodeLater(string &nodeKey)
215 void HdcHostUSB::WatchUsbNodeChange(uv_timer_t *handle)
217 HdcHostUSB *thisClass = static_cast<HdcHostUSB *>(handle->data);
246 bool HdcHostUSB::HasValidDevice(libusb_device *device)
271 void HdcHostUSB::UsbWorkThread(void *arg)
273 HdcHostUSB *thisClass = (HdcHostUSB *)arg;
284 int HdcHostUSB::StartupUSBWork()
295 int HdcHostUSB::CheckDescriptor(HUSB hUSB, libusb_device_descriptor& desc)
324 void HdcHostUSB::UpdateUSBDaemonInfo(HUSB hUSB, HSession hSession, uint8_t connStatus)
346 bool HdcHostUSB::IsDebuggableDev(const struct libusb_interface_descriptor *ifDescriptor)
363 int HdcHostUSB::CheckActiveConfig(libusb_device *device, HUSB hUSB, libusb_device_descriptor& desc)
395 void HdcHostUSB::CheckUsbEndpoint(int& ret, HUSB hUSB, libusb_config_descriptor *descConfig)
438 void HdcHostUSB::CancelUsbIo(HSession hSession)
463 int HdcHostUSB::UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize)
508 void LIBUSB_CALL HdcHostUSB::USBBulkCallback(struct libusb_transfer *transfer)
539 int HdcHostUSB::SubmitUsbBio(HSession hSession, bool sendOrRecv, uint8_t *buf, int bufSize)
578 void HdcHostUSB::BeginUsbRead(HSession hSession)
627 int HdcHostUSB::OpenDeviceMyNeed(HUSB hUSB)
659 int HdcHostUSB::SendUSBRaw(HSession hSession, uint8_t *data, const int length)
675 bool HdcHostUSB::FindDeviceByID(HUSB hUSB, const char *usbMountPoint, libusb_context *ctxUSB)
728 bool HdcHostUSB::ReadyForWorkThread(HSession hSession)
735 HSession HdcHostUSB::ConnectDetectDaemon(const HSession hSession, const HDaemonInfo pdi)
753 WRITE_LOG(LOG_DEBUG, "HSession HdcHostUSB::ConnectDaemon, sid:%u", hSession->sessionId);
776 void HdcHostUSB::SendSoftResetToDaemon(HSession hSession, uint32_t sessionIdOld)