Lines Matching refs:devices
125 std::vector<Device> devices; in TEST() local
128 EXPECT_TRUE(dm->GetVideoCaptureDevices(&devices)); in TEST()
237 static bool CompareDeviceList(std::vector<Device>& devices, in CompareDeviceList() argument
239 if (list_size != static_cast<int>(devices.size())) { in CompareDeviceList()
243 if (devices[i].name.compare(device_list[i]) != 0) { in CompareDeviceList()
272 std::vector<Device> devices; in TEST() local
274 devices.push_back(Device(kTotalDevicesName[i], i)); in TEST()
276 EXPECT_TRUE(CompareDeviceList(devices, kTotalDevicesName, in TEST()
279 EXPECT_TRUE(DeviceManager::FilterDevices(&devices, NULL)); in TEST()
281 EXPECT_TRUE(CompareDeviceList(devices, kTotalDevicesName, in TEST()
283 EXPECT_TRUE(DeviceManager::FilterDevices(&devices, kFilteredDevicesName)); in TEST()
284 EXPECT_TRUE(CompareDeviceList(devices, kDevicesName, in TEST()
305 std::vector<std::string> devices; in TEST() local
306 devices.push_back("/dev/video0"); in TEST()
307 devices.push_back("/dev/video5"); in TEST()
308 cricket::V4LLookup::SetV4LLookup(new FakeV4LLookup(devices)); in TEST()
332 std::vector<std::string> devices; in TEST() local
333 devices.push_back("/dev/video0"); in TEST()
334 devices.push_back("/dev/video5"); in TEST()
335 cricket::V4LLookup::SetV4LLookup(new FakeV4LLookup(devices)); in TEST()
361 std::vector<std::string> devices; in TEST() local
362 devices.push_back("/dev/video0"); in TEST()
363 devices.push_back("/dev/video5"); in TEST()
364 cricket::V4LLookup::SetV4LLookup(new FakeV4LLookup(devices)); in TEST()