Searched refs:usb_id (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/talk/media/devices/ |
D | macdeviceinfo.cc | 32 bool GetUsbId(const Device& device, std::string* usb_id) { in GetUsbId() argument 45 usb_id->clear(); in GetUsbId() 46 usb_id->append(id_vendor); in GetUsbId() 47 usb_id->append(":"); in GetUsbId() 48 usb_id->append(id_product); in GetUsbId()
|
D | win32deviceinfo.cc | 32 bool GetUsbId(const Device& device, std::string* usb_id) { in GetUsbId() argument 51 usb_id->clear(); in GetUsbId() 52 usb_id->append(id_vendor); in GetUsbId() 53 usb_id->append(":"); in GetUsbId() 54 usb_id->append(id_product); in GetUsbId()
|
D | linuxdeviceinfo.cc | 154 bool GetUsbId(const Device& device, std::string* usb_id) { in GetUsbId() argument 163 usb_id->clear(); in GetUsbId() 164 usb_id->append(id_vendor); in GetUsbId() 165 usb_id->append(":"); in GetUsbId() 166 usb_id->append(id_product); in GetUsbId()
|
D | devicemanager.cc | 182 const std::string& usb_id, in SetVideoCaptureDeviceMaxFormat() argument 184 max_formats_[usb_id] = max_format; in SetVideoCaptureDeviceMaxFormat() 188 const std::string& usb_id) { in ClearVideoCaptureDeviceMaxFormat() argument 189 max_formats_.erase(usb_id); in ClearVideoCaptureDeviceMaxFormat() 329 std::string usb_id; in GetMaxFormat() local 330 if (GetUsbId(device, &usb_id) && IsInWhitelist(usb_id, video_format)) { in GetMaxFormat()
|
D | fakedevicemanager.h | 90 virtual void SetVideoCaptureDeviceMaxFormat(const std::string& usb_id, in SetVideoCaptureDeviceMaxFormat() argument 92 max_formats_[usb_id] = max_format; in SetVideoCaptureDeviceMaxFormat() 94 bool IsMaxFormatForDevice(const std::string& usb_id, in IsMaxFormatForDevice() argument 97 max_formats_.find(usb_id); in IsMaxFormatForDevice() 102 virtual void ClearVideoCaptureDeviceMaxFormat(const std::string& usb_id) { in ClearVideoCaptureDeviceMaxFormat() argument 103 max_formats_.erase(usb_id); in ClearVideoCaptureDeviceMaxFormat()
|
D | devicemanager.h | 92 const std::string& usb_id, 94 virtual void ClearVideoCaptureDeviceMaxFormat(const std::string& usb_id) = 0; 159 virtual void SetVideoCaptureDeviceMaxFormat(const std::string& usb_id, 161 virtual void ClearVideoCaptureDeviceMaxFormat(const std::string& usb_id);
|
D | deviceinfo.h | 37 bool GetUsbId(const Device& device, std::string* usb_id);
|
D | mobiledevicemanager.cc | 71 bool GetUsbId(const Device& device, std::string* usb_id) { return false; } in GetUsbId() argument
|