Searched refs:bta_hh_cb (Results 1 – 4 of 4) sorted by relevance
/external/bluetooth/bluedroid/bta/hh/ |
D | bta_hh_act.c | 75 memset(&bta_hh_cb, 0, sizeof(tBTA_HH_CB)); in bta_hh_api_enable() 83 bta_hh_cb.p_cback = p_data->api_enable.p_cback; in bta_hh_api_enable() 89 bta_hh_cb.kdev[xx].state = BTA_HH_IDLE_ST; in bta_hh_api_enable() 90 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable() 91 bta_hh_cb.kdev[xx].index = xx; in bta_hh_api_enable() 93 bta_hh_cb.cb_index[xx] = BTA_HH_MAX_KNOWN; in bta_hh_api_enable() 98 (* bta_hh_cb.p_cback)(BTA_HH_ENABLE_EVT, (tBTA_HH *)&status); in bta_hh_api_enable() 115 if (bta_hh_cb.p_cback == NULL) in bta_hh_api_disable() 119 if (!bta_hh_cb.cnt_num) in bta_hh_api_disable() 125 bta_hh_cb.w4_disable = TRUE; in bta_hh_api_disable() [all …]
|
D | bta_hh_utils.c | 67 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && in bta_hh_find_cb() 72 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb() 79 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb() 80 bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb() 81 bta_hh_cb.kdev[xx].state); in bta_hh_find_cb() 88 if (!bta_hh_cb.kdev[xx].in_use) in bta_hh_find_cb() 90 bdcpy(bta_hh_cb.kdev[xx].addr, bda); in bta_hh_find_cb() 118 bta_hh_cb.cb_index[p_cb->hid_handle] = BTA_HH_MAX_KNOWN; in bta_hh_clean_up_kdev() 252 tBTA_HH_KB_CB *p_kb = &bta_hh_cb.kb_cb; in bta_hh_parse_keybd_rpt() 408 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db() [all …]
|
D | bta_hh_main.c | 154 tBTA_HH_CB bta_hh_cb; variable 191 if (bta_hh_cb.p_cback != NULL) in bta_hh_sm_execute() 251 (* bta_hh_cb.p_cback)(cback_event, &cback_data); in bta_hh_sm_execute() 333 index = bta_hh_cb.cb_index[p_msg->layer_specific]; in bta_hh_hdl_event() 341 if (bta_hh_cb.kdev[index].in_use == FALSE) { in bta_hh_hdl_event() 348 index = bta_hh_cb.cb_index[p_msg->layer_specific]; in bta_hh_hdl_event() 351 p_cb = &bta_hh_cb.kdev[index]; in bta_hh_hdl_event()
|
D | bta_hh_int.h | 191 extern tBTA_HH_CB bta_hh_cb; 194 #define bta_hh_cb (*bta_hh_cb_ptr) macro
|