Home
last modified time | relevance | path

Searched refs:dev_status (Results 1 – 6 of 6) sorted by relevance

/system/bt/btif/src/
Dbtif_hh.cc333 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && 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()
373 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_bda()
485 p_dev->dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_remove_device()
538 if ((p_dev != NULL) && (p_dev->dev_status == BTHH_CONN_STATE_CONNECTED) && in btif_hh_virtual_unplug()
547 (p_dev->dev_status == BTHH_CONN_STATE_CONNECTED)) { in btif_hh_virtual_unplug()
768 btif_hh_cb.devices[i].dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_upstreams_evt()
816 p_dev->dev_status = BTHH_CONN_STATE_CONNECTED; in btif_hh_upstreams_evt()
818 p_dev->dev_status); in btif_hh_upstreams_evt()
830 p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED; in btif_hh_upstreams_evt()
[all …]
/system/bt/btif/co/
Dbta_hh_co.cc305 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && in bta_hh_co_open()
311 __func__, p_dev->dev_status, p_dev->bd_addr.ToString().c_str(), in bta_hh_co_open()
335 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_UNKNOWN) { in bta_hh_co_open()
367 p_dev->dev_status = BTHH_CONN_STATE_CONNECTED; in bta_hh_co_open()
371 APPL_TRACE_DEBUG("%s: Return device status %d", __func__, p_dev->dev_status); in bta_hh_co_open()
403 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && in bta_hh_co_close()
408 __func__, p_dev->dev_status, p_dev->dev_handle); in bta_hh_co_close()
/system/bt/bta/hh/
Dbta_hh_main.cc277 cback_data.dev_status.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
278 cback_data.dev_status.handle = in bta_hh_sm_execute()
298 cback_data.dev_status.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
299 cback_data.dev_status.handle = in bta_hh_sm_execute()
Dbta_hh_act.cc505 bta_hh.dev_status = disc_dat; in bta_hh_api_disc_act()
664 bta_hh_co_get_rpt_rsp(bta_hh.dev_status.handle, bta_hh.hs_data.status, in bta_hh_handsk_act()
674 bta_hh.dev_status.handle = p_cb->hid_handle; in bta_hh_handsk_act()
675 bta_hh.dev_status.status = in bta_hh_handsk_act()
678 bta_hh_co_set_rpt_rsp(bta_hh.dev_status.handle, in bta_hh_handsk_act()
679 bta_hh.dev_status.status); in bta_hh_handsk_act()
/system/bt/btif/include/
Dbtif_hh.h60 bthh_connection_state_t dev_status; member
/system/bt/bta/include/
Dbta_hh_api.h283 tBTA_HH_CBDATA dev_status; /* BTA_HH_CLOSE_EVT, member