Searched refs:device (Results 101 - 125 of 1580) sorted by relevance

1234567891011>>

/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
H A DSDL_sysvideo.cc79 static void QT_DeleteDevice(SDL_VideoDevice *device) argument
81 SDL_free(device->hidden);
82 SDL_free(device);
87 SDL_VideoDevice *device; local
90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
91 if ( device ) {
92 SDL_memset(device, 0, (sizeof *device));
93 device->hidden = (struct SDL_PrivateVideoData *)
94 SDL_malloc((sizeof *device
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c70 static void DC_DeleteDevice(SDL_VideoDevice *device) argument
72 SDL_free(device->hidden);
73 SDL_free(device);
78 SDL_VideoDevice *device; local
81 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
82 if ( device ) {
83 SDL_memset(device, 0, (sizeof *device));
84 device->hidden = (struct SDL_PrivateVideoData *)
85 SDL_malloc((sizeof *device
[all...]
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dhid_detection_screen_handler.cc21 #include "device/bluetooth/bluetooth_adapter_factory.h"
32 // Possible ui-states for device-blocks.
48 bool DeviceIsPointing(device::BluetoothDevice::DeviceType device_type) {
49 return device_type == device::BluetoothDevice::DEVICE_MOUSE ||
50 device_type == device::BluetoothDevice::DEVICE_KEYBOARD_MOUSE_COMBO ||
51 device_type == device::BluetoothDevice::DEVICE_TABLET;
54 bool DeviceIsPointing(const device::InputServiceLinux::InputDeviceInfo& info) {
59 bool DeviceIsKeyboard(device::BluetoothDevice::DeviceType device_type) {
60 return device_type == device::BluetoothDevice::DEVICE_KEYBOARD ||
61 device_type == device
240 RequestPinCode( device::BluetoothDevice* device) argument
247 RequestPasskey( device::BluetoothDevice* device) argument
254 DisplayPinCode(device::BluetoothDevice* device, const std::string& pincode) argument
266 DisplayPasskey( device::BluetoothDevice* device, uint32 passkey) argument
281 KeysEntered( device::BluetoothDevice* device, uint32 entered) argument
290 ConfirmPasskey( device::BluetoothDevice* device, uint32 passkey) argument
296 AuthorizePairing( device::BluetoothDevice* device) argument
319 TryPairingAsPointingDevice( device::BluetoothDevice* device) argument
328 TryPairingAsKeyboardDevice( device::BluetoothDevice* device) argument
337 DeviceAdded( device::BluetoothAdapter* adapter, device::BluetoothDevice* device) argument
345 DeviceChanged( device::BluetoothAdapter* adapter, device::BluetoothDevice* device) argument
353 DeviceRemoved( device::BluetoothAdapter* adapter, device::BluetoothDevice* device) argument
488 ConnectBTDevice( device::BluetoothDevice* device) argument
[all...]
/external/libpcap/
H A Dpcap-dos.h109 extern struct device el2_dev LOCKED_VAR; /* 3Com EtherLink II */
110 extern struct device el3_dev LOCKED_VAR; /* EtherLink III */
111 extern struct device tc59_dev LOCKED_VAR; /* 3Com Vortex Card (?) */
112 extern struct device tc515_dev LOCKED_VAR;
113 extern struct device tc90x_dev LOCKED_VAR;
114 extern struct device tc90bcx_dev LOCKED_VAR;
115 extern struct device wd_dev LOCKED_VAR;
116 extern struct device ne_dev LOCKED_VAR;
117 extern struct device acct_dev LOCKED_VAR;
118 extern struct device cs89_de
142 struct device { struct
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxvideo.c65 static void NX_DeleteDevice (SDL_VideoDevice * device) argument
69 if (device) {
70 if (device -> hidden) SDL_free (device -> hidden) ;
71 if (device -> gl_data) SDL_free (device -> gl_data) ;
72 SDL_free (device) ;
80 SDL_VideoDevice * device ; local
85 device = (SDL_VideoDevice *) SDL_malloc (sizeof (SDL_VideoDevice)) ;
86 if (device) {
[all...]
/external/chromium_org/content/renderer/media/
H A Dmock_media_stream_dispatcher.cc11 // Used for ID for output devices and for matching output device ID for input
82 if (IsAudioInputMediaType(device_info.device.type)) {
86 if (IsVideoMediaType(device_info.device.type)) {
110 audio.device.id = "audio_input_device_id" + base::IntToString(session_id_);
111 audio.device.name = "microphone";
112 audio.device.type = MEDIA_DEVICE_AUDIO_CAPTURE;
113 audio.device.video_facing = MEDIA_VIDEO_FACING_NONE;
115 audio.device.matched_output_device_id =
124 audio.device.id = kAudioOutputDeviceIdPrefix + base::IntToString(session_id_);
125 audio.device
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c64 static void NDS_DeleteDevice(SDL_VideoDevice *device) argument
66 SDL_free(device->hidden);
67 SDL_free(device);
108 SDL_VideoDevice *device=0; local
112 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
113 if ( device ) {
114 SDL_memset(device, 0, (sizeof *device));
115 device->hidden = (struct SDL_PrivateVideoData *)
116 SDL_malloc((sizeof *device
[all...]
/external/chromium_org/device/nfc/
H A Dnfc_tag_technology_chromeos.h13 #include "device/nfc/nfc_tag_technology.h"
20 // device::NfcNdefTagTechnology for the Chrome OS platform. The lifetime of an
24 class NfcNdefTagTechnologyChromeOS : public device::NfcNdefTagTechnology,
29 // device::NfcNdefTagTechnology overrides.
30 virtual void AddObserver(device::NfcNdefTagTechnology::Observer* observer)
32 virtual void RemoveObserver(device::NfcNdefTagTechnology::Observer* observer)
34 virtual const device::NfcNdefMessage& GetNdefMessage() const OVERRIDE;
35 virtual void WriteNdef(const device::NfcNdefMessage& message,
49 typedef std::map<dbus::ObjectPath, device::NfcNdefRecord*> NdefRecordMap;
69 device
[all...]
/external/chromium_org/skia/ext/
H A Dplatform_device.cc36 void SetPlatformDevice(SkBaseDevice* device, PlatformDevice* platform_behaviour) { argument
37 SkMetaData& meta_data = device->getMetaData();
41 PlatformDevice* GetPlatformDevice(SkBaseDevice* device) { argument
42 if (device) {
43 SkMetaData& meta_data = device->getMetaData();
53 SkBaseDevice* device = canvas.getDevice(); local
54 DCHECK(device != NULL);
55 return device->getMetaData();
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
H A Dcontext.cpp30 const std::vector<device *> &devs) :
35 _cl_context::has_device(clover::device *dev) const {
H A Dprogram.hpp41 const std::vector<clover::device *> &devs,
44 void build(const std::vector<clover::device *> &devs);
47 const std::map<clover::device *, clover::module> &binaries() const;
49 cl_build_status build_status(clover::device *dev) const;
50 std::string build_opts(clover::device *dev) const;
51 std::string build_log(clover::device *dev) const;
56 std::map<clover::device *, clover::module> __binaries;
57 std::map<clover::device *, std::string> __logs;
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dcontext.cpp30 const std::vector<device *> &devs) :
35 _cl_context::has_device(clover::device *dev) const {
H A Dprogram.hpp41 const std::vector<clover::device *> &devs,
44 void build(const std::vector<clover::device *> &devs);
47 const std::map<clover::device *, clover::module> &binaries() const;
49 cl_build_status build_status(clover::device *dev) const;
50 std::string build_opts(clover::device *dev) const;
51 std::string build_log(clover::device *dev) const;
56 std::map<clover::device *, clover::module> __binaries;
57 std::map<clover::device *, std::string> __logs;
/external/chromium_org/media/midi/
H A Dusb_midi_input_stream.cc17 UsbMidiInputStream::JackUniqueKey::JackUniqueKey(UsbMidiDevice* device, argument
20 : device(device),
26 return device == that.device &&
33 if (device != that.device)
34 return device < that.device;
45 std::make_pair(JackUniqueKey(jacks[i].device,
54 OnReceivedData(UsbMidiDevice* device, int endpoint_number, const uint8* data, size_t size, base::TimeTicks time) argument
67 ProcessOnePacket(UsbMidiDevice* device, int endpoint_number, const uint8* packet, base::TimeTicks time) argument
[all...]
/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/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/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aavideo.c67 static void AA_DeleteDevice(SDL_VideoDevice *device) argument
69 SDL_free(device->hidden);
70 SDL_free(device);
75 SDL_VideoDevice *device; local
78 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
79 if ( device ) {
80 SDL_memset(device, 0, (sizeof *device));
81 device->hidden = (struct SDL_PrivateVideoData *)
82 SDL_malloc((sizeof *device
[all...]
/external/chromium_org/build/android/pylib/gtest/
H A Dtest_package.py19 def ClearApplicationState(self, device):
23 device: Instance of DeviceUtils.
27 def CreateCommandLineFileOnDevice(self, device, test_filter, test_arguments):
28 """Creates a test runner script and pushes to the device.
31 device: Instance of DeviceUtils.
37 def GetAllTests(self, device):
41 device: Instance of DeviceUtils.
48 def SpawnTestProcess(self, device):
52 device: Instance of DeviceUtils.
59 def Install(self, device)
[all...]
/external/chromium_org/build/android/
H A Dtombstones.py21 from pylib.device import device_utils
24 def _ListTombstones(device):
25 """List the tombstone files on the device.
28 device: An instance of DeviceUtils.
31 Tuples of (tombstone filename, date time of file on device).
33 lines = device.RunShellCommand('TZ=UTC su -c ls -a -l /data/tombstones')
42 def _GetDeviceDateTime(device):
43 """Determine the date time on the device.
46 device: An instance of DeviceUtils.
51 device_now_string = device
[all...]
/external/chromium_org/chromeos/audio/
H A Daudio_devices_pref_handler.h25 // Gets the audio output volume value from prefs for a device. Since we can
26 // only have either a gain or a volume for a device (depending on whether it
28 virtual double GetOutputVolumeValue(const AudioDevice* device) = 0;
29 virtual double GetInputGainValue(const AudioDevice* device) = 0;
30 // Sets the audio volume or gain value to prefs for a device.
31 virtual void SetVolumeGainValue(const AudioDevice& device, double value) = 0;
33 // Reads the audio mute value from prefs for a device.
34 virtual bool GetMuteValue(const AudioDevice& device) = 0;
35 // Sets the audio mute value to prefs for a device.
36 virtual void SetMuteValue(const AudioDevice& device, boo
[all...]
H A Daudio_devices_pref_handler_stub.h25 virtual double GetOutputVolumeValue(const AudioDevice* device) OVERRIDE;
26 virtual double GetInputGainValue(const AudioDevice* device) OVERRIDE;
27 virtual void SetVolumeGainValue(const AudioDevice& device,
29 virtual bool GetMuteValue(const AudioDevice& device) OVERRIDE;
30 virtual void SetMuteValue(const AudioDevice& device, bool mute_on) OVERRIDE;
/external/chromium_org/device/usb/
H A Dusb_service_unittest.cc7 #include "device/test/usb_test_gadget.h"
8 #include "device/usb/usb_device.h"
9 #include "device/usb/usb_device_handle.h"
12 namespace device { namespace
32 scoped_refptr<UsbDevice> device = gadget->GetDevice(); local
34 ASSERT_TRUE(device->GetManufacturer(&utf16));
37 ASSERT_TRUE(device->GetProduct(&utf16));
40 ASSERT_TRUE(device->GetSerialNumber(&utf16));
55 } // namespace device
/external/chromium_org/extensions/browser/api/bluetooth/
H A Dbluetooth_api_utils.cc9 #include "device/bluetooth/bluetooth_adapter.h"
10 #include "device/bluetooth/bluetooth_device.h"
15 using device::BluetoothDevice;
94 void BluetoothDeviceToApiDevice(const device::BluetoothDevice& device, argument
96 out->address = device.GetAddress();
97 out->name.reset(new std::string(base::UTF16ToUTF8(device.GetName())));
98 out->device_class.reset(new int(device.GetBluetoothClass()));
100 // Only include the Device ID members when one exists for the device, and
102 if (ConvertVendorIDSourceToApi(device
[all...]
/external/libmtp/examples/
H A Dgetfile.c3 * Example program to retrieve a file off the device.
34 extern LIBMTP_mtpdevice_t *device;
47 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) {
48 printf("\nError getting file from MTP device.\n");
49 LIBMTP_Dump_Errorstack(device);
50 LIBMTP_Clear_Errorstack(device);
83 if (LIBMTP_Get_File_To_File(device, id, file, progress, NULL) != 0 ) {
84 printf("\nError getting file from MTP device.\n");
H A Dnewfolder.c3 * Example program to create a folder on the device.
33 extern LIBMTP_mtpdevice_t *device;
46 newid = LIBMTP_Create_Folder(device, argv[1], atol(argv[2]), atol(argv[3]));
61 int newid = LIBMTP_Create_Folder(device, folder, id, 0);
64 LIBMTP_Dump_Errorstack(device);
65 LIBMTP_Clear_Errorstack(device);

Completed in 606 milliseconds

1234567891011>>