Searched refs:ctxUSB (Results 1 – 6 of 6) sorted by relevance
/developtools/hdc/src/host/ |
D | host_usb.h | 25 void InitLogging(void *ctxUSB); 51 bool FindDeviceByID(HUSB hUSB, const char *usbMountPoint, libusb_context *ctxUSB); 61 libusb_context *ctxUSB; variable
|
D | host_usb.cpp | 26 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 …]
|
D | server.cpp | 94 clsUSBClt->InitLogging(ctxUSB); in Initial() 96 clsUSBClt = new HdcHostUSB(true, this, ctxUSB); in Initial()
|
/developtools/hdc/src/common/ |
D | session.cpp | 49 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()
|
D | session.h | 131 void *ctxUSB; variable
|
D | define_plus.h | 323 libusb_context *ctxUSB = nullptr; // child-use, main null member
|