Lines Matching refs:in_use
88 if (!p_cb->hid_srvc.in_use) return; in bta_hh_le_hid_report_dbg()
95 if (!p_rpt->in_use) break; in bta_hh_le_hid_report_dbg()
259 p_cb->in_use = true; in bta_hh_le_open_conn()
277 if (p_dev_cb->in_use && p_dev_cb->conn_id == conn_id) return p_dev_cb; in bta_hh_le_find_dev_cb_by_conn_id()
294 if (p_dev_cb->in_use && p_dev_cb->addr == bda) return p_dev_cb; in bta_hh_le_find_dev_cb_by_bda()
308 if (p_cb->hid_srvc.in_use && p_cb->hid_srvc.incl_srvc_inst == ba_inst_id) { in bta_hh_le_find_service_inst_by_battery_inst_id()
367 if (p_rpt->in_use && p_rpt->rpt_id == rpt_id && r_type == p_rpt->rpt_type) { in bta_hh_le_find_rpt_by_idtype()
407 if (!p_rpt->in_use || in bta_hh_le_find_alloc_report_entry()
410 if (!p_rpt->in_use) { in bta_hh_le_find_alloc_report_entry()
411 p_rpt->in_use = true; in bta_hh_le_find_alloc_report_entry()
704 for (i = p_cb->clt_cfg_idx; i < BTA_HH_LE_RPT_MAX && p_rpt->in_use; in bta_hh_le_write_rpt_clt_cfg()
853 if (p_cb->hid_srvc.in_use && p_cb->hid_srvc.proto_mode_handle != 0) { in bta_hh_le_get_protocol_mode()
969 if (!p_cb->hid_srvc.in_use) { in bta_hh_security_cmpl()
981 if (p_cb->app_id != 0 && p_cb->hid_srvc.in_use) { in bta_hh_security_cmpl()
1110 p_cb->in_use = true; in bta_hh_gatt_open()
1462 p_dev_cb->hid_srvc.in_use = true; in bta_hh_le_srvc_search_cmpl()
1917 if (p_cb->hid_srvc.in_use) { in bta_hh_le_get_dscp_act()
2078 p_cb->hid_srvc.in_use = true; in bta_hh_process_cache_rpt()