HomeSort by relevance Sort by last modified time
    Searched refs:device (Results 376 - 400 of 782) sorted by null

<<11121314151617181920>>

  /external/e2fsprogs/lib/ext2fs/
ismounted.c 87 * Do an extra check to see if this is the root device. We
90 * check if the given device has the same major/minor number
91 * as the device that the root directory is on.
234 * Check to see if we're dealing with the swap device.
281 * ext2fs_check_mount_point() fills determines if the device is
285 * non-NULL, the directory where the device is mounted is copied to
291 errcode_t ext2fs_check_mount_point(const char *device, int *mount_flags,
298 if (is_swap_device(device)) {
303 retval = check_mntent(device, mount_flags, mtpt, mtlen);
306 retval = check_getmntinfo(device, mount_flags, mtpt, mtlen)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/nto/
SDL_nto_audio.c 52 /* Open the audio device for playback, and don't block if busy */
168 static void NTO_DeleteAudioDevice(SDL_AudioDevice *device)
170 if ((device)&&(device->hidden))
172 SDL_free(device->hidden);
174 if (device)
176 SDL_free(device);
366 /* Open the audio device */
  /frameworks/base/libs/binder/
MemoryHeapPmem.cpp 132 char const * const device = pmemHeap->getDevice();
134 if (device) {
135 int fd = open(device, O_RDWR | (flags & NO_CACHING ? O_SYNC : 0));
136 LOGE_IF(fd<0, "couldn't open %s (%s)", device, strerror(errno));
150 device);
161 device);
  /external/blktrace/
blkiomon.c 121 fprintf(debug.fp, "device %16d\n", bit->device);
148 fprintf(debug.fp, "device %16d %16d\n", bit1->device, bit2->device);
167 "blkiomon: could not allocate device statistic");
175 static struct dstat *blkiomon_find_dstat(struct rb_search *search, __u32 device)
186 if (dstat->msg.stat.device < device)
188 else if (dstat->msg.stat.device > device
    [all...]
  /device/htc/passion-common/libsensors/
sensors.c 80 struct sensors_control_device_t device; // must be first member in struct:sensors_control_context_t
88 struct sensors_data_device_t device; // must be first member in struct:sensors_data_context_t
145 struct hw_device_t** device);
983 /** Open a new instance of a sensor device using name */
985 struct hw_device_t** device)
995 dev->device.common.tag = HARDWARE_DEVICE_TAG;
996 dev->device.common.version = 0;
997 dev->device.common.module = module;
998 dev->device.common.close = control__close;
999 dev->device.open_data_source = control__open_data_source
    [all...]
  /external/blktrace/btt/
inlines.h 126 if (remapper_dev(dip->device))
163 iop->dip = dip_alloc(iop->t.device, iop);
202 if (remapper_dev(iop->dip->device))
210 if (remapper_dev(iop->dip->device))
369 MAJOR(iop->t.device), MINOR(iop->t.device), type2c(iop->type),
379 MAJOR(a_iop->t.device), MINOR(a_iop->t.device),
381 t_sec(&a_iop->t), MAJOR(l_iop->t.device),
382 MINOR(l_iop->t.device), (unsigned long long)l_iop->t.sector)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/alsa/
SDL_alsa_audio.c 174 const char *device; local
176 device = SDL_getenv("AUDIODEV"); /* Is there a standard variable name? */
177 if ( device == NULL ) {
178 if (channels == 6) device = "surround51";
179 else if (channels == 4) device = "surround40";
180 else device = DEFAULT_DEVICE;
182 return device;
206 static void Audio_DeleteDevice(SDL_AudioDevice *device)
208 SDL_free(device->hidden);
209 SDL_free(device);
    [all...]
  /external/qemu/hw/
bt-hci.c 76 struct bt_device_s device; member in struct:bt_hci_s
82 #define hci_from_device(ptr) container_of((ptr), struct bt_hci_s, device)
590 for (slave = hci->device.net->slave; slave; slave = slave->next)
592 if (slave != &hci->device)
595 /* TODO: register for a callback on a new device's addition to the
682 for (slave = hci->device.net->slave; slave; slave = slave->next)
685 if (!slave || slave == &hci->device)
691 link.host = &hci->device;
701 .slave = &hci->device,
747 link->btlink.slave = &hci->device;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppTransfer.java 65 * This class run an actual Opp transfer session (from connect target device to
365 * 3) new a thread to connect to target device
366 * 3.1) Try a few times to do SDP query for target device OPUSH channel
557 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
558 if (V) Log.v(TAG, "ACTION_UUID for device " + device);
559 if (device.equals(mBatch.mDestination)) {
568 if (V) Log.v(TAG, "SDP get OPP result for device " + device);
585 private final BluetoothDevice device; field in class:BluetoothOppTransfer.SocketConnectThread
    [all...]
BluetoothOppManager.java 253 * Get device name per bluetooth address.
255 public String getDeviceName(BluetoothDevice device) {
258 deviceName = BluetoothOppPreference.getInstance(mContext).getName(device);
261 deviceName = device.getName();
280 public void startTransfer(BluetoothDevice device) {
296 insertThread = new InsertShareInfoThread(device, mMultipleFlag, mMimeTypeOfSendigFile,
311 * share to one device (say device 1), and then right away share to second
312 * device (device 2), we need insert all these share info to db
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/windx5/
SDL_dx5video.c 558 SDL_VideoDevice *device; local
566 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
567 if ( device ) {
568 SDL_memset(device, 0, (sizeof *device));
569 device->hidden = (struct SDL_PrivateVideoData *)
570 SDL_malloc((sizeof *device->hidden));
571 device->gl_data = (struct SDL_PrivateGLData *)
572 SDL_malloc((sizeof *device->gl_data));
574 if ( (device == NULL) || (device->hidden == NULL) |
    [all...]
  /system/core/fastboot/
usb_osx.c 52 /** An open usb device */
95 // Get an iterator for the interfaces on the device
99 ERR("Couldn't create a device interface iterator: (%08x)\n", kr);
259 /** Try out the given device and see if there's a match. Returns 0 on
262 static int try_device(io_service_t device, usb_handle *handle) {
271 kr = IOCreatePlugInInterfaceForService(device,
281 // Now create the device interface.
285 ERR("Couldn't create a device interface (%08x)\n", (int) result);
290 * We don't need the intermediate interface after the device interface
295 // So, we have a device, finally. Grab its vitals
414 io_service_t device = IOIteratorNext(iterator); local
    [all...]
  /external/libpcap/
pcap-dlpi.c 460 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
494 ** Remove any "/dev/" on the front of the device.
496 cp = strrchr(device, '/');
498 strlcpy(dname, device, sizeof(dname));
503 * Split the device name into a device type name and a unit number;
504 * chop off the unit number, so "dname" is just a device type name.
512 * Use "/dev/dlpi" as the device.
519 * search "/dev" for the appropriate device with that major
520 * device number, rather than hardwiring "/dev/dlpi"
    [all...]
pcap-dag.c 85 /* This code is required when compiling for a DAG device only. */
486 * Get a handle for a live capture from the given DAG device. Passing a NULL
487 * device will result in a failure. The promisc flag is ignored because DAG
497 dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf)
511 if (device == NULL) {
512 snprintf(ebuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno));
519 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc %s: %s", device, pcap_strerror(errno));
528 newDev = (char *)malloc(strlen(device) + 16);
530 snprintf(ebuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_strerror(errno));
534 /* Parse input name to get dag device and stream number if provided *
    [all...]
  /hardware/msm7k/libgralloc/
gralloc.cpp 57 alloc_device_t device; member in struct:gralloc_context_t
67 hw_device_t** device);
70 hw_device_t** device);
577 hw_device_t** device)
588 dev->device.common.tag = HARDWARE_DEVICE_TAG;
589 dev->device.common.version = 0;
590 dev->device.common.module = const_cast<hw_module_t*>(module);
591 dev->device.common.close = gralloc_close;
593 dev->device.alloc = gralloc_alloc;
594 dev->device.free = gralloc_free
    [all...]
  /frameworks/base/core/java/android/view/
KeyCharacterMap.java 32 * The id of the device's primary built in keyboard is always 0.
267 int device = mKeyboardDevice; local
275 KeyEvent.KEYCODE_ALT_LEFT, 0, meta, device, 0);
281 KeyEvent.KEYCODE_SHIFT_LEFT, 0, meta, device, 0);
287 KeyEvent.KEYCODE_SYM, 0, meta, device, 0);
293 key, 0, meta, device, 0);
296 key, 0, meta, device, 0);
302 KeyEvent.KEYCODE_ALT_LEFT, 0, meta, device, 0);
308 KeyEvent.KEYCODE_SHIFT_LEFT, 0, meta, device, 0);
314 KeyEvent.KEYCODE_SYM, 0, meta, device, 0)
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
AndroidDebugBridge.java 43 * ADB_SERVER_VERSION found in //device/tools/adb/adb.h
114 * Sent when the a device is connected to the {@link AndroidDebugBridge}.
117 * @param device the new device.
119 public void deviceConnected(IDevice device);
122 * Sent when the a device is connected to the {@link AndroidDebugBridge}.
125 * @param device the new device.
127 public void deviceDisconnected(IDevice device);
130 * Sent when a device data changed, or when clients are started/terminated on the device
    [all...]
  /cts/tools/host/src/com/android/cts/
TestSuite.java 266 * in the test suite over device given.
268 * @param device The device to run the test over.
271 public void run(final TestDevice device, final String javaPkgName)
282 mCurrentSubSuite.run(device, javaPkgName);
290 mCurrentTestCase.run(device);
296 * Run the specific test contained in the test suite over device given.
298 * @param device The device to run the test over.
301 public void run(final TestDevice device, final Test test
    [all...]
  /external/dhcpcd/
bpf.c 66 char *device; local
69 device = xmalloc(sizeof(char) * PATH_MAX);
71 snprintf(device, PATH_MAX, "/dev/bpf%d", n++);
72 fd = open(device, O_RDWR | O_NONBLOCK);
74 free(device);
  /system/core/debuggerd/
getevent.c 19 static int open_device(const char *device)
30 fd = open(device, O_RDWR);
45 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno));
49 //fprintf(stderr, "could not get location for %s, %s\n", device, strerror(errno));
53 //fprintf(stderr, "could not get idstring for %s, %s\n", device, strerror(errno));
71 device_names[nfds] = strdup(device);
77 int close_device(const char *device)
81 if(strcmp(device_names[i], device) == 0) {
  /external/skia/src/core/
SkBlitter.cpp 549 virtual bool setContext(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix)
552 return fProxy->setContext(device, paint, matrix);
556 return this->INHERITED::setContext(device, paint, matrix);
855 SkBlitter* SkBlitter::Choose(const SkBitmap& device,
864 // which check, in case we're being called by a client with a dummy device
866 if (SkBitmap::kNo_Config == device.getConfig())
885 switch (interpret_xfermode(paint, mode, device.config())) {
913 if (shader && !shader->setContext(device, paint, matrix)) {
917 switch (device.getConfig()) {
919 SK_PLACEMENT_NEW_ARGS(blitter, SkA1_Blitter, storage, storageSize, (device, paint))
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/dmedia/
SDL_irixaudio.c 61 static void Audio_DeleteDevice(SDL_AudioDevice *device)
63 SDL_free(device->hidden);
64 SDL_free(device);
  /external/qemu/distrib/sdl-1.2.12/src/audio/esd/
SDL_esdaudio.c 138 static void Audio_DeleteDevice(SDL_AudioDevice *device)
140 SDL_free(device->hidden);
141 SDL_free(device);
  /external/qemu/distrib/sdl-1.2.12/src/audio/macosx/
SDL_coreaudio.c 47 static void Audio_DeleteDevice(SDL_AudioDevice *device)
49 SDL_free(device->hidden);
50 SDL_free(device);
  /external/qemu/
net.h 121 int net_client_init(Monitor *mon, const char *device, const char *p);
129 void net_host_device_add(Monitor *mon, const char *device, const char *opts);
130 void net_host_device_remove(Monitor *mon, int vlan_id, const char *device);

Completed in 477 milliseconds

<<11121314151617181920>>