Home
last modified time | relevance | path

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

/system/bt/bta/hh/
Dbta_hh_main.c279 tBTA_HH cback_data; in bta_hh_sm_execute() local
286 memset(&cback_data, 0, sizeof(tBTA_HH)); in bta_hh_sm_execute()
300 bdcpy(cback_data.conn.bda, ((tBTA_HH_API_CONN *)p_data)->bd_addr); in bta_hh_sm_execute()
301 cback_data.conn.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
302 cback_data.conn.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
310 bdcpy(cback_data.dev_info.bda, p_data->api_maintdev.bda); in bta_hh_sm_execute()
311 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
312 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
316 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
317 cback_data.dev_info.handle = (UINT8)p_data->api_maintdev.hdr.layer_specific; in bta_hh_sm_execute()
[all …]
Dbta_hh_le.c942 tBTA_HH_CBDATA cback_data; in bta_hh_le_set_protocol_mode() local
948 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
957 cback_data.status = BTA_HH_ERR; in bta_hh_le_set_protocol_mode()
963 cback_data.status = BTA_HH_OK; in bta_hh_le_set_protocol_mode()
967 p_cb->status = (cback_data.status == BTA_HH_OK)? BTA_HH_OK: BTA_HH_ERR_PROTO; in bta_hh_le_set_protocol_mode()
970 (* bta_hh_cb.p_cback)(BTA_HH_SET_PROTO_EVT, (tBTA_HH *)&cback_data); in bta_hh_le_set_protocol_mode()
1984 tBTA_HH_CBDATA cback_data ; in bta_hh_le_write_cmpl() local
2000 cback_data.handle = p_dev_cb->hid_handle; in bta_hh_le_write_cmpl()
2004 cback_data.status = BTA_HH_OK; in bta_hh_le_write_cmpl()
2007 cback_data.status = BTA_HH_ERR; in bta_hh_le_write_cmpl()
[all …]
Dbta_hh_act.c686 tBTA_HH_CBDATA cback_data ; in bta_hh_handsk_act() local
696 memset(&cback_data, 0, sizeof(tBTA_HH_CBDATA)); in bta_hh_handsk_act()
719 cback_data.handle = p_cb->hid_handle; in bta_hh_handsk_act()
720 cback_data.status = bta_hh_get_trans_status(p_data->hid_cback.data); in bta_hh_handsk_act()
721 (* bta_hh_cb.p_cback)(p_cb->w4_evt, (tBTA_HH *)&cback_data); in bta_hh_handsk_act()