Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_hh.c338 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && 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()
380 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_CONNECTED && in btif_hh_find_connected_dev_by_bda()
506 p_dev->dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_remove_device()
563 if ((p_dev != NULL) && (p_dev->dev_status == BTHH_CONN_STATE_CONNECTED) in btif_hh_virtual_unplug()
734 btif_hh_cb.devices[i].dev_status = BTHH_CONN_STATE_UNKNOWN; in btif_hh_upstreams_evt()
770 p_dev->dev_status = BTHH_CONN_STATE_CONNECTED; in btif_hh_upstreams_evt()
771 … HAL_CBACK(bt_hh_callbacks, connection_state_cb,&(p_dev->bd_addr), p_dev->dev_status); in btif_hh_upstreams_evt()
784 p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED; in btif_hh_upstreams_evt()
793 p_data->dev_status.status, p_data->dev_status.handle); in btif_hh_upstreams_evt()
[all …]
/system/bt/btif/co/
Dbta_hh_co.c291 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && in bta_hh_co_open()
296 p_dev->dev_status); in bta_hh_co_open()
323 if (btif_hh_cb.devices[i].dev_status == BTHH_CONN_STATE_UNKNOWN) { in bta_hh_co_open()
355 p_dev->dev_status = BTHH_CONN_STATE_CONNECTED; in bta_hh_co_open()
356 APPL_TRACE_DEBUG("%s: Return device status %d", __FUNCTION__, p_dev->dev_status); in bta_hh_co_open()
385 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && p_dev->dev_handle == dev_handle) { in bta_hh_co_close()
388 ,__FUNCTION__,p_dev->dev_status in bta_hh_co_close()
/system/bt/bta/hh/
Dbta_hh_main.c328 cback_data.dev_status.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
329 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
351 cback_data.dev_status.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
352 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
/system/bt/btif/include/
Dbtif_hh.h60 bthh_connection_state_t dev_status; member
/system/bt/bta/include/
Dbta_hh_api.h297 tBTA_HH_CBDATA dev_status; /* BTA_HH_CLOSE_EVT, member