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.cc111 btif_hh_cb_t btif_hh_cb; variable
333 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_handle()
334 btif_hh_cb.devices[i].dev_handle == handle) { in btif_hh_find_connected_dev_by_handle()
335 return &btif_hh_cb.devices[i]; in btif_hh_find_connected_dev_by_handle()
352 if (btif_hh_cb.devices[i].dev_status != BTHH_CONN_STATE_UNKNOWN && in btif_hh_find_dev_by_bda()
353 btif_hh_cb.devices[i].bd_addr == bd_addr) { in btif_hh_find_dev_by_bda()
354 return &btif_hh_cb.devices[i]; in btif_hh_find_dev_by_bda()
373 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_bda()
374 btif_hh_cb.devices[i].bd_addr == bd_addr) { in btif_hh_find_connected_dev_by_bda()
375 return &btif_hh_cb.devices[i]; in btif_hh_find_connected_dev_by_bda()
[all …]
/system/bt/btif/include/
Dbtif_hh.h101 extern btif_hh_cb_t btif_hh_cb;
/system/bt/btif/co/
Dbta_hh_co.cc304 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_open()
335 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_UNKNOWN) { in bta_hh_co_open()
336 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_open()
343 btif_hh_cb.device_num++; in bta_hh_co_open()
399 p_dev = &btif_hh_cb.devices[i]; in bta_hh_co_close()