/vbox/src/VBox/Main/include/ |
H A D | USBProxyService.h | 77 /** @name Interfaces for the HostUSBDevice 79 virtual int captureDevice(HostUSBDevice *aDevice); 80 virtual void captureDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess); 82 virtual void detachingDevice(HostUSBDevice *aDevice); 83 virtual int releaseDevice(HostUSBDevice *aDevice); 84 virtual void releaseDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess); 96 virtual void deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines, PUSBDEVICE aUSBDevice); 97 virtual void deviceRemoved(ComObjPtr<HostUSBDevice> &aDevice); 98 virtual void deviceChanged(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList *pllOpenedMachines, SessionMachine *aIgnoreMachine); 99 bool updateDeviceStateFake(HostUSBDevice *aDevic [all...] |
H A D | USBDeviceFiltersImpl.h | 25 class HostUSBDevice; 60 bool i_hasMatchingFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs);
|
H A D | USBControllerImpl.h | 25 class HostUSBDevice;
|
H A D | HostUSBDeviceImpl.h | 23 /* #include "USBProxyService.h" circular on Host/HostUSBDevice, the includer 34 * The unified state machine of HostUSBDevice. 171 class ATL_NO_VTABLE HostUSBDevice : class in inherits:HostUSBDeviceWrap 175 DECLARE_EMPTY_CTOR_DTOR(HostUSBDevice)
|
H A D | PerformanceImpl.h | 48 class HostUSBDevice;
|
H A D | MachineImpl.h | 73 class HostUSBDevice; 1343 bool i_hasMatchingUSBFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs);
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstUSBProxyLinux.cpp | 41 int USBProxyService::captureDevice(HostUSBDevice*) { return VINF_SUCCESS; } 42 void USBProxyService::captureDeviceCompleted(HostUSBDevice*, bool) {} 43 void USBProxyService::detachingDevice(HostUSBDevice*) {} 44 int USBProxyService::releaseDevice(HostUSBDevice*) { return VINF_SUCCESS; } 45 void USBProxyService::releaseDeviceCompleted(HostUSBDevice*, bool) {} 51 void USBProxyService::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines, PUSBDEVICE aUSBDevice) {} 52 void USBProxyService::deviceRemoved(ComObjPtr<HostUSBDevice> &aDevice) {} 53 void USBProxyService::deviceChanged(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList*, SessionMachine*) {} 54 bool USBProxyService::updateDeviceState(HostUSBDevice*, USBDEVICE*, bool*, SessionMachine**) { return true; } 55 bool USBProxyService::updateDeviceStateFake(HostUSBDevice*, USBDEVIC [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | USBProxyService.cpp | 176 ComObjPtr<HostUSBDevice> pHostDevice = findDeviceById(aId); 225 ComObjPtr<HostUSBDevice> pHostDevice = findDeviceById(aId); 281 * (This will not make copies of any HostUSBDevice objects, only reference them.) 291 ComObjPtr<HostUSBDevice> device = *it; 337 * Make a copy of the device list (not the HostUSBDevice objects, just 347 ComObjPtr<HostUSBDevice> pHostDevice = *it; 396 HRESULT USBProxyService::runAllFiltersOnDevice(ComObjPtr<HostUSBDevice> &aDevice, 510 bool USBProxyService::runMachineFilters(SessionMachine *aMachine, ComObjPtr<HostUSBDevice> &aDevice) 521 /* Let HostUSBDevice::requestCaptureToVM() validate the state. */ 570 int USBProxyService::captureDevice(HostUSBDevice *aDevic [all...] |
H A D | HostUSBDeviceImpl.cpp | 36 DEFINE_EMPTY_CTOR_DTOR(HostUSBDevice) 38 HRESULT HostUSBDevice::FinalConstruct() 46 void HostUSBDevice::FinalRelease() 60 * This structure is now fully owned by the HostUSBDevice object and will be 64 HRESULT HostUSBDevice::init(PUSBDEVICE aUsb, USBProxyService *aUSBProxyService) 108 void HostUSBDevice::uninit() 127 HRESULT HostUSBDevice::getId(com::Guid &aId) 136 HRESULT HostUSBDevice::getVendorId(USHORT *aVendorId) 145 HRESULT HostUSBDevice::getProductId(USHORT *aProductId) 155 HRESULT HostUSBDevice [all...] |
H A D | USBDeviceFiltersImpl.cpp | 873 * A HostUSBDevice specific version. 877 bool USBDeviceFilters::i_hasMatchingFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs) 911 * This method MUST correlate with HostUSBDevice::isMatch()
|
H A D | MachineImpl.cpp | 14062 bool SessionMachine::i_hasMatchingUSBFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs)
|
/vbox/src/VBox/Main/src-server/darwin/ |
H A D | USBProxyServiceDarwin.cpp | 116 int USBProxyServiceDarwin::captureDevice(HostUSBDevice *aDevice) 165 void USBProxyServiceDarwin::captureDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess) 180 int USBProxyServiceDarwin::releaseDevice(HostUSBDevice *aDevice) 231 void USBProxyServiceDarwin::releaseDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess) 247 void USBProxyServiceDarwin::detachingDevice(HostUSBDevice *aDevice) 250 aDevice->setLogicalReconnect(HostUSBDevice::kDetachingPendingDetach); 257 bool USBProxyServiceDarwin::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters, SessionMachine **aIgnoreMachine)
|
/vbox/src/VBox/Main/src-server/win/ |
H A D | USBProxyServiceWindows.cpp | 137 int USBProxyServiceWindows::captureDevice(HostUSBDevice *aDevice) 179 int USBProxyServiceWindows::releaseDevice(HostUSBDevice *aDevice) 222 bool USBProxyServiceWindows::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
|
/vbox/src/VBox/Main/src-server/freebsd/ |
H A D | USBProxyServiceFreeBSD.cpp | 111 int USBProxyServiceFreeBSD::captureDevice(HostUSBDevice *aDevice) 130 int USBProxyServiceFreeBSD::releaseDevice(HostUSBDevice *aDevice) 149 bool USBProxyServiceFreeBSD::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters, 164 void USBProxyServiceFreeBSD::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines,
|
/vbox/src/VBox/Main/src-server/linux/ |
H A D | USBProxyServiceLinux.cpp | 222 int USBProxyServiceLinux::captureDevice(HostUSBDevice *aDevice) 241 int USBProxyServiceLinux::releaseDevice(HostUSBDevice *aDevice) 260 bool USBProxyServiceLinux::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters, 280 void USBProxyServiceLinux::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines,
|
/vbox/src/VBox/Main/src-server/solaris/ |
H A D | USBProxyServiceSolaris.cpp | 335 int USBProxyServiceSolaris::captureDevice(HostUSBDevice *aDevice) 377 void USBProxyServiceSolaris::captureDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess) 390 int USBProxyServiceSolaris::releaseDevice(HostUSBDevice *aDevice) 432 void USBProxyServiceSolaris::releaseDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess) 445 bool USBProxyServiceSolaris::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
|
/vbox/src/VBox/Main/src-server/os2/ |
H A D | USBProxyServiceOs2.cpp | 130 int USBProxyServiceOs2::captureDevice(HostUSBDevice *aDevice) 149 int USBProxyServiceOs2::releaseDevice(HostUSBDevice *aDevice) 168 bool USBProxyServiceOs2::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
|