Searched refs:devices (Results 51 - 75 of 443) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/tools/rtcbot/
H A Dbotmanager.js172 this.listDevices_(function (devices) {
173 for (var i = 0; i < devices.length; i++) {
174 if (!this.connectedDevices_[devices[i]]) {
175 this.connectedDevices_[devices[i]] = devices[i];
176 callback(this.connectedDevices_[devices[i]]);
180 if (devices.length == 0) {
181 console.log('Error: No connected devices!');
183 console.log('Error: There is no enough connected devices.');
190 child.exec('adb devices' , functio
[all...]
/external/chromium_org/chrome/browser/media/
H A Dchrome_webrtc_getmediadevices_browsertest.cc34 // Integration test for WebRTC getMediaDevices. It always uses fake devices.
36 // test that labels are cleared or not depending on if access to devices has
54 // Always use fake devices.
59 // This is used for media devices and sources.
68 // There's no fake audio output devices supported yet. We can't test audio
69 // output devices on bots with no output devices, so skip testing for that
70 // on such bots. We cache the result since querying for devices can take
83 std::vector<MediaDeviceInfo>* devices,
146 // group ID support for video input devices
82 GetMediaDevicesOrSources(content::WebContents* tab, std::vector<MediaDeviceInfo>* devices, bool get_sources) argument
165 GetMediaDevices(content::WebContents* tab, std::vector<MediaDeviceInfo>* devices) argument
194 std::vector<MediaDeviceInfo> devices; local
217 std::vector<MediaDeviceInfo> devices; local
237 std::vector<MediaDeviceInfo> devices; local
274 std::vector<MediaDeviceInfo> devices; local
[all...]
/external/chromium_org/chrome/test/chromedriver/test/
H A Dtest_environment.py99 devices = android_commands.GetAttachedDevices()
100 if not devices:
102 elif len(devices) > 1:
103 logging.warning('Multiple devices attached. Using %s.' % devices[0])
104 self._device = device_utils.DeviceUtils(devices[0])
/external/bluetooth/bluedroid/stack/hid/
H A Dhidh_api.c339 /* Find an entry for this device in hh_cb.devices array */
345 if((hh_cb.devices[i].in_use) &&
346 (!memcmp(addr, hh_cb.devices[i].addr, BD_ADDR_LEN)))
354 if( !hh_cb.devices[i].in_use)
362 if (!hh_cb.devices[i].in_use)
364 hh_cb.devices[i].in_use = TRUE;
365 memcpy( hh_cb.devices[i].addr, addr, sizeof( BD_ADDR ) ) ;
366 hh_cb.devices[i].state = HID_DEV_NO_CONN;
367 hh_cb.devices[i].conn_tries = 0 ;
371 hh_cb.devices[
[all...]
H A Dhidh_conn.c113 hh_cb.devices[xx].in_use = FALSE ;
114 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED;
131 tHID_CONN *p_hcon = &hh_cb.devices[dhandle].conn;
141 L2CA_SetIdleTimeoutByBdAddr(hh_cb.devices[dhandle].addr, 0);
221 p_hcon = &hh_cb.devices[i].conn;
222 p_dev = &hh_cb.devices[i];
305 hh_cb.devices[p_tle->param].conn_tries++;
306 hh_cb.callback( (UINT8) p_tle->param, hh_cb.devices[p_tle->param].addr,
307 HID_HDEV_EVT_RETRYING, hh_cb.devices[p_tle->param].conn_tries, NULL ) ;
331 dhandle = ((UINT32)p_dev - (UINT32)&(hh_cb.devices[
[all...]
/external/chromium_org/components/storage_monitor/
H A Dmedia_storage_util_unittest.cc130 MediaStorageUtil::DeviceIdSet devices; local
131 devices.insert(kImageCaptureDeviceId);
141 base::Unretained(&devices), signal_event));
143 EXPECT_FALSE(devices.find(kImageCaptureDeviceId) != devices.end());
146 devices.insert(kImageCaptureDeviceId);
150 base::Unretained(&devices), signal_event));
153 EXPECT_TRUE(devices.find(kImageCaptureDeviceId) != devices.end());
H A Dmedia_storage_util.cc46 StorageInfoList devices = local
48 for (StorageInfoList::const_iterator it = devices.begin();
49 it != devices.end(); ++it) {
57 void FilterAttachedDevicesOnFileThread(MediaStorageUtil::DeviceIdSet* devices) { argument
61 for (MediaStorageUtil::DeviceIdSet::const_iterator it = devices->begin();
62 it != devices->end();
88 devices->erase(*it);
123 void MediaStorageUtil::FilterAttachedDevices(DeviceIdSet* devices, argument
126 FilterAttachedDevicesOnFileThread(devices);
133 devices),
240 StorageInfoList devices = local
[all...]
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
H A Dsigned_in_devices_api.cc51 // Helper routine to get all signed in devices. The helper takes in
59 ScopedVector<DeviceInfo> devices = device_tracker->GetAllDeviceInfo(); local
70 CreateMappingForUnmappedDevices(&(devices.get()),
77 return devices.Pass();
131 ScopedVector<DeviceInfo> devices = local
136 for (ScopedVector<DeviceInfo>::const_iterator it = devices.begin();
137 it != devices.end();
/external/chromium_org/device/serial/
H A Dserial_device_enumerator_linux.cc48 mojo::Array<serial::DeviceInfoPtr> devices(0);
52 return devices.Pass();
56 return devices.Pass();
60 return devices.Pass();
67 // TODO(rockot): There may be a better way to filter serial devices here,
69 // devices with no real endpoint to back them anywhere. The presence of
71 // for detecting actual devices.
97 devices.push_back(info.Pass());
100 return devices.Pass();
/external/chromium_org/ppapi/examples/enumerate_devices/
H A Denumerate_devices.cc58 std::vector<pp::DeviceRef_Dev>& devices);
86 std::vector<pp::DeviceRef_Dev> devices; local
88 this, video_capture_, &devices);
89 EnumerateDevicesFinished(result, devices);
96 std::vector<pp::DeviceRef_Dev>& devices) {
100 devices_.swap(devices);
94 EnumerateDevicesFinished( int32_t result, std::vector<pp::DeviceRef_Dev>& devices) argument
/external/chromium_org/content/browser/renderer_host/media/
H A Dmedia_stream_manager.cc160 // human readable names of |devices|.
162 const StreamDeviceInfoArray& devices) {
164 base::StringPrintf("Getting devices for stream type %d:\n", stream_type);
165 if (devices.empty()) {
166 output_string += "No devices found.";
168 for (StreamDeviceInfoArray::const_iterator it = devices.begin();
169 it != devices.end(); ++it) {
181 // Clears the MediaStreamDevice.name from all devices in |devices|.
182 static void ClearDeviceLabels(content::StreamDeviceInfoArray* devices) { argument
161 GetLogMessageString(MediaStreamType stream_type, const StreamDeviceInfoArray& devices) argument
339 StreamDeviceInfoArray devices; member in class:content::MediaStreamManager::DeviceRequest
585 StreamDeviceInfoArray& devices = request->devices; local
603 StreamDeviceInfoArray* devices = &request->devices; local
643 StreamDeviceInfoArray* devices = &request_it->second->devices; local
748 StreamDeviceInfoArray devices; local
764 AudioOutputDevicesEnumerated( const StreamDeviceInfoArray& devices) argument
1156 MediaStreamDevices devices; local
1565 FinalizeMediaAccessRequest( const std::string& label, DeviceRequest* request, const MediaStreamDevices& devices) argument
1614 StreamDeviceInfoArray* devices = &(request->devices); local
1688 DevicesEnumerated( MediaStreamType stream_type, const StreamDeviceInfoArray& devices) argument
1841 HandleAccessRequestResponse( const std::string& label, const MediaStreamDevices& devices, content::MediaStreamRequestResult result) argument
1987 NotifyDevicesChanged( MediaStreamType stream_type, const StreamDeviceInfoArray& devices) argument
2073 OnMediaStreamUIWindowId(MediaStreamType video_type, StreamDeviceInfoArray devices, gfx::NativeViewId window_id) argument
[all...]
H A Dvideo_capture_manager_unittest.cc155 StreamDeviceInfoArray devices; local
159 .WillOnce(SaveArg<1>(&devices));
168 int video_session_id = vcm_->Open(devices.front());
181 StreamDeviceInfoArray devices; local
185 .WillOnce(SaveArg<1>(&devices));
194 int video_session_id = vcm_->Open(devices.front());
210 StreamDeviceInfoArray devices; local
214 .WillOnce(SaveArg<1>(&devices));
223 int video_session_id_first = vcm_->Open(devices.front());
227 int video_session_id_second = vcm_->Open(devices
240 StreamDeviceInfoArray devices; local
275 StreamDeviceInfoArray devices; local
345 StreamDeviceInfoArray devices; local
391 StreamDeviceInfoArray devices; local
420 StreamDeviceInfoArray devices; local
462 StreamDeviceInfoArray devices; local
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dwin32devicemanager.cc28 #include "talk/media/devices/win32devicemanager.h"
133 // If there are multiple capture devices, we want the first USB one.
135 std::vector<Device> devices; local
136 ret = (GetVideoCaptureDevices(&devices) && !devices.empty());
138 *device = devices[0];
139 for (size_t i = 0; i < devices.size(); ++i) {
140 if (strnicmp(devices[i].id.c_str(), kUsbDevicePathPrefix,
142 *device = devices[i];
164 bool Win32DeviceManager::GetVideoCaptureDevices(std::vector<Device>* devices) { argument
172 GetDevices(const CLSID& catid, std::vector<Device>* devices) argument
267 CComPtr<IMMDeviceCollection> devices; local
[all...]
H A Dfakedevicemanager.h36 #include "talk/media/devices/devicemanager.h"
52 std::vector<Device> devices; local
167 void SetAudioInputDevices(const std::vector<std::string>& devices) { argument
169 for (size_t i = 0; i < devices.size(); ++i) {
170 input_devices_.push_back(Device(devices[i],
175 void SetAudioOutputDevices(const std::vector<std::string>& devices) { argument
177 for (size_t i = 0; i < devices.size(); ++i) {
178 output_devices_.push_back(Device(devices[i],
183 void SetVideoCaptureDevices(const std::vector<std::string>& devices) { argument
185 for (size_t i = 0; i < devices
215 FindDeviceByName(const std::vector<Device>& devices, const std::string& name, Device* out) argument
[all...]
H A Dmacdevicemanagermm.mm33 #include "talk/media/devices/devicemanager.h"
108 bool GetQTKitVideoDevices(std::vector<Device>* devices) {
134 devices->push_back(
144 bool GetAVFoundationVideoDevices(std::vector<Device>* devices) {
149 return GetQTKitVideoDevices(devices);
157 NSArray* capture_devices = [AVCaptureDevice devices];
175 devices->push_back(
185 return GetQTKitVideoDevices(devices);
188 return GetQTKitVideoDevices(devices);
/external/chromium_org/build/android/pylib/device/
H A Ddevice_blacklist.py23 A list containing bad devices.
37 blacklist: list of bad devices to write to the _BLACKLIST_JSON file.
44 def ExtendBlacklist(devices):
45 """Adds devices to _BLACKLIST_JSON file.
48 devices: list of bad devices to be added to the _BLACKLIST_JSON file.
52 blacklist.extend(devices)
/external/chromium_org/device/hid/
H A Dhid_service.h28 virtual void GetDevices(std::vector<HidDeviceInfo>* devices);
48 const DeviceMap& devices() const { return devices_; } function in class:device::HidService
/external/chromium_org/ppapi/api/dev/
H A Dppb_device_ref_dev.idl23 * @param[in] device_count How many devices in the array.
24 * @param[in] devices An array of <code>PPB_DeviceRef_Dev</code>. Please note
30 [in, size_is(device_count)] PP_Resource[] devices);
/external/chromium_org/third_party/webrtc/sound/
H A Dnullsoundsystem.h35 virtual bool EnumeratePlaybackDevices(SoundDeviceLocatorList *devices);
36 virtual bool EnumerateCaptureDevices(SoundDeviceLocatorList *devices);
/external/chromium_org/third_party/webrtc/voice_engine/
H A Dvoe_hardware_impl.h24 virtual int GetNumOfRecordingDevices(int& devices);
26 virtual int GetNumOfPlayoutDevices(int& devices);
/external/chromium_org/chrome/browser/local_discovery/
H A Dcloud_device_list_delegate.h31 virtual void OnDeviceListReady(const DeviceList& devices) = 0;
/external/chromium_org/chrome/browser/search/
H A Dhotword_service_factory.cc78 const content::MediaStreamDevices& devices) {
79 microphone_available_ = !devices.empty();
84 content::MediaStreamDevices devices = local
87 // If the monitor had not previously been started, there may be 0 devices
89 // availability state now. Either the number of devices will be correct or
92 OnUpdateAudioDevices(devices);
77 OnUpdateAudioDevices( const content::MediaStreamDevices& devices) argument
/external/chromium_org/extensions/browser/api/serial/
H A Dserial_apitest.cc33 base::ListValue* devices = new base::ListValue(); variable
38 devices->Append(device0);
39 devices->Append(device1);
40 SetResult(devices); variable
/external/chromium_org/remoting/host/
H A Dcurtain_mode_linux.cc48 // are running under, so we check for the Xvfb input devices.
59 XDeviceInfo* devices; local
63 devices = XListInputDevices(display, &num_devices);
65 XDeviceInfo* device_info = &devices[i];
96 XFreeDeviceList(devices);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DdevicesView.css6 .devices {
10 .devices-info {

Completed in 887 milliseconds

1234567891011>>