HomeSort by relevance Sort by last modified time
    Searched refs:dev_id (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/bluetooth/bluez/tools/
hcitool.c 60 static int dev_info(int s, int dev_id, long arg)
62 struct hci_dev_info di = { dev_id: dev_id };
114 static int conn_list(int s, int dev_id, long arg)
121 if (id != -1 && dev_id != id)
128 cl->dev_id = dev_id;
152 static int find_conn(int s, int dev_id, long arg)
162 cl->dev_id = dev_id;
2956 int opt, i, dev_id = -1; local
    [all...]
ciptool.c 131 static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigned short psm, uint32_t flags)
140 hci_devinfo(dev_id, &di);
229 int i, dev_id, num_rsp, length, flags; local
234 dev_id = hci_devid(addr);
235 if (dev_id < 0) {
236 dev_id = hci_get_route(NULL);
237 hci_devba(dev_id, &src);
247 num_rsp = hci_inquiry(dev_id, length, num_rsp, NULL, &info, flags);
262 do_connect(ctl, dev_id, &src, &dst, psm, 0);
276 int dev_id; local
342 int dev_id, sk; local
    [all...]
hciattach_ti.c 499 int dev_id, dd, ret = 0; local
503 dev_id = ioctl(fd, HCIUARTGETDEVICE, 0);
504 if (dev_id < 0) {
509 DPRINTF("\nAdded device hci%d\n", dev_id);
511 dd = hci_open_dev(dev_id);
517 if (ioctl(dd, HCIDEVUP, dev_id) < 0 && errno != EALREADY) {
518 fprintf(stderr, "Can't init device hci%d: %s (%d)", dev_id,
rfcomm.c 157 req.dev_id = dev;
209 req.dev_id = i;
228 req.dev_id = dev;
392 req.dev_id = dev;
474 req.dev_id = dev;
550 req.dev_id = dev;
640 req.dev_id = dev;
749 int i, opt, ctl, dev_id, show_all = 0; local
828 dev_id = atoi(argv[1] + 11);
830 dev_id = atoi(argv[1] + 6)
    [all...]
hciconfig.c 74 di.dev_id = (dr+i)->dev_id;
79 int dd = hci_open_dev(di.dev_id);
182 dr.dev_id = hdev;
384 dr.dev_id = hdev;
401 dr.dev_id = hdev;
454 dr.dev_id = hdev;
472 dr.dev_id = hdev;
490 dr.dev_id = hdev;
506 struct hci_dev_req dr = { dev_id: hdev }
    [all...]
  /external/bluetooth/bluez/test/
test-audio 13 type="string", dest="dev_id"),
19 if options.dev_id:
20 adapter_path = manager.FindAdapter(options.dev_id)
test-input 13 type="string", dest="dev_id"),
19 if options.dev_id:
20 adapter_path = manager.FindAdapter(options.dev_id)
test-nap 15 type="string", dest="dev_id"),
21 if options.dev_id:
22 adapter_path = manager.FindAdapter(options.dev_id)
test-network 15 type="string", dest="dev_id"),
21 if options.dev_id:
22 adapter_path = manager.FindAdapter(options.dev_id)
test-serial 14 type="string", dest="dev_id"),
20 if options.dev_id:
21 adapter_path = manager.FindAdapter(options.dev_id)
test-service 14 type="string", dest="dev_id"),
20 if options.dev_id:
21 adapter_path = manager.FindAdapter(options.dev_id)
test-discovery 32 type="string", dest="dev_id"),
38 if options.dev_id:
39 adapter_path = manager.FindAdapter(options.dev_id)
test-adapter 14 type="string", dest="dev_id"),
20 if options.dev_id:
21 adapter_path = manager.FindAdapter(options.dev_id)
test-attrib 23 type="string", dest="dev_id"),
29 if options.dev_id:
30 adapter_path = manager.FindAdapter(options.dev_id)
test-telephony 13 type="string", dest="dev_id"),
19 if options.dev_id:
20 adapter_path = manager.FindAdapter(options.dev_id)
  /external/bluetooth/bluez/compat/
hidd.c 172 int err, dd, dev_id; local
175 dev_id = hci_devid(addr);
176 if (dev_id < 0)
177 return dev_id;
179 dd = hci_open_dev(dev_id);
208 int err, dd, dev_id; local
211 dev_id = hci_devid(addr);
212 if (dev_id < 0)
213 return dev_id;
215 dd = hci_open_dev(dev_id);
538 int i, dev_id, num_rsp, length, flags; local
    [all...]
  /external/bluetooth/bluez/lib/bluetooth/
rfcomm.h 70 int16_t dev_id; member in struct:rfcomm_dev_req
hci_lib.h 51 int hci_open_dev(int dev_id);
59 int hci_inquiry(int dev_id, int len, int num_rsp, const uint8_t *lap, inquiry_info **ii, long flags);
60 int hci_devinfo(int dev_id, struct hci_dev_info *di);
61 int hci_devba(int dev_id, bdaddr_t *bdaddr);
118 int hci_le_set_scan_enable(int dev_id, uint8_t enable, uint8_t filter_dup, int to);
119 int hci_le_set_scan_parameters(int dev_id, uint8_t type, uint16_t interval,
122 int hci_le_set_advertise_enable(int dev_id, uint8_t enable, int to);
138 int hci_for_each_dev(int flag, int(*func)(int dd, int dev_id, long arg), long arg);
  /system/bluetooth/bluez-clean-headers/bluetooth/
rfcomm.h 56 int16_t dev_id; member in struct:rfcomm_dev_req
  /frameworks/base/tests/backup/
test_restore.sh 93 dev_id=$(a get-serialno)
94 filename="${dev_id}_`date +%s`"
  /external/bluetooth/bluez/src/
manager.c 91 int dev_id; local
106 dev_id = atoi(pattern + 3);
107 adapter = manager_find_adapter_by_id(dev_id);
267 uint16_t dev_id = adapter_get_dev_id(adapter); local
274 if (default_adapter_id == dev_id || default_adapter_id < 0) {
303 uint16_t dev_id = adapter_get_dev_id(adapter); local
305 return dev_id == id ? 0 : -1;
adapter.c 110 uint16_t dev_id; member in struct:btd_adapter
195 static char *expand_name(char *dst, int size, char *str, int dev_id)
215 sprintf(buf, "%d", dev_id);
273 return adapter_ops->set_dev_class(adapter->dev_id, major, minor);
290 err = adapter_ops->cancel_resolve_name(adapter->dev_id, &dev->bdaddr);
322 err = adapter_ops->resolve_name(adapter->dev_id, &dev->bdaddr);
380 adapter_ops->set_limited_discoverable(adapter->dev_id, limited);
470 err = adapter_ops->set_discoverable(adapter->dev_id, FALSE);
472 err = adapter_ops->set_discoverable(adapter->dev_id, TRUE);
510 err = adapter_ops->set_powered(adapter->dev_id, TRUE)
    [all...]
  /external/qemu/
bt-host.c 150 int dev_id = hci_devid(id); local
153 if (dev_id < 0) {
158 fd = hci_open_dev(dev_id);
  /external/grub/netboot/
otulip.c 31 static unsigned short vendor, dev_id; variable
199 if (vendor == PCI_VENDOR_ID_MACRONIX && dev_id == PCI_DEVICE_ID_MX987x5) {
348 dev_id = pci->dev_id;
  /external/bluetooth/bluez/lib/
hci.c 812 int hci_for_each_dev(int flag, int (*func)(int dd, int dev_id, long arg),
817 int dev_id = -1; local
842 if (!func || func(sk, dr->dev_id, arg)) {
843 dev_id = dr->dev_id;
848 if (dev_id < 0)
858 return dev_id;
861 static int __other_bdaddr(int dd, int dev_id, long arg)
863 struct hci_dev_info di = { dev_id: dev_id };
    [all...]

Completed in 630 milliseconds

1 2 3 4