Home
last modified time | relevance | path

Searched refs:bacmp (Results 1 – 25 of 30) sorted by relevance

12

/external/bluetooth/bluez/src/
Dsdpd-database.c190 if (bacmp(device, BDADDR_ANY) == 0) { in sdp_record_add()
269 if (bacmp(&a->device, BDADDR_ANY) != 0) { in sdp_record_remove()
307 if (bacmp(&a->device, device) && in sdp_check_access()
308 bacmp(&a->device, BDADDR_ANY) && in sdp_check_access()
309 bacmp(device, BDADDR_ANY)) in sdp_check_access()
335 if (bacmp(BDADDR_ANY, &access->device)) in sdp_init_services_list()
Dglib-helper.c77 if (bacmp(&c->src, src) || bacmp(&c->dst, dst)) in get_sdp_session()
337 return (bacmp(&ctxt->dst, &search->dst) && in find_by_bdaddr()
338 bacmp(&ctxt->src, &search->src)); in find_by_bdaddr()
Dmanager.c316 return bacmp(&src, bdaddr); in adapter_cmp()
Dadapter.c166 if (bacmp(&d2->bdaddr, BDADDR_ANY)) { in found_device_cmp()
167 ret = bacmp(&d1->bdaddr, &d2->bdaddr); in found_device_cmp()
3072 if (bacmp(&adapter->bdaddr, BDADDR_ANY) == 0) { in adapter_init()
3849 if (bacmp(src, BDADDR_ANY) != 0) { in btd_request_authorization()
/external/bluetooth/bluez/tools/
Drfcomm.c114 if (bacmp(&di->src, BDADDR_ANY) == 0) in print_dev_info()
171 if (bacmp(&req.dst, BDADDR_ANY) == 0) { in create_dev()
215 if (bacmp(&req.dst, BDADDR_ANY) != 0) in create_all()
343 if (bacmp(&raddr.rc_bdaddr, BDADDR_ANY) == 0) { in cmd_connect()
Dhciconfig.c78 !bacmp(&di.bdaddr, BDADDR_ANY)) { in print_dev_list()
1873 bacmp(&di->bdaddr, BDADDR_ANY)) { in print_dev_info()
2003 !bacmp(&di.bdaddr, BDADDR_ANY)) { in main()
Dhcitool.c172 if (!bacmp((bdaddr_t *) arg, &ci->bdaddr)) { in find_conn()
2240 if (dev_id < 0 && !bacmp(&bdaddr, BDADDR_ANY)) in cmd_clock()
2257 if (bacmp(&bdaddr, BDADDR_ANY)) { in cmd_clock()
/external/bluetooth/bluez/test/
Dbdaddr.c376 if (!bacmp(&di.bdaddr, BDADDR_ANY)) { in main()
407 if (!bacmp(&bdaddr, BDADDR_ANY)) { in main()
Dattest.c165 if (bacmp(BDADDR_ANY, &bdaddr)) { in main()
Dhciemu.c238 if (!bacmp(&vconn[i]->dest, ba)) in conn_get_by_bdaddr()
1053 if (!bacmp(bdaddr, BDADDR_ANY)) in rewrite_bdaddr()
/external/bluetooth/bluez/audio/
Dmanager.c1294 if ((src && bacmp(src, BDADDR_ANY)) && bacmp(&dev->src, src)) in manager_find_device()
1297 if ((dst && bacmp(dst, BDADDR_ANY)) && bacmp(&dev->dst, dst)) in manager_find_device()
1386 if (bacmp(&dev->src, &device->src)) in manager_allow_headset_connection()
Da2dp.c1389 if (bacmp(&server->src, src) == 0) in find_server()
2358 if (bacmp(&src, &server->src) == 0) in a2dp_get_sep()
Dcontrol.c940 if (bacmp(&server->src, src) == 0) in find_server()
/external/bluetooth/hcidump/src/
Dcsrsniff.c225 if (!bacmp(&di.bdaddr, BDADDR_ANY)) { in main()
/external/bluetooth/bluez/lib/bluetooth/
Dbluetooth.h139 static inline int bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2) in bacmp() function
/external/bluetooth/bluez/input/
Dserver.c58 return bacmp(&server->src, src); in server_cmp()
Ddevice.c1151 if (!bacmp(&idev->src, src) && !bacmp(&idev->dst, dst)) in find_device()
/external/bluetooth/bluez/compat/
Ddun.c274 if (dst && bacmp(&di->dst, dst)) in kill_conn()
Dhidd.c602 if (!bacmp(bdaddr, BDADDR_ALL)) { in do_kill()
833 if (bacmp(&bdaddr, BDADDR_ANY)) in main()
Dsdp.c295 if (bacmp(&bdaddr, BDADDR_ANY)) in get_sdp_device_info()
/external/qemu/hw/
Dbt-hci.c681 if (slave->page_scan && !bacmp(&slave->bd_addr, bdaddr)) in bt_hci_connect()
816 if (!bacmp(&hci->lm.awaiting_bdaddr[i], bdaddr)) { in bt_hci_lmp_connection_ready()
949 if (slave->page_scan && !bacmp(&slave->bd_addr, bdaddr)) in bt_hci_name_req()
1597 !bacmp(&hci->lm.handle[i].link->slave->bd_addr, in bt_submit_hci()
1613 bacmp(&PARAM(accept_conn_req, bdaddr), in bt_submit_hci()
1628 bacmp(&PARAM(reject_conn_req, bdaddr), in bt_submit_hci()
/external/bluetooth/bluez/plugins/
Dpnat.c421 return bacmp(src, &server->bda); in server_cmp()
Dhciops.c752 return bacmp(&conn->bdaddr, bdaddr); in conn_bdaddr_cmp()
886 match = g_slist_find_custom(dev->keys, dba, (GCompareFunc) bacmp); in link_key_request()
939 match = g_slist_find_custom(dev->keys, dba, (GCompareFunc) bacmp); in link_key_notify()
1177 return bacmp(&data->bdaddr, bdaddr); in oob_bdaddr_cmp()
3269 match = g_slist_find_custom(dev->keys, bdaddr, (GCompareFunc) bacmp); in hciops_remove_bonding()
/external/bluetooth/bluez/lib/
Dhci.c871 return bacmp((bdaddr_t *) arg, &di.bdaddr); in __other_bdaddr()
881 return !bacmp((bdaddr_t *) arg, &di.bdaddr); in __same_bdaddr()
1189 if (bacmp(&rn->bdaddr, &cp->bdaddr)) in hci_send_req()
/external/bluetooth/bluez/network/
Dserver.c136 if (!bacmp(&session->dst, &dst_addr)) { in find_session_by_addr()

12