Lines Matching refs:USBProxyService

18 #include "USBProxyService.h"
39 USBProxyService::USBProxyService(Host *aHost)
49 HRESULT USBProxyService::init(void)
58 USBProxyService::~USBProxyService()
74 bool USBProxyService::isActive(void)
86 int USBProxyService::getLastError(void)
100 HRESULT USBProxyService::getLastErrorMessage(BSTR *aError)
117 RWLockHandle *USBProxyService::lockHandle() const
135 HRESULT USBProxyService::getDeviceCollection(std::vector<ComPtr<IHostUSBDevice> > &aUSBDevices)
168 HRESULT USBProxyService::captureDeviceForVM(SessionMachine *aMachine, IN_GUID aId, const com::Utf8Str &aCaptureFilename)
210 HRESULT USBProxyService::detachDeviceFromVM(SessionMachine *aMachine, IN_GUID aId, bool aDone)
273 HRESULT USBProxyService::autoCaptureDevicesForVM(SessionMachine *aMachine)
327 HRESULT USBProxyService::detachAllDevicesFromVM(SessionMachine *aMachine, bool aDone, bool aAbnormal)
396 HRESULT USBProxyService::runAllFiltersOnDevice(ComObjPtr<HostUSBDevice> &aDevice,
510 bool USBProxyService::runMachineFilters(SessionMachine *aMachine, ComObjPtr<HostUSBDevice> &aDevice)
545 void *USBProxyService::insertFilter(PCUSBFILTER aFilter)
558 void USBProxyService::removeFilter(void *aId)
570 int USBProxyService::captureDevice(HostUSBDevice *aDevice)
586 void USBProxyService::captureDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess)
600 void USBProxyService::detachingDevice(HostUSBDevice *aDevice)
612 int USBProxyService::releaseDevice(HostUSBDevice *aDevice)
628 void USBProxyService::releaseDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess)
644 int USBProxyService::start(void)
661 rc = RTThreadCreate(&mThread, USBProxyService::serviceThread, this,
682 int USBProxyService::stop(void)
723 * @param pvUser Pointer to the USBProxyService instance.
725 /*static*/ DECLCALLBACK(int) USBProxyService::serviceThread(RTTHREAD /* Thread */, void *pvUser)
727 USBProxyService *pThis = (USBProxyService *)pvUser;
755 * The default implementation in USBProxyService just a dummy stub.
757 void USBProxyService::serviceThreadInit(void)
766 void USBProxyService::serviceThreadTerm(void)
774 * The default implementation in USBProxyService just a dummy stub.
780 int USBProxyService::wait(RTMSINTERVAL aMillies)
789 * The default implementation in USBProxyService just a dummy stub.
793 int USBProxyService::interruptWait(void)
855 void USBProxyService::processChanges(void)
947 Log(("USBProxyService::processChanges: attached %p {%s} %s / %p:{.idVendor=%#06x, .idProduct=%#06x, .pszProduct=\"%s\", .pszManufacturer=\"%s\"}\n",
978 Log(("USBProxyService::processChanges: detached %p {%s}\n",
999 * The default implementation in USBProxyService just a dummy stub.
1004 PUSBDEVICE USBProxyService::getDevices(void)
1019 void USBProxyService::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice,
1056 void USBProxyService::deviceRemoved(ComObjPtr<HostUSBDevice> &aDevice)
1087 bool USBProxyService::updateDeviceStateFake(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
1113 bool USBProxyService::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
1133 void USBProxyService::deviceChanged(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList *pllOpenedMachines,
1169 USBProxyService::freeDeviceMembers(PUSBDEVICE pDevice)
1198 USBProxyService::freeDevice(PUSBDEVICE pDevice)
1212 USBProxyService::initFilterFromDevice(PUSBFILTER aFilter, HostUSBDevice *aDevice)
1250 ComObjPtr<HostUSBDevice> USBProxyService::findDeviceById(IN_GUID aId)
1267 HRESULT USBProxyService::setError(HRESULT aResultCode, const char *aText, ...)
1273 "USBProxyService",