HomeSort by relevance Sort by last modified time
    Searched defs:device (Results 126 - 150 of 458) sorted by null

1 2 3 4 56 7 8 91011>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DevicePickerActivity.java 44 * {@link Activity} that shows a list of paired and new devices and returns the device selected
45 * by the user. When the user selects a paired device, it forwards them to the Bluetooth settings
58 private ArrayAdapter<Device> mNewDevicesAdapter;
60 private ArrayAdapter<Device> mPairedDevicesAdapter;
70 mPairedDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name);
78 mNewDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name);
134 for (BluetoothDevice device : pairedDevices) {
135 mPairedDevicesAdapter.add(Device.fromBluetoothDevice(device));
152 Device device = (Device) parent.getItemAtPosition(position) local
190 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local
    [all...]
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BasicAdapterTest.java 164 for (BluetoothDevice device : devices) {
165 assertTrue(BluetoothAdapter.checkBluetoothAddress(device.getAddress()));
189 BluetoothDevice device = adapter.getRemoteDevice("00:11:22:AA:BB:CC"); local
190 assertNotNull(device);
191 assertEquals("00:11:22:AA:BB:CC", device.getAddress());
  /development/ndk/platforms/android-3/include/linux/
msm_audio.h 58 uint32_t device; member in struct:msm_snd_device_config
68 uint32_t device; member in struct:msm_snd_volume_config
  /development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
MissileLauncherActivity.java 99 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); local
101 setDevice(device);
103 if (mDevice != null && mDevice.equals(device)) {
114 private void setDevice(UsbDevice device) {
115 Log.d(TAG, "setDevice " + device);
116 if (device.getInterfaceCount() != 1) {
120 UsbInterface intf = device.getInterface(0);
121 // device should have one endpoint
132 mDevice = device;
134 if (device != null)
    [all...]
  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DeviceListFragment.java 48 private WifiP2pDevice device; field in class:DeviceListFragment
64 * @return this device
67 return device;
94 WifiP2pDevice device = (WifiP2pDevice) getListAdapter().getItem(position); local
95 ((DeviceActionListener) getActivity()).showDetails(device);
125 WifiP2pDevice device = items.get(position); local
126 if (device != null) {
130 top.setText(device.deviceName);
133 bottom.setText(getDeviceStatus(device.status));
143 * Update UI for this device
    [all...]
  /device/generic/goldfish/audio/
AudioHardwareGeneric.cpp 273 int device; local
276 if (param.getInt(key, device) == NO_ERROR) {
277 mDevice = device;
345 LOGE("Attempt to read from unopened device");
381 int device; local
384 if (param.getInt(key, device) == NO_ERROR) {
385 mDevice = device;
  /device/samsung/crespo/libhwcomposer/
SecHWCUtils.h 112 hwc_composer_device_t device; member in struct:hwc_context_t
  /device/samsung/tuna/libsensors/
sensors.cpp 96 struct hw_device_t** device);
126 struct sensors_poll_device_t device; // must be first member in struct:sensors_poll_context_t
368 /** Open a new instance of a sensor device using name */
370 struct hw_device_t** device)
376 memset(&dev->device, 0, sizeof(sensors_poll_device_t));
378 dev->device.common.tag = HARDWARE_DEVICE_TAG;
379 dev->device.common.version = 0;
380 dev->device.common.module = const_cast<hw_module_t*>(module);
381 dev->device.common.close = poll__close;
382 dev->device.activate = poll__activate
    [all...]
  /device/samsung/tuna/recovery/
bootloader.c 37 // A combination of these defines the specification of the device.
62 int device; /* PARTITION_DEV_TYPE_ */ member in struct:pit_partinfo
100 // Get the specifications for this device
254 // device to hold a backup copy of the GPT, so we subtract that number.
  /external/bluetooth/bluez/audio/
gsta2dpsink.c 54 "Plays audio to an A2DP device",
172 if (self->device != NULL)
173 g_free(self->device);
174 self->device = g_value_dup_string(value);
205 gchar *device, *transport; local
210 device = gst_avdtp_sink_get_device(self->sink);
211 if (device != NULL)
212 g_value_take_string(value, device);
247 /* the getcaps of our ghostpad must reflect the device caps */
300 if (self->device != NULL
    [all...]
sink.c 41 #include "device.h"
49 #include "../src/device.h"
465 struct audio_device *device = data; local
466 struct sink *sink = device->sink;
500 struct audio_device *device = data; local
501 struct sink *sink = device->sink;
508 "Device not Connected");
534 struct audio_device *device = data; local
535 struct sink *sink = device->sink;
542 "Device not Connected")
569 struct audio_device *device = data; local
589 struct audio_device *device = data; local
    [all...]
source.c 42 #include "device.h"
50 #include "../src/device.h"
416 struct audio_device *device = data; local
417 struct source *source = device->source;
451 struct audio_device *device = data; local
452 struct source *source = device->source;
  /external/bluetooth/bluez/serial/
port.c 57 #include "device.h"
70 char *path; /* Device path */
76 int16_t id; /* RFCOMM device id */
79 char *dev; /* RFCOMM device name */
83 struct serial_device *device; member in struct:serial_port
93 struct serial_device *device = l->data; local
95 if (!strcmp(device->path, path))
96 return device;
152 bt_cancel_discovery(&port->device->src,
153 &port->device->dst)
194 struct serial_device *device = port->device; local
224 struct serial_device *device = data; local
241 struct serial_device *device = port->device; local
304 struct serial_device *device = port->device; local
363 struct serial_device *device = port->device; local
423 struct serial_device *device = port->device; local
472 struct serial_device *device = user_data; local
517 struct serial_device *device = user_data; local
555 struct serial_device *device; local
582 struct serial_device *device; local
610 struct serial_device *device; local
    [all...]
  /external/bluetooth/bluez/src/
event.c 53 #include "device.h"
65 struct btd_device **device,
80 *device = adapter_get_device(conn, *adapter, peer_addr);
82 *device = adapter_find_device(*adapter, peer_addr);
84 if (create && !*device) {
85 error("Unable to get device object!");
95 * level events(eg: device attached/dettached.
127 const char *pincode, struct btd_device *device)
129 struct btd_adapter *adapter = device_get_adapter(device);
135 device_get_address(device, &dba)
158 struct btd_device *device; local
188 struct btd_device *device = user_data; local
198 struct btd_device *device = user_data; local
213 struct btd_device *device; local
225 struct btd_device *device; local
237 struct btd_device *device; local
249 struct btd_device *device; local
262 struct btd_device *device; local
280 struct btd_device *device; local
362 struct btd_device *device; local
386 struct btd_device *device; local
444 struct btd_device *device; local
467 struct btd_device *device; local
480 struct btd_device *device; local
498 struct btd_device *device; local
516 struct btd_device *device; local
    [all...]
sdpd-database.c 51 bdaddr_t device; member in struct:__anon1881
171 void sdp_record_add(const bdaddr_t *device, sdp_record_t *rec)
185 bacpy(&dev->device, device);
190 if (bacmp(device, BDADDR_ANY) == 0) {
195 adapter = manager_find_adapter(device);
269 if (bacmp(&a->device, BDADDR_ANY) != 0) {
270 struct btd_adapter *adapter = manager_find_adapter(&a->device);
295 int sdp_check_access(uint32_t handle, bdaddr_t *device)
307 if (bacmp(&a->device, device) &
    [all...]
  /external/bluetooth/bluez/test/
agent.c 102 printf("Pincode request for device %s\n", path);
149 printf("Passkey request for device %s\n", path);
196 printf("Confirmation request of %u for device %s\n", passkey, path);
420 const char *device)
433 dbus_message_append_args(msg, DBUS_TYPE_STRING, &device,
567 "\tagent [--adapter adapter-path] [--path agent-path] <passkey> [<device>]\n"
587 char *adapter_path = NULL, *agent_path = NULL, *device = NULL; local
634 device = strdup(argv[1]);
655 if (device) {
657 capabilities, device) < 0)
    [all...]
  /external/bluetooth/bluez/tools/
dfutool.c 106 printf("Bus %s Device %s: ID %04x:%04x Interface %d%s\n",
113 static struct usb_dev_handle *open_device(char *device, struct dfu_suffix *suffix)
165 printf("\rSelect device (abort with 0): ");
182 printf("Can't open device: %s (%d)\n", strerror(errno), errno);
222 printf("Device is not idle, can't detach it (state %d)\n", status.bState);
226 printf("Switching device into DFU mode ... ");
236 printf("\rCan't detach device: %s (%d)\n", strerror(errno), errno);
276 printf("\rCan't identify device with DFU mode\n");
286 printf("Can't open device: %s (%d)\n", strerror(errno), errno);
302 printf("Device is not in DFU mode, can't use it\n")
753 char *device = NULL; local
    [all...]
  /external/chromium/webkit/glue/media/
video_renderer_impl.cc 131 SkDevice* device = canvas->getDevice(); local
133 // Get the boundary of the device.
135 device->getBounds(&device_rect);
137 // Get the pixel config of the device.
138 const SkBitmap::Config config = device->config();
145 if (config == SkBitmap::kARGB_8888_Config && device->isOpaque() &&
  /external/e2fsprogs/lib/blkid/
devname.c 2 * devname.c - get a dev by its device inode name
43 * Find a dev struct in the cache by device name, if available.
45 * If there is no entry with the specified device name, and the create
46 * flag is set, then create an empty device entry.
85 * If the device is verified, then search the blkid
120 /* Directories where we will try to search for device names */
157 * provides the real DM device names in /sys/block/<ptname>/dm/name
180 * Probe a single block device to add to the device cache.
190 /* See if we already have this device number in the cache. *
225 char device[256]; local
370 char device[110]; local
    [all...]
  /external/e2fsprogs/misc/
e2initrd_helper.c 54 char *device; member in struct:fs_info
67 _("Usage: %s -r device\n"), program_name);
235 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp; local
241 device = parse_word(&cp);
248 if (!device)
254 parse_escape(device);
261 dev = blkid_get_devname(cache, device, NULL);
263 device = dev;
268 fs->device = string_copy(device);
    [all...]
  /external/grub/netboot/
pci.c 403 unsigned short vendor, device; local
419 else if (!(hdr_type & 0x80)) /* not a multi-function device */
428 device = (l >> 16) & 0xffff;
431 printf("bus %hhX, function %hhX, vendor %hX, device %hX\n",
432 bus, devfn, vendor, device);
436 || device != pcidev[i].dev_id)
481 * Set device to be a busmaster in case BIOS neglected to do so.
492 printf("The PCI BIOS has not enabled this device!\nUpdating PCI command %hX->%hX. pci_bus %hhX pci_device_fn %hhX\n",
  /external/kernel-headers/original/linux/
dmaengine.h 26 #include <linux/device.h>
34 * @DMA_RESOURCE_SUSPEND: DMA device going into low power state
35 * @DMA_RESOURCE_RESUME: DMA device returning to full power
36 * @DMA_RESOURCE_ADDED: DMA device added to the system
37 * @DMA_RESOURCE_REMOVED: DMA device removed from the system
84 * @device: ptr to the dma device who supplies this channel, always !%NULL
87 * @class_dev: class device for sysfs
92 * @device_node: used to add this to the device chan list
97 struct dma_device *device; member in struct:dma_chan
    [all...]
msm_audio.h 66 uint32_t device; member in struct:msm_snd_device_config
76 uint32_t device; member in struct:msm_snd_volume_config
  /external/libpcap/
inet.c 111 * Give the "any" device an artificially high instance
160 * On OS X, we don't do this check if the device
163 * a separate "monitor mode" device for each wireless
166 * Opening that device puts the adapter into monitor
172 * device (so that we don't end up with, for users
184 * device's name.
378 * Device wasn't added because it can't be opened.
556 static char device[IF_NAMESIZE + 1]; local
564 * There are no devices on the list, or the first device
565 * on the list is a loopback device, which means ther
    [all...]
pcap-bpf.c 61 #include <sys/device.h>
121 * "ps_drop" counts packets dropped inside the BPF device
527 static const char device[] = "/dev/bpf"; local
530 char device[sizeof "/dev/bpf0000000000"]; local
536 * and create the BPF device entries, if they don't
544 if ((fd = open(device, O_RDWR)) == -1 &&
545 (errno != EACCES || (fd = open(device, O_RDONLY)) == -1))
547 "(cannot open device) %s: %s", device, pcap_strerror(errno));
553 (void)snprintf(device, sizeof(device), "/dev/bpf%d", n++)
    [all...]

Completed in 1373 milliseconds

1 2 3 4 56 7 8 91011>>