Home
last modified time | relevance | path

Searched refs:ctxUSB (Results 1 – 6 of 6) sorted by relevance

/developtools/hdc/src/host/
Dhost_usb.h25 void InitLogging(void *ctxUSB);
51 bool FindDeviceByID(HUSB hUSB, const char *usbMountPoint, libusb_context *ctxUSB);
61 libusb_context *ctxUSB; variable
Dhost_usb.cpp26 ctxUSB = (libusb_context *)ctxUSBin; in HdcHostUSB()
40 if (!ctxUSB) { in Stop()
49 if (!ctxUSB) { in Initial()
95 void HdcHostUSB::InitLogging(void *ctxUSB) in InitLogging() argument
97 if (ctxUSB == nullptr) { in InitLogging()
124 libusb_set_option((libusb_context *)ctxUSB, LIBUSB_OPTION_LOG_LEVEL, debugLevel); in InitLogging()
125 libusb_set_log_cb((libusb_context *)ctxUSB, UsbLogHandler, in InitLogging()
217 ssize_t cnt = libusb_get_device_list(thisClass->ctxUSB, &devs); in WatchUsbNodeChange()
272 libusb_handle_events_timeout(thisClass->ctxUSB, &zerotime); in UsbWorkThread()
639 bool HdcHostUSB::FindDeviceByID(HUSB hUSB, const char *usbMountPoint, libusb_context *ctxUSB) in FindDeviceByID() argument
[all …]
Dserver.cpp94 clsUSBClt->InitLogging(ctxUSB); in Initial()
96 clsUSBClt = new HdcHostUSB(true, this, ctxUSB); in Initial()
/developtools/hdc/src/common/
Dsession.cpp49 ctxUSB = nullptr; in HdcSessionBase()
55 if (libusb_init((libusb_context **)&ctxUSB) != 0) { in HdcSessionBase()
56 ctxUSB = nullptr; in HdcSessionBase()
71 if (serverOrDaemon and ctxUSB != nullptr) { in ~HdcSessionBase()
72 libusb_exit((libusb_context *)ctxUSB); in ~HdcSessionBase()
Dsession.h131 void *ctxUSB; variable
Ddefine_plus.h323 libusb_context *ctxUSB = nullptr; // child-use, main null member