Searched refs:UsbDevice (Results 1 – 15 of 15) sorted by relevance
/external/chromium_org/components/usb_service/ |
D | usb_device.h | 21 class USB_SERVICE_EXPORT UsbDevice 22 : public base::RefCountedThreadSafe<UsbDevice> { 55 UsbDevice(uint16 vendor_id, uint16 product_id, uint32 unique_id) in UsbDevice() function 58 virtual ~UsbDevice() {} in ~UsbDevice() 61 friend class base::RefCountedThreadSafe<UsbDevice>; 67 DISALLOW_COPY_AND_ASSIGN(UsbDevice);
|
D | usb_service.h | 17 class UsbDevice; variable 31 virtual scoped_refptr<UsbDevice> GetDeviceById(uint32 unique_id) = 0; 36 virtual void GetDevices(std::vector<scoped_refptr<UsbDevice> >* devices) = 0;
|
D | usb_service_impl.cc | 40 virtual scoped_refptr<UsbDevice> GetDeviceById(uint32 unique_id) OVERRIDE; 42 std::vector<scoped_refptr<UsbDevice> >* devices) OVERRIDE; 62 scoped_refptr<UsbDevice> UsbServiceImpl::GetDeviceById(uint32 unique_id) { in GetDeviceById() 73 std::vector<scoped_refptr<UsbDevice> >* devices) { in GetDevices() 111 std::set<UsbDevice*> connected_devices; in RefreshDevices()
|
D | usb_device_handle.h | 21 class UsbDevice; variable 45 virtual scoped_refptr<UsbDevice> GetDevice() const = 0;
|
D | usb_device_impl.h | 26 class UsbDeviceImpl : public UsbDevice {
|
D | usb_device_handle_impl.cc | 138 friend class UsbDevice; 209 scoped_refptr<UsbDevice> UsbDeviceHandleImpl::GetDevice() const { in GetDevice() 210 return static_cast<UsbDevice*>(device_); in GetDevice()
|
D | usb_device_impl.cc | 45 : UsbDevice(vendor_id, product_id, unique_id), in UsbDeviceImpl()
|
D | usb_device_handle_impl.h | 40 virtual scoped_refptr<UsbDevice> GetDevice() const OVERRIDE;
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
D | UsbMidiDeviceFactoryAndroid.java | 13 import android.hardware.usb.UsbDevice; 50 private Set<UsbDevice> mRequestedDevices; 89 Map<String, UsbDevice> devices = mUsbManager.getDeviceList(); in enumerateDevices() 92 mRequestedDevices = new HashSet<UsbDevice>(); in enumerateDevices() 93 for (UsbDevice device : devices.values()) { in enumerateDevices() 131 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onRequestDone()
|
D | UsbMidiDeviceAndroid.java | 9 import android.hardware.usb.UsbDevice; 77 UsbMidiDeviceAndroid(UsbManager manager, UsbDevice device) { in UsbMidiDeviceAndroid() 111 private void startListen(final UsbDevice device) { in startListen()
|
/external/chromium_org/extensions/browser/api/usb/ |
D | usb_apitest.cc | 19 using usb_service::UsbDevice; 95 virtual scoped_refptr<UsbDevice> GetDevice() const OVERRIDE { in GetDevice() 99 void set_device(UsbDevice* device) { device_ = device; } in set_device() 102 UsbDevice* device_; 117 class MockUsbDevice : public UsbDevice { 120 : UsbDevice(0, 0, 0), mock_handle_(mock_handle) { in MockUsbDevice() 151 explicit MockUsbService(scoped_refptr<UsbDevice> device) : device_(device) {} in MockUsbService() 154 virtual scoped_refptr<UsbDevice> GetDeviceById(uint32 unique_id) OVERRIDE { in GetDeviceById() 160 std::vector<scoped_refptr<UsbDevice> >* devices) OVERRIDE { in GetDevices() 165 scoped_refptr<UsbDevice> device_;
|
D | usb_api.cc | 53 using usb_service::UsbDevice; 65 typedef std::vector<scoped_refptr<UsbDevice> > DeviceVector; 315 std::vector<scoped_refptr<UsbDevice> >::iterator i, in RequestUsbDevicesAccessHelper() 344 std::vector<scoped_refptr<UsbDevice> >::iterator i = devices->begin(); in RequestUsbDevicesAccess() 374 base::Value* PopulateDevice(UsbDevice* device) { in PopulateDevice() 419 scoped_refptr<UsbDevice> UsbAsyncApiFunction::GetDeviceOrOrCompleteWithError( in GetDeviceOrOrCompleteWithError() 437 scoped_refptr<UsbDevice> device; in GetDeviceOrOrCompleteWithError() 678 scoped_refptr<UsbDevice> device = in AsyncWorkStart() 710 scoped_refptr<UsbDevice> device = in AsyncWorkStart()
|
D | usb_api.h | 34 scoped_refptr<usb_service::UsbDevice> GetDeviceOrOrCompleteWithError( 82 scoped_ptr<std::vector<scoped_refptr<usb_service::UsbDevice> > > devices); 102 scoped_ptr<std::vector<scoped_refptr<usb_service::UsbDevice> > > devices);
|
/external/chromium_org/chrome/browser/devtools/device/usb/ |
D | android_usb_browsertest.cc | 225 virtual scoped_refptr<UsbDevice> GetDevice() const OVERRIDE { in GetDevice() 446 class MockUsbDevice : public UsbDevice { 448 MockUsbDevice() : UsbDevice(0, 0, 0) {} in MockUsbDevice() 488 virtual scoped_refptr<UsbDevice> GetDeviceById(uint32 unique_id) OVERRIDE { in GetDeviceById() 494 std::vector<scoped_refptr<UsbDevice> >* devices) OVERRIDE { in GetDevices() 499 std::vector<scoped_refptr<UsbDevice> > devices_; 508 virtual scoped_refptr<UsbDevice> GetDeviceById(uint32 unique_id) OVERRIDE { in GetDeviceById() 514 std::vector<scoped_refptr<UsbDevice> >* devices) OVERRIDE { in GetDevices()
|
D | android_usb_device.cc | 29 using usb_service::UsbDevice; 54 typedef std::vector<scoped_refptr<UsbDevice> > UsbDevices; 55 typedef std::set<scoped_refptr<UsbDevice> > UsbDeviceSet; 205 scoped_refptr<UsbDevice> device, in OpenAndroidDeviceOnFileThread()
|