Home
last modified time | relevance | path

Searched refs:btif_hh_cb (Results 1 – 3 of 3) sorted by relevance

/system/bt/btif/src/
Dbtif_hh.c112 btif_hh_cb_t btif_hh_cb; variable
338 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_handle()
339 btif_hh_cb.devices[i].dev_handle == handle) in btif_hh_find_connected_dev_by_handle()
341 return &btif_hh_cb.devices[i]; in btif_hh_find_connected_dev_by_handle()
359 if (btif_hh_cb.devices[i].dev_status != BTHH_CONN_STATE_UNKNOWN && in btif_hh_find_dev_by_bda()
360 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_dev_by_bda()
362 return &btif_hh_cb.devices[i]; in btif_hh_find_dev_by_bda()
380 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_bda()
381 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_connected_dev_by_bda()
383 return &btif_hh_cb.devices[i]; in btif_hh_find_connected_dev_by_bda()
[all …]
/system/bt/btif/co/
Dbta_hh_co.c290 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_open()
323 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_UNKNOWN) { in bta_hh_co_open()
324 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_open()
331 btif_hh_cb.device_num++; in bta_hh_co_open()
384 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_close()
/system/bt/btif/include/
Dbtif_hh.h100 extern btif_hh_cb_t btif_hh_cb;