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

1234567891011

/external/chromium_org/third_party/libjingle/source/talk/sound/
H A Dsoundsysteminterface.cc35 SoundSystemInterface::SoundDeviceLocatorList *devices) {
36 for (SoundDeviceLocatorList::iterator i = devices->begin();
37 i != devices->end();
43 devices->clear();
34 ClearSoundDeviceLocatorList( SoundSystemInterface::SoundDeviceLocatorList *devices) argument
H A Dsoundsystemproxy.cc33 SoundDeviceLocatorList *devices) {
34 return wrapped_ ? wrapped_->EnumeratePlaybackDevices(devices) : false;
38 SoundDeviceLocatorList *devices) {
39 return wrapped_ ? wrapped_->EnumerateCaptureDevices(devices) : false;
32 EnumeratePlaybackDevices( SoundDeviceLocatorList *devices) argument
37 EnumerateCaptureDevices( SoundDeviceLocatorList *devices) argument
H A Dnullsoundsystem.cc129 SoundSystemInterface::SoundDeviceLocatorList *devices) {
130 ClearSoundDeviceLocatorList(devices);
133 devices->push_back(device);
138 SoundSystemInterface::SoundDeviceLocatorList *devices) {
139 ClearSoundDeviceLocatorList(devices);
142 devices->push_back(device);
128 EnumeratePlaybackDevices( SoundSystemInterface::SoundDeviceLocatorList *devices) argument
137 EnumerateCaptureDevices( SoundSystemInterface::SoundDeviceLocatorList *devices) argument
H A Dsoundsysteminterface.h44 // 1) Concurrent enumeration and opening of devices from different threads.
93 static void ClearSoundDeviceLocatorList(SoundDeviceLocatorList *devices);
100 // Enumerates the available devices. (Any pre-existing locators in the lists
102 virtual bool EnumeratePlaybackDevices(SoundDeviceLocatorList *devices) = 0;
103 virtual bool EnumerateCaptureDevices(SoundDeviceLocatorList *devices) = 0;
H A Dsoundsystemproxy.h45 virtual bool EnumeratePlaybackDevices(SoundDeviceLocatorList *devices);
46 virtual bool EnumerateCaptureDevices(SoundDeviceLocatorList *devices);
/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"
38 #include "talk/media/devices/deviceinfo.h"
39 #include "talk/media/devices/filevideocapturer.h"
120 std::vector<Device> devices; local
122 if (GetAudioInputDevices(&devices) && !devices.empty()) {
125 if (GetAudioOutputDevices(&devices) && !devices.empty()) {
128 if (GetVideoCaptureDevices(&devices) && !devices
134 GetAudioInputDevices(std::vector<Device>* devices) argument
138 GetAudioOutputDevices(std::vector<Device>* devices) argument
150 GetVideoCaptureDevices(std::vector<Device>* devices) argument
170 std::vector<Device> devices; local
305 std::vector<Device> devices; local
324 std::vector<Device> devices; local
372 FilterDevices(std::vector<Device>* devices, const char* const exclusion_list[]) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/signedin_devices/
H A Did_mapping_helper_unittest.cc32 ScopedVector<DeviceInfo> devices; local
34 devices.push_back(new DeviceInfo(
38 devices.push_back(new DeviceInfo(
44 CreateMappingForUnmappedDevices(&(devices.get()), &dictionary);
46 std::string public_id1 = devices[0]->public_id();
47 std::string public_id2 = devices[1]->public_id();
55 devices.push_back(new DeviceInfo(
59 CreateMappingForUnmappedDevices(&(devices.get()), &dictionary);
62 EXPECT_EQ(public_id1, devices[0]->public_id());
63 EXPECT_EQ(public_id2, devices[
[all...]
H A Dsignedin_devices_api_unittest.cc33 // Add a couple of devices and make sure we get back public ids for them.
48 std::vector<DeviceInfo*> devices; local
49 devices.push_back(&device_info1);
50 devices.push_back(&device_info2);
53 WillOnce(Return(&devices));
78 devices.push_back(&device_info3);
81 WillOnce(Return(&devices));
/external/chromium_org/ui/base/x/
H A Ddevice_list_cache_x.cc20 XFreeDeviceList(xp->second.devices);
23 XIFreeDeviceInfo(xip->second.devices);
32 if (new_x_dev_list.devices)
33 XFreeDeviceList(new_x_dev_list.devices);
34 new_x_dev_list.devices = XListInputDevices(display, &new_x_dev_list.count);
37 if (new_xi_dev_list.devices)
38 XIFreeDeviceInfo(new_xi_dev_list.devices);
39 new_xi_dev_list.devices = XIQueryDevice(display, XIAllDevices,
46 if (!x_dev_list.devices && !x_dev_list.count)
47 x_dev_list.devices
[all...]
H A Ddevice_list_cache_x.h22 DeviceList() : devices(NULL), count(0) {
25 return devices[x];
27 T* devices; member in struct:DeviceList
/external/chromium_org/device/bluetooth/
H A Dbluetooth_adapter.cc23 DeviceList devices; local
26 devices.push_back(const_cast<BluetoothDevice *>(*i));
28 return devices;
32 ConstDeviceList devices; local
36 devices.push_back(iter->second);
38 return devices;
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dmedia_devices_selection_handler.cc54 const content::MediaStreamDevices& devices) {
55 UpdateDevicesMenu(AUDIO, devices);
59 const content::MediaStreamDevices& devices) {
60 UpdateDevicesMenu(VIDEO, devices);
86 DeviceType type, const content::MediaStreamDevices& devices) {
103 // Build the list of devices to send to JS.
106 for (size_t i = 0; i < devices.size(); ++i) {
108 entry->SetString("name", devices[i].name);
109 entry->SetString("id", devices[i].id);
111 if (devices[
53 OnUpdateAudioDevices( const content::MediaStreamDevices& devices) argument
58 OnUpdateVideoDevices( const content::MediaStreamDevices& devices) argument
85 UpdateDevicesMenu( DeviceType type, const content::MediaStreamDevices& devices) argument
129 content::MediaStreamDevices devices; local
[all...]
H A Dmedia_devices_selection_handler.h15 // Handler for media devices selection in content settings.
30 const content::MediaStreamDevices& devices) OVERRIDE;
32 const content::MediaStreamDevices& devices) OVERRIDE;
48 const content::MediaStreamDevices& devices);
/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.
22 devices = android_commands.GetAttachedDevices()
23 for device in devices:
H A Dadb_install_apk.py61 devices = android_commands.GetAttachedDevices()
62 if not devices:
63 raise Exception('Error: no connected devices')
68 pool = multiprocessing.Pool(len(devices))
70 pool.map(_InstallApk, zip([options.apk] * len(devices),
71 [options.apk_package] * len(devices),
72 [options.keep_data] * len(devices),
73 devices))
H A Dprovision_devices.py7 """Provisions Android devices with settings required for bots.
42 def PushAndLaunchAdbReboot(devices, target):
46 devices: The list of serial numbers of the device to which the
51 for device in devices:
70 devices = [options.device]
72 devices = android_commands.GetAttachedDevices()
73 for device in devices:
77 PushAndLaunchAdbReboot(devices, options.target)
/external/openssh/
H A Dauth2-chall.c64 KbdintDevice *devices[] = { variable
81 char *devices; member in struct:KbdintAuthctxt
93 for (i = 0; devices[i] != NULL; i++)
94 if (strcmp(devices[i]->name, devname) == 0) {
95 for (j = i; devices[j] != NULL; j++)
96 devices[j] = devices[j+1];
117 for (i = 0; devices[i]; i++) {
120 buffer_append(&b, devices[i]->name,
121 strlen(devices[
[all...]
/external/chromium_org/ppapi/proxy/
H A Ddevice_enumeration_resource_helper.cc40 PP_Resource* devices,
44 if (!devices)
53 AsWeakPtr(), devices, callback));
75 std::vector<DeviceRefData> devices; local
80 &devices);
83 result = WriteToArrayOutput(devices, output);
139 const std::vector<DeviceRefData>& devices) {
150 OBJECT_IS_PROXY, owner_->pp_instance(), devices);
160 const std::vector<DeviceRefData>& devices) {
171 result = WriteToArrayOutput(devices, outpu
39 EnumerateDevices0_2( PP_Resource* devices, scoped_refptr<TrackedCallback> callback) argument
135 OnPluginMsgEnumerateDevicesReply0_2( PP_Resource* devices_resource, scoped_refptr<TrackedCallback> callback, const ResourceMessageReplyParams& params, const std::vector<DeviceRefData>& devices) argument
156 OnPluginMsgEnumerateDevicesReply( const PP_ArrayOutput& output, scoped_refptr<TrackedCallback> callback, const ResourceMessageReplyParams& params, const std::vector<DeviceRefData>& devices) argument
176 OnPluginMsgNotifyDeviceChange( const ResourceMessageReplyParams& , uint32_t callback_id, const std::vector<DeviceRefData>& devices) argument
204 WriteToArrayOutput( const std::vector<DeviceRefData>& devices, const PP_ArrayOutput& output) argument
[all...]
H A Ddevice_enumeration_resource_helper.h40 int32_t EnumerateDevices0_2(PP_Resource* devices,
59 const std::vector<DeviceRefData>& devices);
64 const std::vector<DeviceRefData>& devices);
67 const std::vector<DeviceRefData>& devices);
69 int32_t WriteToArrayOutput(const std::vector<DeviceRefData>& devices,
/external/chromium_org/content/public/browser/
H A Dmedia_observer.h19 const MediaStreamDevices& devices) = 0;
23 const MediaStreamDevices& devices) = 0;
/external/chromium_org/chrome/browser/storage_monitor/
H A Dstorage_monitor_unittest.cc88 std::vector<StorageInfo> devices = monitor.GetAllAvailableStorages(); local
89 EXPECT_EQ(0U, devices.size());
103 std::vector<StorageInfo> devices = monitor.GetAllAvailableStorages(); local
104 ASSERT_EQ(1U, devices.size());
105 EXPECT_EQ(kDeviceId1, devices[0].device_id());
106 EXPECT_EQ(kDeviceName1, devices[0].name());
107 EXPECT_EQ(kDevicePath1.value(), devices[0].location());
116 devices = monitor.GetAllAvailableStorages();
117 ASSERT_EQ(2U, devices.size());
118 EXPECT_EQ(kDeviceId1, devices[
[all...]
/external/chromium_org/chrome/browser/extensions/api/dial/
H A Ddial_apitest.cc51 extensions::DialRegistry::DeviceList devices; local
61 devices.push_back(device1);
62 api->SendEventOnUIThread(devices);
69 devices.push_back(device2);
70 api->SendEventOnUIThread(devices);
77 devices.push_back(device3);
78 api->SendEventOnUIThread(devices);
/external/chromium_org/chrome/browser/resources/chromeos/
H A Dimage_burner.js114 * @param {Array} devices Array of device information.
116 gotoInitialState: function(devices) {
117 if (devices.length == 0) {
119 } else if (devices.length == 1) {
123 if (devices[0].type == 'sd')
153 * Class that keeps track of available devices.
158 this.devices = [];
166 if (this.devices.length == 0) {
169 this.selectDevice(this.devices[0].devicePath);
229 * Updates the list of selected devices
[all...]
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_mock.cc45 ScopedVector<browser_sync::DeviceInfo> devices; local
48 devices.get() = *device_vector;
49 return devices.Pass();

Completed in 540 milliseconds

1234567891011