Searched refs:device (Results 126 - 150 of 1580) sorted by relevance

1234567891011>>

/external/chromium_org/build/android/
H A Dscreenshot.py7 """Takes a screenshot or a screen video capture from an Android device."""
16 from pylib.device import device_utils
23 def _CaptureScreenshot(device, host_file):
24 host_file = device.TakeScreenshot(host_file)
28 def _CaptureVideo(device, host_file, options):
30 recorder = screenshot.VideoRecorder(device,
48 parser.add_option('-d', '--device', metavar='ANDROID_DEVICE', help='Serial '
49 'number of Android device to use.', default=None)
63 help='Frame size to use instead of the device '
72 if not options.device an
[all...]
/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/qemu/distrib/sdl-1.2.15/src/video/ggi/
H A DSDL_ggivideo.c81 static void GGI_DeleteDevice(SDL_VideoDevice *device) argument
83 SDL_free(device->hidden);
84 SDL_free(device);
89 SDL_VideoDevice *device; local
92 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
93 if ( device ) {
94 SDL_memset(device, 0, (sizeof *device));
95 device->hidden = (struct SDL_PrivateVideoData *)
96 SDL_malloc((sizeof *device
[all...]
/external/chromium_org/device/hid/
H A Dinput_service_linux.cc13 #include "device/hid/input_service_linux.h"
15 namespace device { namespace
37 bool GetBoolProperty(udev_device* device, const char* key) { argument
38 CHECK(device);
40 const char* property = udev_device_get_property_value(device, key);
51 InputServiceLinux::InputDeviceInfo::Type GetDeviceType(udev_device* device) { argument
53 device, kTypeBluetooth, NULL)) {
56 if (udev_device_get_parent_with_subsystem_devtype(device, kTypeUsb, NULL))
58 if (udev_device_get_parent_with_subsystem_devtype(device, kTypeSerio, NULL))
63 std::string GetParentDeviceName(udev_device* device, cons argument
103 OnDeviceAdded(udev_device* device) argument
141 OnDeviceRemoved(udev_device* device) argument
[all...]
/external/chromium_org/extensions/browser/api/serial/
H A Dserial_connection.cc21 device::serial::SendError input) {
23 case device::serial::SEND_ERROR_NONE:
25 case device::serial::SEND_ERROR_DISCONNECTED:
27 case device::serial::SEND_ERROR_PENDING:
29 case device::serial::SEND_ERROR_TIMEOUT:
31 case device::serial::SEND_ERROR_SYSTEM_ERROR:
38 device::serial::ReceiveError input) {
40 case device::serial::RECEIVE_ERROR_NONE:
42 case device::serial::RECEIVE_ERROR_DISCONNECTED:
44 case device
[all...]
/external/chromium_org/extensions/browser/api/bluetooth_socket/
H A Dbluetooth_api_socket.h10 #include "device/bluetooth/bluetooth_device.h"
11 #include "device/bluetooth/bluetooth_socket.h"
12 #include "device/bluetooth/bluetooth_uuid.h"
33 typedef base::Callback<void(const device::BluetoothDevice* device,
34 scoped_refptr<device::BluetoothSocket>)>
41 scoped_refptr<device::BluetoothSocket> socket,
43 const device::BluetoothUUID& uuid);
46 // Adopts a socket |socket| connected to a device with address
49 scoped_refptr<device
[all...]
/external/chromium_org/extensions/shell/browser/
H A Dshell_audio_controller_chromeos.cc19 // Returns a pointer to the device in |devices| with ID |node_id|, or NULL if it
36 const chromeos::AudioDevice* device) {
41 const chromeos::AudioDevice* device) {
46 const chromeos::AudioDevice& device,
53 const chromeos::AudioDevice& device) {
58 const chromeos::AudioDevice& device,
120 const chromeos::AudioDevice* device = GetDevice(devices, best_input); local
121 DCHECK(device);
122 VLOG(1) << "Activating input device: " << device
35 GetOutputVolumeValue( const chromeos::AudioDevice* device) argument
40 GetInputGainValue( const chromeos::AudioDevice* device) argument
45 SetVolumeGainValue( const chromeos::AudioDevice& device, double value) argument
52 GetMuteValue( const chromeos::AudioDevice& device) argument
57 SetMuteValue( const chromeos::AudioDevice& device, bool mute_on) argument
126 const chromeos::AudioDevice* device = GetDevice(devices, best_output); local
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DSwapChain9.cpp77 IDirect3DDevice9 *device = mRenderer->getDevice(); local
79 if (device == NULL)
86 device->EvictManagedResources();
104 result = device->CreateTexture(backbufferWidth, backbufferHeight, 1, D3DUSAGE_RENDERTARGET,
147 result = device->StretchRect(oldRenderTarget, &rect, mRenderTarget, &rect, D3DTEXF_NONE);
185 result = device->CreateAdditionalSwapChain(&presentParameters, &mSwapChain);
211 result = device->CreateDepthStencilSurface(backbufferWidth, backbufferHeight,
248 IDirect3DDevice9 *device = mRenderer->getDevice(); local
251 device->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
252 device
393 IDirect3DDevice9 *device = mRenderer->getDevice(); local
[all...]
/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/ui/events/ozone/device/udev/
H A Ddevice_manager_udev.cc5 #include "ui/events/ozone/device/udev/device_manager_udev.h"
11 #include "ui/events/ozone/device/device_event.h"
12 #include "ui/events/ozone/device/device_event_observer.h"
53 device::ScopedUdevPtr UdevCreate() {
59 return device::ScopedUdevPtr(udev);
62 // Start monitoring input device changes.
63 device::ScopedUdevMonitorPtr UdevCreateMonitor(struct udev* udev) {
76 return device::ScopedUdevMonitorPtr(monitor);
102 device::ScopedUdevEnumeratePtr enumerate(udev_enumerate_new(udev_.get()));
115 device
154 ProcessMessage(udev_device* device) argument
[all...]
/external/blktrace/btt/
H A Dbno_dump.c27 static FILE *bno_dump_open(__u32 device, char rwc) argument
33 mjr = device >> MINORBITS;
34 mnr = device & ((1 << MINORBITS) - 1);
51 void *bno_dump_alloc(__u32 device) argument
58 bdp->rfp = bno_dump_open(device, 'r');
59 bdp->wfp = bno_dump_open(device, 'w');
60 bdp->cfp = bno_dump_open(device, 'c');
H A Dtrace_plug.c32 dip_unplug(u_iop->t.device, BIT_TIME(u_iop->t.time), get_nio_up(u_iop));
38 dip_unplug_tm(ut_iop->t.device, BIT_TIME(ut_iop->t.time),
45 dip_plug(p_iop->t.device, BIT_TIME(p_iop->t.time));
/external/chromium_org/chrome/browser/chromeos/audio/
H A Daudio_devices_pref_handler_impl.h25 virtual double GetOutputVolumeValue(const AudioDevice* device) OVERRIDE;
26 virtual double GetInputGainValue(const AudioDevice* device) OVERRIDE;
27 virtual void SetVolumeGainValue(const AudioDevice& device,
30 virtual bool GetMuteValue(const AudioDevice& device) OVERRIDE;
31 virtual void SetMuteValue(const AudioDevice& device, bool mute_on) OVERRIDE;
57 double GetVolumeGainPrefValue(const AudioDevice& device);
58 double GetDeviceDefaultOutputVolume(const AudioDevice& device);
60 // Methods to migrate the mute and volume settings for a device from the
61 // previous global pref value to the new per device pref value for the
62 // current active device
[all...]
/external/chromium_org/device/nfc/
H A Dnfc_tag_chromeos.h14 #include "device/nfc/nfc_tag.h"
20 // The NfcTagChromeOS class implements device::NfcTag for the Chrome OS
22 class NfcTagChromeOS : public device::NfcTag,
25 // device::NfcTag overrides.
26 virtual void AddObserver(device::NfcTag::Observer* observer) OVERRIDE;
27 virtual void RemoveObserver(device::NfcTag::Observer* observer) OVERRIDE;
31 virtual device::NfcTag::Protocol GetSupportedProtocol() const OVERRIDE;
32 virtual device::NfcTagTechnology::TechnologyTypeMask
35 virtual device::NfcNdefTagTechnology* GetNdefTagTechnology() OVERRIDE;
63 ObserverList<device
[all...]
/external/libmtp/examples/
H A Ddelfile.c3 * Example program to delete a file off the device.
33 extern LIBMTP_mtpdevice_t *device;
50 ret = LIBMTP_Delete_Object(device, id);
52 LIBMTP_Dump_Errorstack(device);
53 LIBMTP_Clear_Errorstack(device);
103 ret = LIBMTP_Delete_Object(device, id);
107 LIBMTP_Dump_Errorstack(device);
108 LIBMTP_Clear_Errorstack(device);
H A Dnewplaylist.c3 * Example program to create a playlist on a device.
39 LIBMTP_mtpdevice_t *device = NULL; local
83 device = LIBMTP_Get_First_Device();
84 if (device == NULL) {
95 int ret = LIBMTP_Create_New_Playlist(device,playlist);
98 LIBMTP_Dump_Errorstack(device);
99 LIBMTP_Clear_Errorstack(device);
105 LIBMTP_Release_Device(device);
H A Ddetect.c3 * Example program to detect a device and list capabilities.
71 fprintf(stdout, "Listing raw device(s)\n");
87 fprintf(stdout, " Found %d device(s):\n", numrawdevices);
115 fprintf(stdout, "Attempting to connect device(s)\n");
117 LIBMTP_mtpdevice_t *device; local
129 device = LIBMTP_Open_Raw_Device(&rawdevices[i]);
130 if (device == NULL) {
131 fprintf(stderr, "Unable to open raw device %d\n", i);
135 LIBMTP_Dump_Errorstack(device);
136 LIBMTP_Clear_Errorstack(device);
[all...]
/external/chromium_org/build/android/pylib/device/
H A Ddevice_utils_test.py25 from pylib.device import adb_wrapper
26 from pylib.device import device_errors
27 from pylib.device import device_utils
28 from pylib.device import intent
60 a = android_commands.AndroidCommands(device=serial)
207 self.device = device_utils.DeviceUtils(
215 '00123456789abcdef device\r\n'):
216 self.assertTrue(self.device.IsOnline())
220 self.assertFalse(self.device.IsOnline())
228 self.assertTrue(self.device
[all...]
/external/chromium_org/build/android/pylib/
H A Dforwarder.py18 import pylib.device.device_utils namespace
47 """Thread-safe class to manage port forwards from the device to the host."""
66 def Map(port_pairs, device, tool=None):
72 port will by dynamically assigned on the device. You can
75 device: A DeviceUtils instance.
83 if isinstance(device, pylib.android_commands.AndroidCommands):
84 device = pylib.device.device_utils.DeviceUtils(device)
86 tool = valgrind_tools.CreateTool(None, device)
[all...]
/external/chromium_org/chrome/browser/chromeos/power/
H A Dperipheral_battery_observer.h16 #include "device/bluetooth/bluetooth_adapter.h"
23 // This observer listens for peripheral device battery status and shows
26 public device::BluetoothAdapter::Observer {
41 // device::BluetoothAdapter::Observer implementation.
42 virtual void DeviceChanged(device::BluetoothAdapter* adapter,
43 device::BluetoothDevice* device) OVERRIDE;
44 virtual void DeviceRemoved(device::BluetoothAdapter* adapter,
45 device::BluetoothDevice* device) OVERRID
[all...]
/external/chromium_org/extensions/browser/api/bluetooth_low_energy/
H A Dbluetooth_low_energy_event_router.h17 #include "device/bluetooth/bluetooth_adapter.h"
18 #include "device/bluetooth/bluetooth_device.h"
19 #include "device/bluetooth/bluetooth_gatt_service.h"
34 namespace device { namespace
38 } // namespace device
47 // interface with the internal Bluetooth API in device/bluetooth.
49 : public device::BluetoothAdapter::Observer {
77 // none of the methods in this class will succeed and no device::Bluetooth*
84 // Creates a GATT connection to the device with address |device_address| for
86 // unloaded, the device i
[all...]
H A Dbluetooth_low_energy_connection.h9 #include "device/bluetooth/bluetooth_gatt_connection.h"
15 // An ApiResource wrapper for a device::BluetoothGattConnection.
21 scoped_ptr<device::BluetoothGattConnection> connection);
25 device::BluetoothGattConnection* GetConnection() const;
45 scoped_ptr<device::BluetoothGattConnection> connection_;
H A Dbluetooth_low_energy_notify_session.h11 #include "device/bluetooth/bluetooth_gatt_notify_session.h"
17 // An ApiResource wrapper for a device::BluetoothGattNotifySession
23 scoped_ptr<device::BluetoothGattNotifySession> session);
27 device::BluetoothGattNotifySession* GetSession() const;
47 scoped_ptr<device::BluetoothGattNotifySession> session_;
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dandroid_prebuilt_profiler_helper.py21 def InstallOnDevice(device, profiler_binary):
29 device.PushChangedFiles(host_path, device_binary_path)
30 device.RunShellCommand('chmod 777 ' + device_binary_path)
/external/e2fsprogs/misc/
H A Dfsck.h41 char *device; member in struct:fs_info
64 char * device; member in struct:fsck_instance
69 extern char *base_device(const char *device);

Completed in 962 milliseconds

1234567891011>>