Home
last modified time | relevance | path

Searched refs:s_handle (Results 1 – 22 of 22) sorted by relevance

/system/bt/stack/gatt/
Dgatt_cl.cc89 if (p_clcb->s_handle > p_clcb->e_handle || p_clcb->s_handle == 0) { in gatt_act_discovery()
98 cl_req.browse.s_handle = p_clcb->s_handle; in gatt_act_discovery()
111 cl_req.find_type_value.s_handle = p_clcb->s_handle; in gatt_act_discovery()
157 msg.browse.s_handle = p_clcb->s_handle; in gatt_act_read()
170 msg.handle = p_clcb->s_handle; in gatt_act_read()
181 msg.read_blob.handle = p_clcb->s_handle; in gatt_act_read()
188 msg.read_blob.handle = p_clcb->s_handle; in gatt_act_read()
199 msg.handle = p_clcb->s_handle; in gatt_act_read()
226 p_clcb->s_handle = attr.handle; in gatt_act_write()
243 p_clcb->s_handle = attr.handle; in gatt_act_write()
[all …]
Dgatt_api.cc47 tGATT_HDL_LIST_ELEM& gatt_add_an_item_to_list(uint16_t s_handle) { in gatt_add_an_item_to_list() argument
51 if (s_handle > it->asgn_range.s_handle) break; in gatt_add_an_item_to_list()
76 gatt_add_an_item_to_list(p_hndl_range->s_handle); in GATTS_AddHandleRange()
213 list.asgn_range.s_handle = s_hdl; in GATTS_AddService()
225 << ", s_hdl=" << loghex(list.asgn_range.s_handle) in GATTS_AddService()
283 list.svc_db, p_incl_decl->asgn_range.s_handle, in GATTS_AddService()
296 if (list.asgn_range.s_handle < it->s_hdl) break; in GATTS_AddService()
302 elem.s_hdl = list.asgn_range.s_handle; in GATTS_AddService()
376 GATTS_StopService(it->asgn_range.s_handle); in GATTS_DeleteService()
382 VLOG(1) << "released handles s_hdl=" << loghex(it->asgn_range.s_handle) in GATTS_DeleteService()
[all …]
Dgatt_db.cc224 UINT16_TO_STREAM(p, incl_handle.s_handle); in read_attr_value()
269 BT_HDR* p_rsp, uint16_t s_handle, uint16_t e_handle, const Uuid& type, in gatts_db_read_attr_value_by_type() argument
278 if (attr.handle >= s_handle && type == attr.uuid) { in gatts_db_read_attr_value_by_type()
326 uint16_t gatts_add_included_service(tGATT_SVC_DB& db, uint16_t s_handle, in gatts_add_included_service() argument
331 << StringPrintf(": s_hdl=0x%04x e_hdl=0x%04x ", s_handle, e_handle) in gatts_add_included_service()
334 if (service.IsEmpty() || s_handle == 0 || e_handle == 0) { in gatts_add_included_service()
342 attr.p_value->incl_handle.s_handle = s_handle; in gatts_add_included_service()
Datt_protocol.cc170 UINT16_TO_STREAM(p, p_value_type->s_handle); in attp_build_read_by_type_value_cmd()
530 if (!GATT_HANDLE_IS_VALID(p_msg->browse.s_handle) || in attp_send_cl_msg()
532 p_msg->browse.s_handle > p_msg->browse.e_handle) { in attp_send_cl_msg()
537 p_cmd = attp_build_browse_cmd(op_code, p_msg->browse.s_handle, in attp_send_cl_msg()
Dgatt_attr.cc456 p_clcb->s_handle = p_data->value.dclr_value.val_handle; in gatt_disc_res_cback()
462 p_clcb->s_handle = p_data->handle; in gatt_disc_res_cback()
513 param.service.s_handle = 1; in gatt_svc_read_cl_supp_feat_req()
655 GATTC_Discover(p_clcb->conn_id, GATT_DISC_CHAR_DSCPT, p_clcb->s_handle, in gatt_cl_start_config_ccc()
663 ccc_value.handle = p_clcb->s_handle; in gatt_cl_start_config_ccc()
768 param.service.s_handle = 1; in gatt_cl_read_sr_supp_feat_req()
Dgatt_int.h103 uint16_t s_handle; /* starting handle */ member
343 uint16_t s_handle; /* starting handle of the active request */ member
383 uint16_t s_handle; member
631 extern uint16_t gatts_add_included_service(tGATT_SVC_DB& db, uint16_t s_handle,
643 BT_HDR* p_rsp, uint16_t s_handle, uint16_t e_handle,
Dgatt_sr_hash.cc82 UINT16_TO_STREAM(p_data, attr_it->p_value->incl_handle.s_handle); in fill_database_info()
Dgatt_utils.cc199 if (elem.asgn_range.s_handle == handle) return &elem; in gatt_find_hdl_buffer_by_handle()
219 (start_handle == it->asgn_range.s_handle)) { in gatt_find_hdl_buffer_by_app_id()
1498 cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
1507 cb_data.handle = cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
/system/bt/btif/src/
Dbtif_gatt_test.cc128 p_data->value.incl_service.s_handle, in btif_test_discovery_result_cback()
130 p_data->value.incl_service.s_handle, in btif_test_discovery_result_cback()
Dbtif_gatt_client.cc457 uint16_t s_handle, in btif_gattc_read_using_char_uuid() argument
462 s_handle, e_handle, auth_req, in btif_gattc_read_using_char_uuid()
/system/bt/stack/include/
Dgatt_api.h525 uint16_t s_handle; member
609 uint16_t s_handle; /* starting handle */ member
703 uint16_t s_handle; member
/system/bt/bta/gatt/
Dbta_gattc_api.cc384 uint16_t s_handle, uint16_t e_handle, in BTA_GATTC_ReadUsingCharUuid() argument
395 p_buf->s_handle = s_handle; in BTA_GATTC_ReadUsingCharUuid()
Dbta_gattc_cache.cc411 p_data->value.incl_service.s_handle, in bta_gattc_disc_res_cback()
631 read_param.char_type.s_handle = 0x0001; in bta_gattc_read_db_hash()
756 uint16_t att_handle, uint16_t s_handle, in bta_gattc_fill_gatt_db_el() argument
761 p_attr->start_handle = s_handle; in bta_gattc_fill_gatt_db_el()
Dbta_gattc_act.cc786 read_param.char_type.s_handle = p_data->api_read.s_handle; in bta_gattc_read()
1213 uint16_t s_handle = ((uint16_t)(*(p)) + (((uint16_t)(*(p + 1))) << 8)); in bta_gattc_process_srvc_chg_ind() local
1216 LOG(ERROR) << __func__ << ": service changed s_handle=" << loghex(s_handle) in bta_gattc_process_srvc_chg_ind()
1222 bta_gattc_clear_notif_registration(p_srcb, conn_id, s_handle, e_handle); in bta_gattc_process_srvc_chg_ind()
Dbta_gattc_int.h106 uint16_t s_handle; member
/system/bt/test/mock/
Dmock_stack_gatt.cc81 tGATT_HDL_LIST_ELEM& gatt_add_an_item_to_list(uint16_t s_handle) { in gatt_add_an_item_to_list() argument
Dmock_bta_gattc_api.cc140 uint16_t s_handle, uint16_t e_handle, in BTA_GATTC_ReadUsingCharUuid() argument
/system/bt/bta/include/
Dbta_gatt_api.h301 uint16_t s_handle; member
612 uint16_t s_handle, uint16_t e_handle,
/system/bt/include/hardware/
Dbt_gatt_client.h252 uint16_t s_handle,
/system/bt/stack/srvc/
Dsrvc_dis.cc222 param.service.s_handle = 1; in dis_gatt_c_read_dis_req()
/system/bt/stack/gap/
Dgap_ble.cc256 param.service.s_handle = 1; in send_cl_read_request()
/system/bt/stack/test/gatt/
Dgatt_sr_test.cc97 BT_HDR* p_rsp, uint16_t s_handle, uint16_t e_handle, const Uuid& type, in gatts_db_read_attr_value_by_type() argument