Home
last modified time | relevance | path

Searched refs:num_handles (Results 1 – 13 of 13) sorted by relevance

/system/bt/stack/avdt/
Davdt_api.cc558 uint16_t AVDT_StartReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_StartReq() argument
564 AVDT_TRACE_DEBUG("%s: num_handles=%d", __func__, num_handles); in AVDT_StartReq()
566 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_StartReq()
570 for (i = 0; i < num_handles; i++) { in AVDT_StartReq()
584 memcpy(evt.msg.multi.seid_list, p_handles, num_handles); in AVDT_StartReq()
585 evt.msg.multi.num_seps = num_handles; in AVDT_StartReq()
610 uint16_t AVDT_SuspendReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_SuspendReq() argument
616 AVDT_TRACE_DEBUG("%s: num_handles=%d", __func__, num_handles); in AVDT_SuspendReq()
618 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_SuspendReq()
622 for (i = 0; i < num_handles; i++) { in AVDT_SuspendReq()
[all …]
/system/bt/stack/include/
Davdtc_api.h178 extern void AVDTC_StartRsp(uint8_t* p_handles, uint8_t num_handles,
201 extern void AVDTC_SuspendRsp(uint8_t* p_handles, uint8_t num_handles,
Davdt_api.h708 extern uint16_t AVDT_StartReq(uint8_t* p_handles, uint8_t num_handles);
725 extern uint16_t AVDT_SuspendReq(uint8_t* p_handles, uint8_t num_handles);
Dgatt_api.h440 uint16_t num_handles; /* number of handles to read */ member
Dhcimsgs.h581 uint8_t num_handles, uint16_t* handle,
/system/bt/stack/sdp/
Dsdp_discovery.cc194 p_ccb->num_handles = 0; in sdp_disc_connected()
286 orig = p_ccb->num_handles; in process_service_search_rsp()
287 p_ccb->num_handles += cur_handles; in process_service_search_rsp()
288 if (p_ccb->num_handles == 0) { in process_service_search_rsp()
296 if (p_ccb->num_handles > sdp_cb.max_recs_per_search) in process_service_search_rsp()
297 p_ccb->num_handles = sdp_cb.max_recs_per_search; in process_service_search_rsp()
299 if (p_reply + ((p_ccb->num_handles - orig) * 4) + 1 > p_reply_end) { in process_service_search_rsp()
305 for (xx = orig; xx < p_ccb->num_handles; xx++) in process_service_search_rsp()
456 if (p_ccb->cur_handle < p_ccb->num_handles) { in process_service_attr_rsp()
Dsdpint.h183 uint16_t num_handles; /* Number of server handles */ member
/system/bt/stack/gatt/
Dgatt_sr.cc134 << " num_hdls=" << p_cmd->multi_req.num_handles; in process_read_multi_rsp()
137 p_cmd->multi_req.num_handles) { in process_read_multi_rsp()
153 for (ii = 0; ii < p_cmd->multi_req.num_handles; ii++) { in process_read_multi_rsp()
362 tcb.sr_cmd.multi_req.num_handles = 0; in gatt_process_read_multi_req()
381 tcb.sr_cmd.multi_req.num_handles < GATT_MAX_READ_MULTI_HANDLES) { in gatt_process_read_multi_req()
386 tcb.sr_cmd.multi_req.handles[tcb.sr_cmd.multi_req.num_handles++] = handle; in gatt_process_read_multi_req()
407 if (tcb.sr_cmd.multi_req.num_handles == 0) err = GATT_INVALID_HANDLE; in gatt_process_read_multi_req()
415 for (ll = 0; ll < tcb.sr_cmd.multi_req.num_handles; ll++) { in gatt_process_read_multi_req()
Dgatt_api.cc168 uint16_t num_handles = compute_service_size(service, count); in GATTS_AddService() local
186 if (num_handles > (0xFFFF - s_hdl + 1)) { in GATTS_AddService()
188 << " needed=" << num_handles; in GATTS_AddService()
196 list.asgn_range.e_handle = s_hdl + num_handles - 1; in GATTS_AddService()
204 gatts_init_service_db(list.svc_db, svc_uuid, is_pri, s_hdl, num_handles); in GATTS_AddService()
206 VLOG(1) << __func__ << ": handles needed=" << num_handles in GATTS_AddService()
Datt_protocol.cc522 p_msg->read_multi.num_handles, in attp_send_cl_msg()
/system/bt/stack/l2cap/
Dl2c_link.cc1214 uint8_t num_handles, xx; in l2c_link_process_num_completed_pkts() local
1219 STREAM_TO_UINT8(num_handles, p); in l2c_link_process_num_completed_pkts()
1221 for (xx = 0; xx < num_handles; xx++) { in l2c_link_process_num_completed_pkts()
/system/bt/stack/hcic/
Dhcicmds.cc900 void btsnd_hcic_host_num_xmitted_pkts(uint8_t num_handles, uint16_t* handle, in btsnd_hcic_host_num_xmitted_pkts() argument
905 p->len = HCIC_PREAMBLE_SIZE + 1 + (num_handles * 4); in btsnd_hcic_host_num_xmitted_pkts()
911 UINT8_TO_STREAM(pp, num_handles); in btsnd_hcic_host_num_xmitted_pkts()
913 for (int i = 0; i < num_handles; i++) { in btsnd_hcic_host_num_xmitted_pkts()
/system/bt/bta/gatt/
Dbta_gattc_act.cc772 read_param.read_multiple.num_handles = p_data->api_read_multi.num_attr; in bta_gattc_read_multi()