Lines Matching refs:device
31 using cricket::Device;
53 std::vector<Device> audio_ins, audio_outs, video_ins;
62 Device device;
65 cricket::DeviceManagerInterface::kDefaultDeviceName, &device));
66 EXPECT_EQ("-1", device.id);
68 cricket::DeviceManagerInterface::kDefaultDeviceName, &device));
69 EXPECT_EQ("-1", device.id);
70 EXPECT_FALSE(dm.GetAudioInputDevice("_NOT A REAL DEVICE_", &device));
71 EXPECT_FALSE(dm.GetAudioOutputDevice("_NOT A REAL DEVICE_", &device));
74 // Test that we get the video capture device by name properly.
77 Device device;
79 EXPECT_FALSE(dm.GetVideoCaptureDevice("_NOT A REAL DEVICE_", &device));
81 cricket::DeviceManagerInterface::kDefaultDeviceName, &device));
87 std::vector<Device> audio_ins, audio_outs, video_ins;
88 audio_ins.push_back(Device(imaginary, imaginary));
89 audio_outs.push_back(Device(imaginary, imaginary));
90 video_ins.push_back(Device(imaginary, imaginary));