/external/chromium_org/third_party/webrtc/sound/ |
H A D | soundsystemproxy.cc | 16 SoundDeviceLocatorList *devices) { 17 return wrapped_ ? wrapped_->EnumeratePlaybackDevices(devices) : false; 21 SoundDeviceLocatorList *devices) { 22 return wrapped_ ? wrapped_->EnumerateCaptureDevices(devices) : false; 15 EnumeratePlaybackDevices( SoundDeviceLocatorList *devices) argument 20 EnumerateCaptureDevices( SoundDeviceLocatorList *devices) argument
|
H A D | nullsoundsystem.cc | 112 SoundSystemInterface::SoundDeviceLocatorList *devices) { 113 ClearSoundDeviceLocatorList(devices); 116 devices->push_back(device); 121 SoundSystemInterface::SoundDeviceLocatorList *devices) { 122 ClearSoundDeviceLocatorList(devices); 125 devices->push_back(device); 111 EnumeratePlaybackDevices( SoundSystemInterface::SoundDeviceLocatorList *devices) argument 120 EnumerateCaptureDevices( SoundSystemInterface::SoundDeviceLocatorList *devices) argument
|
H A D | soundsysteminterface.h | 27 // 1) Concurrent enumeration and opening of devices from different threads. 76 static void ClearSoundDeviceLocatorList(SoundDeviceLocatorList *devices); 83 // Enumerates the available devices. (Any pre-existing locators in the lists 85 virtual bool EnumeratePlaybackDevices(SoundDeviceLocatorList *devices) = 0; 86 virtual bool EnumerateCaptureDevices(SoundDeviceLocatorList *devices) = 0;
|
H A D | soundsystemproxy.h | 28 virtual bool EnumeratePlaybackDevices(SoundDeviceLocatorList *devices); 29 virtual bool EnumerateCaptureDevices(SoundDeviceLocatorList *devices);
|
/external/chromium_org/ui/events/ |
H A D | device_hotplug_event_observer.h | 18 // On a hotplug event this is called with the list of available devices. 20 const std::vector<TouchscreenDevice>& devices) = 0;
|
/external/chromium_org/ui/events/x/ |
H A D | device_list_cache_x.h | 22 DeviceList() : devices(NULL), count(0) { 25 return devices[x]; 27 const T& operator[](int x) const { return devices[x]; } 28 T* devices; member in struct:DeviceList 46 // Returns the list of devices associated with |display|. Uses the old X11 47 // protocol to get the list of the devices. 50 // Returns the list of devices associated with |display|. Uses the newer 51 // XINPUT2 protocol to get the list of devices. Before making this call, make
|
/external/chromium_org/extensions/shell/browser/ |
H A D | shell_audio_controller_chromeos.cc | 19 // Returns a pointer to the device in |devices| with ID |node_id|, or NULL if it 21 const chromeos::AudioDevice* GetDevice(const chromeos::AudioDeviceList& devices, argument 23 for (chromeos::AudioDeviceList::const_iterator it = devices.begin(); 24 it != devices.end(); ++it) { 105 chromeos::AudioDeviceList devices; local 106 handler->GetAudioDevices(&devices); 107 sort(devices.begin(), devices.end(), chromeos::AudioDeviceCompare()); 110 for (chromeos::AudioDeviceList::const_reverse_iterator it = devices.rbegin(); 111 it != devices [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | system_info_unittest.py | 16 'devices': [ 26 self.assertTrue(len(info.gpu.devices) == 1) 27 self.assertTrue(isinstance(info.gpu.devices[0], gpu_device.GPUDevice)) 28 self.assertEquals(info.gpu.devices[0].vendor_id, 1000) 29 self.assertEquals(info.gpu.devices[0].device_id, 2000) 30 self.assertEquals(info.gpu.devices[0].vendor_string, 'a') 31 self.assertEquals(info.gpu.devices[0].device_string, 'b') 37 'devices': [ 54 'devices': [{ 'vendor_id': 1000, 'device_id': 2000,
|
/external/chromium_org/chrome/browser/extensions/api/dial/ |
H A D | dial_apitest.cc | 54 extensions::DialRegistry::DeviceList devices; local 63 devices.push_back(device1); 64 api->SendEventOnUIThread(devices); 71 devices.push_back(device2); 72 api->SendEventOnUIThread(devices); 79 devices.push_back(device3); 80 api->SendEventOnUIThread(devices);
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | image_burner.js | 113 * @param {Array} devices Array of device information. 115 gotoInitialState: function(devices) { 116 if (devices.length == 0) { 118 } else if (devices.length == 1) { 122 if (devices[0].type == 'sd') 152 * Class that keeps track of available devices. 157 this.devices = []; 165 if (this.devices.length == 0) { 168 this.selectDevice(this.devices[0].devicePath); 228 * Updates the list of selected devices [all...] |
/external/chromium_org/chrome/browser/extensions/api/audio/ |
H A D | audio_service_chromeos.cc | 105 chromeos::AudioDeviceList devices; local 106 cras_audio_handler_->GetAudioDevices(&devices); 107 for (size_t i = 0; i < devices.size(); ++i) { 108 if (!devices[i].is_input) { 110 info->id = base::Uint64ToString(devices[i].id); 111 info->name = devices[i].device_name + ": " + devices[i].display_name; 112 info->is_active = devices[i].active; 114 cras_audio_handler_->GetOutputVolumePercentForDevice(devices[i].id); 116 cras_audio_handler_->IsOutputMutedForDevice(devices[ 174 chromeos::AudioDeviceList devices; local [all...] |
/external/chromium_org/media/midi/ |
H A D | usb_midi_device_factory_android.cc | 52 // No devices are found. 53 ScopedVector<UsbMidiDevice> devices; local 54 callback.Run(true, &devices); 61 jobjectArray devices) { 62 size_t size = env->GetArrayLength(devices); 66 env, env->GetObjectArrayElement(devices, i)); 58 OnUsbMidiDeviceRequestDone( JNIEnv* env, jobject caller, jobjectArray devices) argument
|
/external/chromium_org/build/android/gyp/ |
H A D | get_device_configuration.py | 7 """Gets and writes the configurations of the attached devices. 9 This configuration is used by later build steps to determine which devices to 10 install to and what needs to be installed to those devices. 26 devices = build_device.GetAttachedDevices() 29 for d in devices: 50 'No valid devices attached. Skipping managed install steps.') 51 elif len(devices) > 1: 52 # Note that this checks len(devices) and not len(device_configurations). 53 # This way, any time there are multiple devices attached it is 55 # one device were rejected for other reasons (e.g. two devices attache [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | media_devices_selection_handler.h | 14 // Handler for media devices selection in content settings. 29 const content::MediaStreamDevices& devices) OVERRIDE; 31 const content::MediaStreamDevices& devices) OVERRIDE; 47 const content::MediaStreamDevices& devices);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebMediaDevicesRequest.cpp | 68 MediaDeviceInfoVector devices(webDevices.size()); 70 devices[i] = MediaDeviceInfo::create(webDevices[i]); 72 m_private->succeed(devices);
|
/external/chromium_org/build/android/ |
H A D | adb_install_apk.py | 74 devices = android_commands.GetAttachedDevices() 77 if options.device not in devices: 78 raise Exception('Error: %s not in attached devices %s' % (options.device, 79 ','.join(devices))) 80 devices = [options.device] 82 if not devices: 83 raise Exception('Error: no connected devices') 85 device_utils.DeviceUtils.parallel(devices).Install(
|
H A D | enable_asserts.py | 27 devices = android_commands.GetAttachedDevices() 28 for device in [device_utils.DeviceUtils(serial) for serial in devices]:
|
H A D | adb_logcat_monitor.py | 7 """Saves logcats from all connected devices. 11 This script will repeatedly poll adb for new devices and save logcats 29 devices = {} variable 44 process, logcat_num = devices[device_id] 64 devices[device_id] = (process, logcat_num + 1) 77 list of devices or an empty list on timeout 81 out, err = subprocess.Popen([adb_cmd, 'devices'], 88 logging.warning('"adb devices" command timed out') 91 logging.exception('Exception from "adb devices"') 109 # Set up the alarm for calling 'adb devices' [all...] |
/external/chromium_org/tools/profile_chrome/ |
H A D | controllers_unittest.py | 16 devices = android_commands.GetAttachedDevices() 19 self.device = device_utils.DeviceUtils(devices[0])
|
/external/chromium_org/ppapi/proxy/ |
H A D | device_enumeration_resource_helper.cc | 57 std::vector<DeviceRefData> devices; local 62 &devices); 65 result = WriteToArrayOutput(devices, output); 121 const std::vector<DeviceRefData>& devices) { 132 result = WriteToArrayOutput(devices, output); 140 const std::vector<DeviceRefData>& devices) { 149 uint32_t size = devices.size(); 154 OBJECT_IS_PROXY, owner_->pp_instance(), devices[index]); 166 const std::vector<DeviceRefData>& devices, 173 for (size_t i = 0; i < devices 117 OnPluginMsgEnumerateDevicesReply( const PP_ArrayOutput& output, scoped_refptr<TrackedCallback> callback, const ResourceMessageReplyParams& params, const std::vector<DeviceRefData>& devices) argument 137 OnPluginMsgNotifyDeviceChange( const ResourceMessageReplyParams& , uint32_t callback_id, const std::vector<DeviceRefData>& devices) argument 165 WriteToArrayOutput( const std::vector<DeviceRefData>& devices, const PP_ArrayOutput& output) argument [all...] |
/external/chromium_org/build/android/pylib/utils/ |
H A D | parallelizer_test.py | 90 devices = [ParallelizerTestObject(True) for _ in xrange(0, 10)] 91 self.assertTrue(all(d.doReturnTheThing() for d in devices)) 92 ParallelizerTestObject.parallel(devices).doSetTheThing(False).pFinish(1) 93 self.assertTrue(not any(d.doReturnTheThing() for d in devices)) 96 devices = [ParallelizerTestObject(True) for _ in xrange(0, 10)] 98 devices).doReturnTheThing().pGet(1) 104 devices = [ParallelizerTestObject(Exception('thing %d' % i)) 106 p = ParallelizerTestObject.parallel(devices).doRaiseTheThing() 118 devices = [ 125 p = ParallelizerTestObject.parallel(devices) [all...] |
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | cloud_device_list.cc | 34 const base::ListValue* devices = NULL; local 35 if (kind != kKindDevicesList || !value.GetList("devices", &devices)) { 41 for (base::ListValue::const_iterator i = devices->begin(); 42 i != devices->end(); i++) { 59 return cloud_devices::GetCloudDevicesRelativeURL("devices");
|
/external/chromium_org/chrome/browser/ui/content_settings/ |
H A D | content_setting_media_menu_model.cc | 25 const content::MediaStreamDevices& devices = local 30 for (size_t i = 0; i < devices.size(); ++i) { 31 commands_.insert(std::make_pair(commands_.size(), devices[i])); 32 AddItem(i, base::UTF8ToUTF16(devices[i].name));
|
/external/chromium_org/content/public/browser/ |
H A D | speech_recognition_session_context.h | 57 // A list of devices being used by the recognition session. 58 MediaStreamDevices devices; member in struct:content::SpeechRecognitionSessionContext
|
/external/chromium_org/ppapi/c/dev/ |
H A D | ppb_device_ref_dev.h | 37 * @param[in] device_count How many devices in the array. 38 * @param[in] devices An array of <code>PPB_DeviceRef_Dev</code>. Please note 43 const PP_Resource devices[]);
|