Home
last modified time | relevance | path

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

/system/bt/stack/avdt/
Davdt_api.cc559 uint16_t AVDT_StartReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_StartReq() argument
565 AVDT_TRACE_DEBUG("%s: num_handles=%d", __func__, num_handles); in AVDT_StartReq()
567 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_StartReq()
571 for (i = 0; i < num_handles; i++) { in AVDT_StartReq()
585 memcpy(evt.msg.multi.seid_list, p_handles, num_handles); in AVDT_StartReq()
586 evt.msg.multi.num_seps = num_handles; in AVDT_StartReq()
592 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_StartReq()
594 num_handles); in AVDT_StartReq()
598 (i < num_handles ? p_handles[i] : p_handles[num_handles - 1])); in AVDT_StartReq()
619 uint16_t AVDT_SuspendReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_SuspendReq() argument
[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.h743 extern uint16_t AVDT_StartReq(uint8_t* p_handles, uint8_t num_handles);
760 extern uint16_t AVDT_SuspendReq(uint8_t* p_handles, uint8_t num_handles);
Dgatt_api.h536 uint16_t num_handles; /* number of handles to read */ member
Dhcimsgs.h462 uint8_t num_handles, uint16_t* handle,
/system/bt/stack/sdp/
Dsdp_discovery.cc191 p_ccb->num_handles = 0; in sdp_disc_connected()
283 orig = p_ccb->num_handles; in process_service_search_rsp()
284 p_ccb->num_handles += cur_handles; in process_service_search_rsp()
285 if (p_ccb->num_handles == 0) { in process_service_search_rsp()
293 if (p_ccb->num_handles > sdp_cb.max_recs_per_search) in process_service_search_rsp()
294 p_ccb->num_handles = sdp_cb.max_recs_per_search; in process_service_search_rsp()
296 if (p_reply + ((p_ccb->num_handles - orig) * 4) + 1 > p_reply_end) { in process_service_search_rsp()
302 for (xx = orig; xx < p_ccb->num_handles; xx++) in process_service_search_rsp()
453 if (p_ccb->cur_handle < p_ccb->num_handles) { in process_service_attr_rsp()
Dsdpint.h149 uint16_t num_handles; /* Number of server handles */ member
/system/bt/test/mock/
Dmock_stack_avdt_api.cc113 uint16_t AVDT_StartReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_StartReq() argument
117 uint16_t AVDT_SuspendReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_SuspendReq() argument
Dmock_hcic_hcicmds.cc120 void btsnd_hcic_host_num_xmitted_pkts(uint8_t num_handles, uint16_t* handle, in btsnd_hcic_host_num_xmitted_pkts() argument
/system/bt/stack/gatt/
Dgatt_sr.cc162 for (ii = 0; ii < p_cmd->multi_req.num_handles; ii++) { in build_read_multi_rsp()
247 << " num_hdls=" << p_cmd->multi_req.num_handles in process_read_multi_rsp()
251 p_cmd->multi_req.num_handles) { in process_read_multi_rsp()
413 multi_req->num_handles = 0; in gatt_process_read_multi_req()
431 while (ll >= 2 && multi_req->num_handles < GATT_MAX_READ_MULTI_HANDLES) { in gatt_process_read_multi_req()
436 multi_req->handles[multi_req->num_handles++] = handle; in gatt_process_read_multi_req()
457 if (multi_req->num_handles == 0) err = GATT_INVALID_HANDLE; in gatt_process_read_multi_req()
467 for (ll = 0; ll < multi_req->num_handles; ll++) { in gatt_process_read_multi_req()
Dgatt_api.cc186 uint16_t num_handles = compute_service_size(service, count); in GATTS_AddService() local
204 if (num_handles > (0xFFFF - s_hdl + 1)) { in GATTS_AddService()
206 << " needed=" << num_handles; in GATTS_AddService()
214 list.asgn_range.e_handle = s_hdl + num_handles - 1; in GATTS_AddService()
222 gatts_init_service_db(list.svc_db, svc_uuid, is_pri, s_hdl, num_handles); in GATTS_AddService()
224 VLOG(1) << __func__ << ": handles needed=" << num_handles in GATTS_AddService()
Datt_protocol.cc584 p_msg->read_multi.num_handles, in attp_send_cl_msg()
/system/bt/stack/btm/
Dbtm_iso_impl.h473 uint8_t num_handles; in handle_num_completed_pkts() local
475 STREAM_TO_UINT8(num_handles, p); in handle_num_completed_pkts()
477 LOG_ASSERT(evt_len == num_handles * 4 + 1); in handle_num_completed_pkts()
479 for (int i = 0; i < num_handles; i++) { in handle_num_completed_pkts()
/system/bt/stack/l2cap/
Dl2c_link.cc1167 uint8_t num_handles, xx; in l2c_link_process_num_completed_pkts() local
1173 STREAM_TO_UINT8(num_handles, p); in l2c_link_process_num_completed_pkts()
1175 num_handles = 0; in l2c_link_process_num_completed_pkts()
1178 if (num_handles > evt_len / (2 * sizeof(uint16_t))) { in l2c_link_process_num_completed_pkts()
1180 num_handles = evt_len / (2 * sizeof(uint16_t)); in l2c_link_process_num_completed_pkts()
1183 for (xx = 0; xx < num_handles; xx++) { in l2c_link_process_num_completed_pkts()
/system/bt/bta/gatt/
Dbta_gattc_cache.cc191 size_t num_handles = in bta_gattc_explore_next_service() local
197 read_param.read_multiple.num_handles = num_handles; in bta_gattc_explore_next_service()
200 sizeof(uint16_t) * num_handles); in bta_gattc_explore_next_service()
Dbta_gattc_act.cc811 read_param.read_multiple.num_handles = p_data->api_read_multi.num_attr; in bta_gattc_read_multi()
/system/bt/stack/acl/
Dbtm_acl.cc2814 uint8_t num_handles{0}; in acl_parse_num_completed_pkts() local
2815 STREAM_TO_UINT8(num_handles, p); in acl_parse_num_completed_pkts()
2817 if (num_handles > evt_len / (2 * sizeof(uint16_t))) { in acl_parse_num_completed_pkts()
2819 num_handles = evt_len / (2 * sizeof(uint16_t)); in acl_parse_num_completed_pkts()
2822 for (uint8_t xx = 0; xx < num_handles; xx++) { in acl_parse_num_completed_pkts()
/system/bt/stack/hcic/
Dhcicmds.cc1338 void btsnd_hcic_host_num_xmitted_pkts(uint8_t num_handles, uint16_t* handle, in btsnd_hcic_host_num_xmitted_pkts() argument
1343 p->len = HCIC_PREAMBLE_SIZE + 1 + (num_handles * 4); in btsnd_hcic_host_num_xmitted_pkts()
1349 UINT8_TO_STREAM(pp, num_handles); in btsnd_hcic_host_num_xmitted_pkts()
1351 for (int i = 0; i < num_handles; i++) { in btsnd_hcic_host_num_xmitted_pkts()