Lines Matching refs:hid_srvc
255 if (!p_cb->hid_srvc.in_use) in bta_hh_le_hid_report_dbg()
258 tBTA_HH_LE_RPT *p_rpt = &p_cb->hid_srvc.report[0]; in bta_hh_le_hid_report_dbg()
500 if (p_cb->hid_srvc.in_use && in bta_hh_le_find_service_inst_by_battery_inst_id()
501 p_cb->hid_srvc.incl_srvc_inst == ba_inst_id) in bta_hh_le_find_service_inst_by_battery_inst_id()
503 return p_cb->hid_srvc.srvc_inst_id; in bta_hh_le_find_service_inst_by_battery_inst_id()
533 p_rpt = &p_cb->hid_srvc.report[0]; in bta_hh_le_find_report_entry()
609 p_rpt = &p_cb->hid_srvc.report[0]; in bta_hh_le_find_alloc_report_entry()
762 STREAM_TO_UINT16(p_dev_cb->hid_srvc.ext_rpt_ref, pp); in bta_hh_le_save_ext_rpt_ref()
766 p_dev_cb->hid_srvc.ext_rpt_ref); in bta_hh_le_save_ext_rpt_ref()
783 tBTA_HH_LE_RPT *p_rpt = &p_dev_cb->hid_srvc.report[0]; in bta_hh_le_register_input_notif()
905 tBTA_HH_LE_RPT *p_rpt = &p_cb->hid_srvc.report[p_cb->clt_cfg_idx]; in bta_hh_le_write_rpt_clt_cfg()
950 if (p_cb->hid_srvc.proto_mode_handle == 0) in bta_hh_le_set_protocol_mode()
975 gatt_queue_write_op(GATT_WRITE_CHAR, p_cb->conn_id, p_cb->hid_srvc.proto_mode_handle, 1, in bta_hh_le_set_protocol_mode()
995 if (p_cb->hid_srvc.in_use && p_cb->hid_srvc.proto_mode_handle != 0) { in bta_hh_le_get_protocol_mode()
996 gatt_queue_read_op(GATT_READ_CHAR, p_cb->conn_id, p_cb->hid_srvc.proto_mode_handle); in bta_hh_le_get_protocol_mode()
1125 if (!p_cb->hid_srvc.in_use) in bta_hh_security_cmpl()
1139 if (p_cb->app_id != 0 && p_cb->hid_srvc.in_use) in bta_hh_security_cmpl()
1196 tBTA_HH_LE_HID_SRVC *p_hid_srvc = &p_cb->hid_srvc; in bta_hh_clear_service_cache()
1364 bta_hh_le_write_rpt_clt_cfg(p_cb, p_cb->hid_srvc.srvc_inst_id); in bta_hh_le_gatt_disc_cmpl()
1387 p_dev_cb->hid_srvc.incl_srvc_inst = incl_svc->handle; in process_included()
1438 p_dev_cb->hid_srvc.control_point_handle = p_char->handle; in bta_hh_le_search_hid_chars()
1451 p_dev_cb->hid_srvc.srvc_inst_id, in bta_hh_le_search_hid_chars()
1491 p_dev_cb->hid_srvc.proto_mode_handle = p_char->handle; in bta_hh_le_search_hid_chars()
1535 p_dev_cb->hid_srvc.in_use = TRUE; in bta_hh_le_srvc_search_cmpl()
1536 p_dev_cb->hid_srvc.srvc_inst_id = service->handle; in bta_hh_le_srvc_search_cmpl()
1537 p_dev_cb->hid_srvc.proto_mode_handle = 0; in bta_hh_le_srvc_search_cmpl()
1538 p_dev_cb->hid_srvc.control_point_handle = 0; in bta_hh_le_srvc_search_cmpl()
1543 … APPL_TRACE_DEBUG("%s: have HID service inst_id= %d", __func__, p_dev_cb->hid_srvc.srvc_inst_id); in bta_hh_le_srvc_search_cmpl()
1596 p_dev_cb->hid_srvc.expl_incl_srvc = TRUE; in bta_hh_read_battery_level_cmpl()
1611 tBTA_HH_LE_HID_SRVC *p_srvc = &p_dev_cb->hid_srvc; in bta_hh_le_save_rpt_map()
1623 p_srvc->descriptor.dsc_list = p_dev_cb->hid_srvc.rpt_map; in bta_hh_le_save_rpt_map()
2066 p_dev_cb->hid_srvc.report[p_dev_cb->clt_cfg_idx].client_cfg_value = in bta_hh_le_write_char_descr_cmpl()
2121 p_dev_cb->hid_srvc.srvc_inst_id, in bta_hh_le_input_rpt_notify()
2272 …tBTA_HH_LE_RPT *p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc.report, p_cb->mode, r_type, r… in bta_hh_le_get_rpt()
2310 p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc.report, p_cb->mode, r_type, rpt_id); in bta_hh_le_write_rpt()
2344 gatt_queue_write_op(GATT_WRITE_CHAR, p_cb->conn_id, p_cb->hid_srvc.control_point_handle, 1, in bta_hh_le_suspend()
2419 if (p_cb->hid_srvc.in_use) in bta_hh_le_get_dscp_act()
2421 p_cb->dscp_info.descriptor.dl_len = p_cb->hid_srvc.descriptor.dl_len; in bta_hh_le_get_dscp_act()
2422 p_cb->dscp_info.descriptor.dsc_list = p_cb->hid_srvc.descriptor.dsc_list; in bta_hh_le_get_dscp_act()
2666 …p_rpt = bta_hh_le_find_rpt_by_idtype(p_cb->hid_srvc.report, p_cb->mode, BTA_HH_RPTT_INPUT, rpt_id); in bta_hh_le_hid_read_rpt_clt_cfg()