Home
last modified time | relevance | path

Searched refs:usb_id (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/talk/media/devices/
Dmacdeviceinfo.cc32 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()
Dwin32deviceinfo.cc32 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()
Dlinuxdeviceinfo.cc154 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()
Ddevicemanager.cc182 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()
Dfakedevicemanager.h90 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()
Ddevicemanager.h92 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);
Ddeviceinfo.h37 bool GetUsbId(const Device& device, std::string* usb_id);
Dmobiledevicemanager.cc71 bool GetUsbId(const Device& device, std::string* usb_id) { return false; } in GetUsbId() argument