Searched refs:UsbDeviceHandle (Results 1 – 19 of 19) sorted by relevance
/external/chromium_org/device/usb/ |
D | usb_device_handle.h | 38 class UsbDeviceHandle : public base::RefCountedThreadSafe<UsbDeviceHandle> { 100 friend class base::RefCountedThreadSafe<UsbDeviceHandle>; 102 UsbDeviceHandle() {}; in UsbDeviceHandle() function 104 virtual ~UsbDeviceHandle() {}; in ~UsbDeviceHandle() 106 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandle);
|
D | usb_device.h | 16 class UsbDeviceHandle; variable 46 virtual scoped_refptr<UsbDeviceHandle> Open() = 0; 52 virtual bool Close(scoped_refptr<UsbDeviceHandle> handle) = 0;
|
D | usb_device_handle_impl.cc | 46 const UsbDeviceHandle::TransferRequestType request_type, in CreateRequestType() 47 const UsbDeviceHandle::TransferRecipient recipient) { in CreateRequestType() 51 case UsbDeviceHandle::STANDARD: in CreateRequestType() 54 case UsbDeviceHandle::CLASS: in CreateRequestType() 57 case UsbDeviceHandle::VENDOR: in CreateRequestType() 60 case UsbDeviceHandle::RESERVED: in CreateRequestType() 66 case UsbDeviceHandle::DEVICE: in CreateRequestType() 69 case UsbDeviceHandle::INTERFACE: in CreateRequestType() 72 case UsbDeviceHandle::ENDPOINT: in CreateRequestType() 75 case UsbDeviceHandle::OTHER: in CreateRequestType()
|
D | usb_device_impl.cc | 215 scoped_refptr<UsbDeviceHandle> UsbDeviceImpl::Open() { in Open() 234 bool UsbDeviceImpl::Close(scoped_refptr<UsbDeviceHandle> handle) { in Close() 345 scoped_refptr<UsbDeviceHandle> device_handle = Open(); in GetManufacturer() 376 scoped_refptr<UsbDeviceHandle> device_handle = Open(); in GetProduct() 407 scoped_refptr<UsbDeviceHandle> device_handle = Open(); in GetSerialNumber()
|
D | usb_device_impl.h | 39 virtual scoped_refptr<UsbDeviceHandle> Open() OVERRIDE; 40 virtual bool Close(scoped_refptr<UsbDeviceHandle> handle) OVERRIDE;
|
D | usb_device_filter_unittest.cc | 27 MOCK_METHOD0(Open, scoped_refptr<UsbDeviceHandle>()); 28 MOCK_METHOD1(Close, bool(scoped_refptr<UsbDeviceHandle>));
|
D | usb_device_handle_impl.h | 34 class UsbDeviceHandleImpl : public UsbDeviceHandle {
|
D | usb_device_handle_unittest.cc | 45 scoped_refptr<UsbDeviceHandle> handle_;
|
/external/chromium_org/extensions/browser/api/usb/ |
D | usb_device_resource.h | 19 class UsbDeviceHandle; variable 31 scoped_refptr<device::UsbDeviceHandle> device); 34 scoped_refptr<device::UsbDeviceHandle> device() { return device_; } in device() 42 scoped_refptr<device::UsbDeviceHandle> device_;
|
D | usb_api.cc | 56 using device::UsbDeviceHandle; 126 UsbDeviceHandle::TransferRequestType* output) { in ConvertRequestTypeFromApi() 129 *output = UsbDeviceHandle::STANDARD; in ConvertRequestTypeFromApi() 132 *output = UsbDeviceHandle::CLASS; in ConvertRequestTypeFromApi() 135 *output = UsbDeviceHandle::VENDOR; in ConvertRequestTypeFromApi() 138 *output = UsbDeviceHandle::RESERVED; in ConvertRequestTypeFromApi() 147 UsbDeviceHandle::TransferRecipient* output) { in ConvertRecipientFromApi() 150 *output = UsbDeviceHandle::DEVICE; in ConvertRecipientFromApi() 153 *output = UsbDeviceHandle::INTERFACE; in ConvertRecipientFromApi() 156 *output = UsbDeviceHandle::ENDPOINT; in ConvertRecipientFromApi() [all …]
|
D | usb_apitest.cc | 21 using device::UsbDeviceHandle; 45 class MockUsbDeviceHandle : public UsbDeviceHandle { 47 MockUsbDeviceHandle() : UsbDeviceHandle() {} in MockUsbDeviceHandle() 115 virtual scoped_refptr<UsbDeviceHandle> Open() OVERRIDE { in Open() 119 virtual bool Close(scoped_refptr<UsbDeviceHandle> handle) OVERRIDE { in Close() 230 UsbDeviceHandle::STANDARD, in IN_PROC_BROWSER_TEST_F() 231 UsbDeviceHandle::DEVICE, in IN_PROC_BROWSER_TEST_F()
|
D | usb_device_resource.cc | 20 using device::UsbDeviceHandle; 36 scoped_refptr<UsbDeviceHandle> device) in UsbDeviceResource()
|
D | usb_api.h | 44 scoped_refptr<device::UsbDeviceHandle> GetDeviceHandleOrCompleteWithError( 63 device::UsbDeviceHandle::TransferRequestType* output); 66 device::UsbDeviceHandle::TransferRecipient* output); 89 std::vector<scoped_refptr<device::UsbDeviceHandle> > device_handles_; 143 scoped_refptr<device::UsbDeviceHandle> handle_;
|
/external/chromium_org/chrome/browser/devtools/device/usb/ |
D | android_usb_device.h | 77 scoped_refptr<device::UsbDeviceHandle> device, 93 scoped_refptr<device::UsbDeviceHandle> usb_device() { return usb_handle_; } in usb_device() 128 void TerminateIfReleased(scoped_refptr<device::UsbDeviceHandle> usb_handle); 138 scoped_refptr<device::UsbDeviceHandle> usb_handle_;
|
D | android_usb_device.cc | 31 using device::UsbDeviceHandle; 74 scoped_refptr<UsbDeviceHandle> usb_handle, in ClaimInterface() 146 void ReleaseInterface(scoped_refptr<UsbDeviceHandle> usb_device, in ReleaseInterface() 204 scoped_refptr<UsbDeviceHandle> usb_handle = device->Open(); in OpenAndroidDeviceOnFileThread() 318 scoped_refptr<UsbDeviceHandle> usb_device, in AndroidUsbDevice() 615 scoped_refptr<UsbDeviceHandle> usb_handle) { in TerminateIfReleased() 636 scoped_refptr<UsbDeviceHandle> usb_handle = usb_handle_; in Terminate()
|
D | android_usb_browsertest.cc | 24 using device::UsbDeviceHandle; 110 class MockUsbDeviceHandle : public UsbDeviceHandle { 362 virtual scoped_refptr<UsbDeviceHandle> Open() OVERRIDE { in Open() 385 virtual bool Close(scoped_refptr<UsbDeviceHandle> handle) OVERRIDE { in Close()
|
/external/chromium_org/apps/ |
D | saved_devices_service_unittest.cc | 23 using device::UsbDeviceHandle; 33 MOCK_METHOD0(Open, scoped_refptr<UsbDeviceHandle>()); 34 MOCK_METHOD1(Close, bool(scoped_refptr<UsbDeviceHandle>));
|
D | saved_devices_service.cc | 31 using device::UsbDeviceHandle;
|
/external/chromium_org/extensions/browser/api/usb_private/ |
D | usb_private_api.cc | 27 using device::UsbDeviceHandle;
|