Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dwin32deviceinfo.cc42 const size_t pid_location = device.id.find(pid); in GetUsbId() local
43 if (pid_location == std::string::npos || in GetUsbId()
44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) { in GetUsbId()
49 std::string id_product = device.id.substr(pid_location + sizeof(pid) -1, in GetUsbId()
Dmacdeviceinfo.cc42 const size_t pid_location = device.id.size() - id_size; in GetUsbId() local
43 std::string id_product = device.id.substr(pid_location, id_size); in GetUsbId()
/external/chromium_org/media/video/capture/win/
Dvideo_capture_device_mf_win.cc202 const size_t pid_location = unique_id_.find(kPidPrefix); in GetModel() local
203 if (pid_location == std::string::npos || in GetModel()
204 pid_location + pid_prefix_size + kVidPidSize > unique_id_.size()) { in GetModel()
210 unique_id_.substr(pid_location + pid_prefix_size, kVidPidSize); in GetModel()
/external/chromium_org/media/video/capture/mac/
Dvideo_capture_device_mac.mm343 const size_t pid_location = unique_id_.size() - kVidPidSize;
344 std::string id_product = unique_id_.substr(pid_location, kVidPidSize);