Searched refs:devices (Results 1 - 25 of 443) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/sound/
H A Dsoundsysteminterface.cc18 SoundSystemInterface::SoundDeviceLocatorList *devices) {
19 for (SoundDeviceLocatorList::iterator i = devices->begin();
20 i != devices->end();
26 devices->clear();
17 ClearSoundDeviceLocatorList( SoundSystemInterface::SoundDeviceLocatorList *devices) argument
/external/chromium_org/chrome/common/extensions/docs/examples/api/deviceInfo/basic/
H A Dpopup.js5 function dumpDevices(devices) {
7 $('#deviceinfos').append(outputDevicesToList(devices));
10 function outputDevicesToList(devices) {
19 for (i = 0; i < devices.length; i++) {
21 "<td>" + devices[i].name + "</td>" +
22 "<td>" + devices[i].os + "</td>" +
23 "<td>" + devices[i].id + "</td>" +
24 "<td>" + devices[i].type + "</td>" +
25 "<td>" + devices[i].chromeVersion + "</td>" +
32 // callback would redisplay the list of devices
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Ddummydevicemanager.h34 #include "talk/media/devices/fakedevicemanager.h"
41 std::vector<std::string> devices; local
42 devices.push_back(DeviceManagerInterface::kDefaultDeviceName);
43 SetAudioInputDevices(devices);
44 SetAudioOutputDevices(devices);
45 SetVideoCaptureDevices(devices);
H A Ddevicemanager.cc28 #include "talk/media/devices/devicemanager.h"
32 #include "talk/media/devices/deviceinfo.h"
33 #include "talk/media/devices/filevideocapturer.h"
34 #include "talk/media/devices/yuvframescapturer.h"
94 std::vector<Device> devices; local
96 if (GetAudioInputDevices(&devices) && !devices.empty()) {
99 if (GetAudioOutputDevices(&devices) && !devices.empty()) {
102 if (GetVideoCaptureDevices(&devices)
108 GetAudioInputDevices(std::vector<Device>* devices) argument
112 GetAudioOutputDevices(std::vector<Device>* devices) argument
124 GetVideoCaptureDevices(std::vector<Device>* devices) argument
144 std::vector<Device> devices; local
287 std::vector<Device> devices; local
306 std::vector<Device> devices; local
354 FilterDevices(std::vector<Device>* devices, const char* const exclusion_list[]) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DMediaDeviceInfoCallback.idl27 void handleEvent(sequence<MediaDeviceInfo> devices);
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/tools/
H A Dlist_ports_posix.py34 devices = glob.glob('/dev/com*')
35 return [(d, d, d) for d in devices]
39 devices = glob.glob('/dev/cua*')
40 return [(d, d, d) for d in devices]
46 devices = glob.glob('/dev/cuad*')
47 return [(d, d, d) for d in devices]
55 devices = glob.glob('/dev/dty*')
56 return [(d, d, d) for d in devices]
61 devices = glob.glob('/dev/ttyf*')
62 return [(d, d, d) for d in devices]
[all...]
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
H A Did_mapping_helper_unittest.cc32 ScopedVector<DeviceInfo> devices; local
34 devices.push_back(new DeviceInfo(base::GenerateGUID(),
41 devices.push_back(new DeviceInfo(base::GenerateGUID(),
50 CreateMappingForUnmappedDevices(&(devices.get()), &dictionary);
52 std::string public_id1 = devices[0]->public_id();
53 std::string public_id2 = devices[1]->public_id();
61 devices.push_back(new DeviceInfo(base::GenerateGUID(),
68 CreateMappingForUnmappedDevices(&(devices.get()), &dictionary);
71 EXPECT_EQ(public_id1, devices[0]->public_id());
72 EXPECT_EQ(public_id2, devices[
[all...]
/external/chromium_org/device/hid/
H A Dhid_service_unittest.cc21 std::vector<HidDeviceInfo> devices; local
22 service->GetDevices(&devices);
23 for (std::vector<HidDeviceInfo>::iterator it = devices.begin();
24 it != devices.end();
H A Dinput_service_linux_unittest.cc18 std::vector<InputServiceLinux::InputDeviceInfo> devices; local
19 service->GetDevices(&devices);
20 for (size_t i = 0; i < devices.size(); ++i)
21 ASSERT_TRUE(!devices[i].id.empty());
/external/deqp/android/scripts/
H A Dinstall.py39 devices = common.getDevices(common.ADB_BIN)
40 for device in devices:
50 devices = common.getDevices(common.ADB_BIN) variable
51 if len(devices) == 0:
52 common.die('No devices connected')
53 elif len(devices) == 1:
54 installToDevice(devices[0])
57 for i in range(0, len(devices)):
58 print "%3d: %16s %s" % ((i+1), devices[i].serial, devices[
[all...]
/external/chromium_org/ui/events/x/
H A Ddevice_list_cache_x.cc33 if (xp->second.devices)
34 XFreeDeviceList(xp->second.devices);
38 if (xip->second.devices)
39 XIFreeDeviceInfo(xip->second.devices);
49 if (new_x_dev_list.devices)
50 XFreeDeviceList(new_x_dev_list.devices);
51 new_x_dev_list.devices = XListInputDevices(display, &new_x_dev_list.count);
54 if (new_xi_dev_list.devices)
55 XIFreeDeviceInfo(new_xi_dev_list.devices);
56 new_xi_dev_list.devices
[all...]
/external/chromium_org/content/browser/renderer_host/media/
H A Dmedia_capture_devices_impl.cc55 const MediaStreamDevices& devices) {
57 UpdateAudioDevicesOnUIThread(devices);
62 base::Unretained(this), devices));
67 const MediaStreamDevices& devices) {
69 UpdateVideoDevicesOnUIThread(devices);
74 base::Unretained(this), devices));
86 const MediaStreamDevices& devices) {
89 audio_devices_ = devices;
93 const MediaStreamDevices& devices) {
96 video_devices_ = devices;
54 OnAudioCaptureDevicesChanged( const MediaStreamDevices& devices) argument
66 OnVideoCaptureDevicesChanged( const MediaStreamDevices& devices) argument
85 UpdateAudioDevicesOnUIThread( const MediaStreamDevices& devices) argument
92 UpdateVideoDevicesOnUIThread( const MediaStreamDevices& devices) argument
[all...]
H A Dmedia_capture_devices_impl.h22 // devices, these 2 methods are called in IO thread.
23 void OnAudioCaptureDevicesChanged(const MediaStreamDevices& devices);
24 void OnVideoCaptureDevicesChanged(const MediaStreamDevices& devices);
31 void UpdateAudioDevicesOnUIThread(const content::MediaStreamDevices& devices);
32 void UpdateVideoDevicesOnUIThread(const content::MediaStreamDevices& devices);
38 // A list of cached audio capture devices.
41 // A list of cached video capture devices.
/external/chromium_org/android_webview/native/permission/
H A Dmedia_access_permission_request.cc21 const MediaStreamDevices& devices,
23 if (devices.empty())
27 for (size_t i = 0; i < devices.size(); ++i) {
28 if (devices[i].id == device_id)
29 return &devices[i];
33 return &devices[0];
50 MediaStreamDevices devices; local
52 callback_.Run(devices, content::MEDIA_DEVICE_PERMISSION_DENIED, ui.Pass());
63 devices.push_back(*device);
73 devices
20 GetDeviceByIdOrFirstAvailable( const MediaStreamDevices& devices, const std::string& device_id) argument
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dembed_mobile_devices_in_cpp.py9 mobile devices to be passed in as the only argument. The list of known devices
27 devices = '['
40 devices += line.strip()
42 devices += ']'
45 options.directory, {'kMobileDevices': devices})
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dmedia_devices_selection_handler.cc56 const content::MediaStreamDevices& devices) {
57 UpdateDevicesMenu(AUDIO, devices);
61 const content::MediaStreamDevices& devices) {
62 UpdateDevicesMenu(VIDEO, devices);
88 DeviceType type, const content::MediaStreamDevices& devices) {
105 // Build the list of devices to send to JS.
108 for (size_t i = 0; i < devices.size(); ++i) {
110 entry->SetString("name", devices[i].name);
111 entry->SetString("id", devices[i].id);
113 if (devices[
55 OnUpdateAudioDevices( const content::MediaStreamDevices& devices) argument
60 OnUpdateVideoDevices( const content::MediaStreamDevices& devices) argument
87 UpdateDevicesMenu( DeviceType type, const content::MediaStreamDevices& devices) argument
131 content::MediaStreamDevices devices; local
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dgpu_info_unittest.py13 'devices': [
33 self.assertTrue(len(info.devices) == 2)
34 self.assertTrue(isinstance(info.devices[0], gpu_device.GPUDevice))
35 self.assertEquals(info.devices[0].vendor_id, 1000)
36 self.assertEquals(info.devices[0].device_id, 2000)
37 self.assertEquals(info.devices[0].vendor_string, 'a')
38 self.assertEquals(info.devices[0].device_string, 'b')
39 self.assertTrue(isinstance(info.devices[1], gpu_device.GPUDevice))
40 self.assertEquals(info.devices[1].vendor_id, 3000)
41 self.assertEquals(info.devices[
[all...]
/external/chromium_org/ash/touch/
H A Dtouchscreen_util_unittest.cc69 std::vector<ui::TouchscreenDevice> devices; local
70 AssociateTouchscreens(&displays_, devices);
78 std::vector<ui::TouchscreenDevice> devices; local
79 devices.push_back(ui::TouchscreenDevice(1, gfx::Size(800, 600), false));
80 devices.push_back(ui::TouchscreenDevice(2, gfx::Size(1024, 768), false));
82 AssociateTouchscreens(&displays_, devices);
91 std::vector<ui::TouchscreenDevice> devices; local
92 devices.push_back(ui::TouchscreenDevice(2, gfx::Size(1024, 768), false));
94 AssociateTouchscreens(&displays_, devices);
103 std::vector<ui::TouchscreenDevice> devices; local
116 std::vector<ui::TouchscreenDevice> devices; local
129 std::vector<ui::TouchscreenDevice> devices; local
[all...]
H A Dtouchscreen_util.cc14 const std::vector<ui::TouchscreenDevice>& devices) {
17 for (size_t i = 0; i < devices.size(); ++i) {
18 if (devices[i].is_internal) {
36 internal_state->set_touch_device_id(devices[internal_touchscreen].id);
41 << devices[internal_touchscreen].size.ToString();
44 for (size_t i = 0; i < devices.size(); ++i) {
45 if (internal_state && internal_state->touch_device_id() == devices[i].id)
61 if (std::abs(native_size.width() - devices[i].size.width()) <= 1 &&
62 std::abs(native_size.height() - devices[i].size.height()) <= 1) {
63 state->set_touch_device_id(devices[
13 AssociateTouchscreens(std::vector<DisplayInfo>* displays, const std::vector<ui::TouchscreenDevice>& devices) argument
[all...]
/external/chromium_org/build/android/
H A Dhost_heartbeat.py7 """Sends a heart beat pulse to the currently online Android devices.
8 This heart beat lets the devices know that they are connected to a host.
23 devices = android_commands.GetAttachedDevices()
24 for device_serial in devices:
/external/chromium_org/chrome/browser/local_discovery/
H A Dcloud_device_list_unittest.cc26 "\"devices\": [{"
54 EXPECT_EQ(GURL("https://www.googleapis.com/clouddevices/v1/devices"),
65 CloudDeviceListDelegate::DeviceList devices; local
66 EXPECT_CALL(delegate, OnDeviceListReady(_)).WillOnce(SaveArg<0>(&devices));
80 for (size_t i = 0; i != devices.size(); ++i) {
81 ids_found.insert(devices[i].id);
86 EXPECT_EQ("someID", devices[0].id);
87 EXPECT_EQ("someDisplayName", devices[0].display_name);
88 EXPECT_EQ("someDescription", devices[0].description);
89 EXPECT_EQ("someType", devices[
[all...]
H A Dcloud_print_printer_list_unittest.cc51 CloudDeviceListDelegate::DeviceList devices; local
52 EXPECT_CALL(delegate, OnDeviceListReady(_)).WillOnce(SaveArg<0>(&devices));
66 for (size_t i = 0; i != devices.size(); ++i) {
67 ids_found.insert(devices[i].id);
72 EXPECT_EQ("someID", devices[0].id);
73 EXPECT_EQ("someDisplayName", devices[0].display_name);
74 EXPECT_EQ("someDescription", devices[0].description);
75 EXPECT_EQ("printer", devices[0].type);
/external/chromium_org/components/storage_monitor/
H A Dstorage_monitor_unittest.cc83 std::vector<StorageInfo> devices = monitor.GetAllAvailableStorages(); local
84 EXPECT_EQ(0U, devices.size());
97 std::vector<StorageInfo> devices = monitor.GetAllAvailableStorages(); local
98 ASSERT_EQ(1U, devices.size());
99 EXPECT_EQ(kDeviceId1, devices[0].device_id());
100 EXPECT_EQ(kDevicePath1.value(), devices[0].location());
108 devices = monitor.GetAllAvailableStorages();
109 ASSERT_EQ(2U, devices.size());
110 EXPECT_EQ(kDeviceId1, devices[0].device_id());
111 EXPECT_EQ(kDevicePath1.value(), devices[
[all...]
/external/chromium_org/extensions/shell/browser/
H A Dmedia_capture_util.cc22 const MediaStreamDevices& devices,
25 return devices.FindById(requested_device_id);
27 if (!devices.empty())
28 return &devices[0];
44 MediaStreamDevices devices; local
52 devices.push_back(*device);
61 devices.push_back(*device);
66 callback.Run(devices,
67 devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE
21 GetRequestedDeviceOrDefault( const MediaStreamDevices& devices, const std::string& requested_device_id) argument
/external/chromium_org/device/serial/
H A Dserial_device_enumerator_win.cc32 mojo::Array<serial::DeviceInfoPtr> devices(0);
36 devices.push_back(info.Pass());
38 return devices.Pass();

Completed in 459 milliseconds

1234567891011>>