Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_utils.cc97 if (xx == BTA_HH_MAX_DEVICE) xx = BTA_HH_IDX_INVALID; in bta_hh_find_cb()
104 if (idx == BTA_HH_IDX_INVALID) { in bta_hh_get_cb()
128 bta_hh_cb.le_cb_index[le_hid_handle] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
134 bta_hh_cb.cb_index[p_cb->hid_handle] = BTA_HH_IDX_INVALID; in bta_hh_clean_up_kdev()
350 uint8_t index = BTA_HH_IDX_INVALID; in bta_hh_dev_handle_to_cb_idx()
Dbta_hh_main.cc308 uint8_t index = BTA_HH_IDX_INVALID; in bta_hh_hdl_event()
331 if ((index != BTA_HH_IDX_INVALID) && (!bta_hh_cb.kdev[index].in_use)) { in bta_hh_hdl_event()
332 index = BTA_HH_IDX_INVALID; in bta_hh_hdl_event()
341 if (index != BTA_HH_IDX_INVALID) p_cb = &bta_hh_cb.kdev[index]; in bta_hh_hdl_event()
Dbta_hh_le.cc186 bta_hh_cb.le_cb_index[xx] = BTA_HH_IDX_INVALID; in bta_hh_le_enable()
241 if (bta_hh_cb.le_cb_index[i] == BTA_HH_IDX_INVALID) in bta_hh_le_get_le_dev_hdl()
244 return BTA_HH_IDX_INVALID; in bta_hh_le_get_le_dev_hdl()
261 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_le_open_conn()
327 return BTA_HH_IDX_INVALID; in bta_hh_le_find_service_inst_by_battery_inst_id()
349 if (hid_inst_id == BTA_HH_IDX_INVALID) return NULL; in bta_hh_le_find_report_entry()
417 if (hid_inst_id == BTA_HH_IDX_INVALID) return NULL; in bta_hh_le_find_alloc_report_entry()
1156 if (p_cb->hid_handle == BTA_HH_IDX_INVALID) { in bta_hh_gatt_open()
Dbta_hh_act.cc105 bta_hh_cb.cb_index[xx] = BTA_HH_IDX_INVALID; in bta_hh_api_enable()
/packages/modules/Bluetooth/system/bta/include/
Dbta_hh_api.h85 #define BTA_HH_IDX_INVALID 0xff macro