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.c116 btif_hh_cb_t btif_hh_cb; variable
348 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_handle()
349 btif_hh_cb.devices[i].dev_handle == handle) in btif_hh_find_connected_dev_by_handle()
351 return &btif_hh_cb.devices[i]; in btif_hh_find_connected_dev_by_handle()
369 if (btif_hh_cb.devices[i].dev_status != BTHH_CONN_STATE_UNKNOWN && in btif_hh_find_dev_by_bda()
370 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_dev_by_bda()
372 return &btif_hh_cb.devices[i]; in btif_hh_find_dev_by_bda()
390 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_bda()
391 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_connected_dev_by_bda()
393 return &btif_hh_cb.devices[i]; in btif_hh_find_connected_dev_by_bda()
[all …]
/system/bt/btif/co/
Dbta_hh_co.c265 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_open()
296 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_UNKNOWN) { in bta_hh_co_open()
297 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_open()
304 btif_hh_cb.device_num++; in bta_hh_co_open()
356 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;