Searched defs:device (Results 226 - 250 of 839) sorted by relevance

1234567891011>>

/external/chromium_org/extensions/browser/api/usb_private/
H A Dusb_private_api.cc12 #include "device/core/device_client.h"
13 #include "device/usb/usb_device_filter.h"
14 #include "device/usb/usb_device_handle.h"
15 #include "device/usb/usb_ids.h"
16 #include "device/usb/usb_service.h"
25 using device::UsbDevice;
26 using device::UsbDeviceFilter;
27 using device::UsbDeviceHandle;
28 using device::UsbService;
35 const char kErrorNoDevice[] = "No such device
71 scoped_refptr<UsbDevice> device = *it; local
100 scoped_refptr<UsbDevice> device = local
[all...]
/external/chromium_org/media/video/capture/android/
H A Dvideo_capture_device_factory_android.cc85 const VideoCaptureDevice::Name& device,
89 if (!base::StringToInt(device.id(), &id))
123 DVLOG(1) << device.name() << " " << capture_format.ToString();
84 GetDeviceSupportedFormats( const VideoCaptureDevice::Name& device, VideoCaptureFormats* capture_formats) argument
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dyuvframescapturer.h33 static bool IsYuvFramesCapturerDevice(const Device& device) { argument
34 return rtc::starts_with(device.id.c_str(), kYuvFrameDeviceName);
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/
H A Dcommon.c48 struct udev_device *device; local
56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev);
57 if (device == NULL) {
59 "EGL-DRI2: could not create udev device for fd %d", fd);
63 return device;
70 struct udev_device *device; local
75 device = dri2_udev_device_new_from_fd(udev, fd);
76 if (device == NULL)
79 const_device_name = udev_device_get_devnode(device);
85 udev_device_unref(device);
95 struct udev_device *device, *parent; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Dbitmap.c39 vlVdpBitmapSurfaceCreate(VdpDevice device, argument
54 vlVdpDevice *dev = vlGetDataHTAB(device);
69 vlsurface->device = dev;
121 pipe_mutex_lock(vlsurface->device->mutex);
123 pipe_mutex_unlock(vlsurface->device->mutex);
180 pipe = vlsurface->device->context;
182 pipe_mutex_lock(vlsurface->device->mutex);
184 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL);
191 pipe_mutex_unlock(vlsurface->device->mutex);
/external/chromium_org/third_party/skia/src/effects/
H A DSkTestImageFilters.cpp8 // Simple helper canvas that "takes ownership" of the provided device, so that
9 // when this canvas goes out of scope, so will its device. Could be replaced
12 // SkCanvas canvas(device);
13 // SkAutoTUnref<SkBaseDevice> aur(device);
17 OwnDeviceCanvas(SkBaseDevice* device) : SkCanvas(device) { argument
18 SkSafeUnref(device);
/external/chromium_org/third_party/skia/tests/
H A DLayerDrawLooperTest.cpp57 FakeDevice device; local
58 SkCanvas canvas(&device);
69 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX());
70 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY());
77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX());
78 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY());
97 FakeDevice device; local
98 SkCanvas canvas(&device);
109 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX());
110 REPORTER_ASSERT(reporter, 0.0f == device
137 FakeDevice device; local
[all...]
/external/chromium_org/ui/ozone/platform/dri/
H A Dgbm_buffer.cc41 gbm_device* device,
48 gbm_bo* bo = gbm_bo_create(device,
39 CreateBuffer( DriWrapper* dri, gbm_device* device, SurfaceFactoryOzone::BufferFormat format, const gfx::Size& size, bool scanout) argument
/external/kernel-headers/original/uapi/linux/
H A Dnetrom.h27 char device[16]; member in struct:nr_route_struct
/external/libmtp/examples/
H A Dalbumart.c45 LIBMTP_mtpdevice_t *device = NULL; local
121 device = LIBMTP_Get_First_Device();
122 if (device == NULL) {
138 int ret = LIBMTP_Create_New_Album(device,album);
140 ret = LIBMTP_Send_Representative_Sample(device,album->album_id, albumart);
143 LIBMTP_Dump_Errorstack(device);
144 LIBMTP_Clear_Errorstack(device);
149 LIBMTP_Dump_Errorstack(device);
150 LIBMTP_Clear_Errorstack(device);
156 LIBMTP_Release_Device(device);
[all...]
H A Dconnect.c33 LIBMTP_mtpdevice_t *device; variable
86 device = LIBMTP_Get_First_Device();
87 if (device == NULL) {
91 files = LIBMTP_Get_Filelisting_With_Callback (device, NULL, NULL);
92 folders = LIBMTP_Get_Folder_List (device);
165 LIBMTP_Release_Device(device);
/external/mesa3d/src/egl/drivers/dri2/
H A Dcommon.c48 struct udev_device *device; local
56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev);
57 if (device == NULL) {
59 "EGL-DRI2: could not create udev device for fd %d", fd);
63 return device;
70 struct udev_device *device; local
75 device = dri2_udev_device_new_from_fd(udev, fd);
76 if (device == NULL)
79 const_device_name = udev_device_get_devnode(device);
85 udev_device_unref(device);
95 struct udev_device *device, *parent; local
[all...]
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dbitmap.c39 vlVdpBitmapSurfaceCreate(VdpDevice device, argument
54 vlVdpDevice *dev = vlGetDataHTAB(device);
69 vlsurface->device = dev;
121 pipe_mutex_lock(vlsurface->device->mutex);
123 pipe_mutex_unlock(vlsurface->device->mutex);
180 pipe = vlsurface->device->context;
182 pipe_mutex_lock(vlsurface->device->mutex);
184 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL);
191 pipe_mutex_unlock(vlsurface->device->mutex);
/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/
H A DSDL_beaudio.cc53 static void Audio_DeleteDevice(SDL_AudioDevice *device) argument
55 SDL_free(device->hidden);
56 SDL_free(device);
61 SDL_AudioDevice *device; local
64 device = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice));
65 if ( device ) {
66 SDL_memset(device, 0, (sizeof *device));
67 device->hidden = (struct SDL_PrivateAudioData *)
68 SDL_malloc((sizeof *device
97 FillSound(void *device, void *stream, size_t len, const media_raw_audio_format &format) argument
[all...]
/external/skia/src/effects/
H A DSkTestImageFilters.cpp8 // Simple helper canvas that "takes ownership" of the provided device, so that
9 // when this canvas goes out of scope, so will its device. Could be replaced
12 // SkCanvas canvas(device);
13 // SkAutoTUnref<SkBaseDevice> aur(device);
17 OwnDeviceCanvas(SkBaseDevice* device) : SkCanvas(device) { argument
18 SkSafeUnref(device);
/external/skia/tests/
H A DLayerDrawLooperTest.cpp57 FakeDevice device; local
58 SkCanvas canvas(&device);
69 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX());
70 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY());
77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX());
78 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY());
97 FakeDevice device; local
98 SkCanvas canvas(&device);
109 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX());
110 REPORTER_ASSERT(reporter, 0.0f == device
137 FakeDevice device; local
[all...]
/external/tinyalsa/
H A Dtinypcminfo.c102 unsigned int device = 0; local
107 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]);
122 device = atoi(*argv);
128 printf("Info for card %d, device %d:\n", card, device);
138 params = pcm_params_get(card, device, i == 0 ? PCM_OUT : PCM_IN);
/external/blktrace/
H A Dblkiomon.h37 __u32 device; member in struct:blkiomon_stat
82 bstat->device = cpu_to_be32(bstat->device);
105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
/external/blktrace/btt/
H A Dunplug_hist.c33 void *unplug_hist_alloc(__u32 device) argument
40 hbp->dev = device;
50 dip = __dip_find(u_iop->t.device);
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper_linux.cc169 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size, local
172 if (!device)
178 skia::AdoptRef(new skia::VectorCanvas(device));
194 // Done printing. Close the device context to retrieve the compiled metafile.
/external/chromium_org/ash/system/chromeos/audio/
H A Daudio_detailed_view.cc20 base::string16 GetAudioDeviceName(const chromeos::AudioDevice& device) { argument
21 switch (device.type) {
32 base::UTF8ToUTF16(device.display_name));
36 base::UTF8ToUTF16(device.display_name));
40 base::UTF8ToUTF16(device.display_name));
42 return base::UTF8ToUTF16(device.display_name);
171 chromeos::AudioDevice& device = iter->second;
172 CrasAudioHandler::Get()->SwitchToDevice(device, true);
/external/chromium_org/chrome/browser/chromeos/bluetooth/
H A Dbluetooth_pairing_dialog.cc12 #include "device/bluetooth/bluetooth_device.h"
34 const device::BluetoothDevice* device)
36 device_data_.SetString("address", device->GetAddress());
37 device_data_.SetString("name", device->GetName());
38 device_data_.SetBoolean("paired", device->IsPaired());
39 device_data_.SetBoolean("connected", device->IsConnected());
46 // Bluetooth settings are currently stored on the device, accessible for
32 BluetoothPairingDialog( gfx::NativeWindow parent_window, const device::BluetoothDevice* device) argument
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
H A Dremovable_storage_provider_linux.cc26 std::string device = file_path.BaseName().value(); local
29 .Append(device)
70 // This is a partition of a device, not the device itself
76 // This is not a removable storage device.
80 /* Get the parent SCSI device that contains the model
82 udevadm info -a -n /dev/<device> */
88 // this is not a usb device
92 linked_ptr<api::image_writer_private::RemovableStorageDevice> device(
94 device
[all...]
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
H A Did_mapping_helper.cc56 // Set the max value for rand to be twice the device count.
74 DeviceInfo* device = (*device_info)[i]; local
76 device->guid());
78 // If the device does not have a local id, set one.
81 value->SetString(local_id, device->guid());
83 device->set_public_id(local_id);
99 scoped_ptr<DeviceInfo> device(*it);
101 return device.Pass();
/external/chromium_org/chrome/browser/extensions/
H A Ddisplay_info_provider_win.cc36 DISPLAY_DEVICE device; local
37 device.cb = sizeof(device);
38 if (!EnumDisplayDevices(monitor_info.szDevice, 0, &device, 0))
44 unit->name = base::WideToUTF8(device.DeviceString);

Completed in 1041 milliseconds

1234567891011>>