Home
last modified time | relevance | path

Searched refs:vid_location (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dwin32deviceinfo.cc36 const size_t vid_location = device.id.find(vid); in GetUsbId() local
37 if (vid_location == std::string::npos || in GetUsbId()
38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { in GetUsbId()
47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1, in GetUsbId()
Dmacdeviceinfo.cc40 const size_t vid_location = device.id.size() - 2 * id_size; in GetUsbId() local
41 std::string id_vendor = device.id.substr(vid_location, id_size); in GetUsbId()
/external/chromium_org/media/video/capture/win/
Dvideo_capture_device_mf_win.cc197 const size_t vid_location = unique_id_.find(kVidPrefix); in GetModel() local
198 if (vid_location == std::string::npos || in GetModel()
199 vid_location + vid_prefix_size + kVidPidSize > unique_id_.size()) { in GetModel()
208 unique_id_.substr(vid_location + vid_prefix_size, kVidPidSize); in GetModel()
/external/chromium_org/media/video/capture/mac/
Dvideo_capture_device_mac.mm341 const size_t vid_location = unique_id_.size() - 2 * kVidPidSize;
342 std::string id_vendor = unique_id_.substr(vid_location, kVidPidSize);