Home
last modified time | relevance | path

Searched refs:xx (Results 1 – 25 of 44) sorted by relevance

12

/system/bt/bta/hh/
Dbta_hh_utils.c65 UINT8 xx; in bta_hh_find_cb() local
68 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) in bta_hh_find_cb()
71 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && in bta_hh_find_cb()
75 APPL_TRACE_DEBUG("found kdev_cb[%d] hid_handle = %d ", xx, in bta_hh_find_cb()
76 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
78 return xx; in bta_hh_find_cb()
83 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb()
84 bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb()
85 bta_hh_cb.kdev[xx].state); in bta_hh_find_cb()
90 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) in bta_hh_find_cb()
[all …]
Dbta_hh_act.c71 UINT8 xx; in bta_hh_api_enable() local
88 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) in bta_hh_api_enable()
90 bta_hh_cb.kdev[xx].state = BTA_HH_IDLE_ST; in bta_hh_api_enable()
91 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
92 bta_hh_cb.kdev[xx].index = xx; in bta_hh_api_enable()
96 for (xx = 0; xx < BTA_HH_MAX_KNOWN; xx ++) in bta_hh_api_enable()
97 bta_hh_cb.cb_index[xx] = BTA_HH_IDX_INVALID; in bta_hh_api_enable()
122 UINT8 xx; in bta_hh_api_disable() local
137 for(xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) in bta_hh_api_disable()
140 if ( bta_hh_cb.kdev[xx].state == BTA_HH_CONN_ST ) in bta_hh_api_disable()
[all …]
/system/bt/stack/avrc/
Davrc_bld_tg.c45 UINT8 xx; in avrc_bld_get_capability_rsp() local
81 for (xx=0; xx< p_rsp->count; xx++) in avrc_bld_get_capability_rsp()
83 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp()
91 for (xx=0; xx< p_rsp->count; xx++) in avrc_bld_get_capability_rsp()
93 if (AVRC_IS_VALID_EVENT_ID(p_event_id[xx])) in avrc_bld_get_capability_rsp()
96 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp()
123 UINT8 xx; in avrc_bld_list_app_settings_attr_rsp() local
143 for (xx=0; xx<p_rsp->num_attr; xx++) in avrc_bld_list_app_settings_attr_rsp()
145 if(AVRC_IsValidPlayerAttr(p_rsp->attrs[xx])) in avrc_bld_list_app_settings_attr_rsp()
148 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]); in avrc_bld_list_app_settings_attr_rsp()
[all …]
Davrc_pars_tg.c108 UINT8 xx, yy; in avrc_pars_vendor_cmd() local
173 for (xx=0, yy=0; xx< p_result->get_cur_app_val.num_attr; xx++) in avrc_pars_vendor_cmd()
194 for (xx=0; ((xx< p_result->set_app_val.num_val) && (buf_len > size_needed)); xx++) in avrc_pars_vendor_cmd()
196 p_app_set[xx].attr_id = *p++; in avrc_pars_vendor_cmd()
197 p_app_set[xx].attr_val = *p++; in avrc_pars_vendor_cmd()
198 … if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, p_app_set[xx].attr_val)) in avrc_pars_vendor_cmd()
201 if (xx != p_result->set_app_val.num_val) in avrc_pars_vendor_cmd()
205 __func__, xx, p_result->set_app_val.num_val); in avrc_pars_vendor_cmd()
206 p_result->set_app_val.num_val = xx; in avrc_pars_vendor_cmd()
233 for (xx=0; xx< p_result->get_app_val_txt.num_val; xx++) in avrc_pars_vendor_cmd()
[all …]
Davrc_pars_ct.c206 for(int xx = 0; ((xx < p_result->get_caps.count) && (xx < AVRC_CAP_MAX_NUM_COMP_ID)); in avrc_ctrl_pars_vendor_rsp() local
207 xx++) in avrc_ctrl_pars_vendor_rsp()
209 BE_STREAM_TO_UINT24(p_result->get_caps.param.company_id[xx], p); in avrc_ctrl_pars_vendor_rsp()
214 for(int xx = 0; ((xx < p_result->get_caps.count) && (xx < AVRC_CAP_MAX_NUM_EVT_ID)); in avrc_ctrl_pars_vendor_rsp() local
215 xx++) in avrc_ctrl_pars_vendor_rsp()
217 BE_STREAM_TO_UINT8(p_result->get_caps.param.event_id[xx], p); in avrc_ctrl_pars_vendor_rsp()
230 for(int xx = 0; xx < p_result->list_app_attr.num_attr; xx++) in avrc_ctrl_pars_vendor_rsp() local
232 BE_STREAM_TO_UINT8(p_result->list_app_attr.attrs[xx], p); in avrc_ctrl_pars_vendor_rsp()
244 for(int xx = 0; xx < p_result->list_app_values.num_val; xx++) in avrc_ctrl_pars_vendor_rsp() local
246 BE_STREAM_TO_UINT8(p_result->list_app_values.vals[xx], p); in avrc_ctrl_pars_vendor_rsp()
[all …]
/system/bt/stack/sdp/
Dsdp_db.c61 UINT16 xx, yy; in sdp_db_service_search() local
78 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) in sdp_db_service_search()
96 if (xx == p_rec->num_attributes) in sdp_db_service_search()
193 UINT16 xx; in sdp_db_find_attr_in_rec() local
196 for (xx = 0, p_at = &p_rec->attribute[0]; xx < p_rec->num_attributes; in sdp_db_find_attr_in_rec()
197 xx++, p_at++) in sdp_db_find_attr_in_rec()
221 UINT16 xx, yy, len; in sdp_compose_proto_list() local
230 for (xx = 0; xx < num_elem; xx++, p_elem_list++) in sdp_compose_proto_list()
332 UINT16 xx, yy, zz; in SDP_DeleteRecord() local
348 for (xx = 0; xx < sdp_cb.server_db.num_records; xx++, p_rec++) in SDP_DeleteRecord()
[all …]
Dsdp_utils.c58 UINT16 xx; in sdpu_find_ccb_by_cid() local
62 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_find_ccb_by_cid()
86 UINT16 xx; in sdpu_find_ccb_by_db() local
92 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_find_ccb_by_db()
115 UINT16 xx; in sdpu_allocate_ccb() local
119 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_allocate_ccb()
175 UINT16 xx; in sdpu_build_attrib_seq() local
180 xx = 5; in sdpu_build_attrib_seq()
182 xx = num_attrs * 3; in sdpu_build_attrib_seq()
184 if (xx > 255) in sdpu_build_attrib_seq()
[all …]
Dsdp_server.c183 UINT16 rsp_param_len, num_rsp_handles, xx; in process_service_search() local
280 for (xx = cont_offset; xx < cont_offset + cur_handles; xx++) in process_service_search()
281 UINT32_TO_BE_STREAM (p_rsp, rsp_handles[xx]); in process_service_search()
323 UINT16 rsp_param_len, xx; in process_service_attr_req() local
398 for (xx = p_ccb->cont_info.next_attr_index; xx < attr_seq.num_attr; xx++) in process_service_attr_req()
400 …_attr = sdp_db_find_attr_in_rec (p_rec, attr_seq.attr_entry[xx].start, attr_seq.attr_entry[xx].end… in process_service_attr_req()
410 p_ccb->cont_info.next_attr_index = xx; in process_service_attr_req()
441 p_ccb->cont_info.next_attr_index = xx; in process_service_attr_req()
449 if (attr_seq.attr_entry[xx].start != attr_seq.attr_entry[xx].end) in process_service_attr_req()
452 attr_seq.attr_entry[xx].start = p_attr->id + 1; in process_service_attr_req()
[all …]
Dsdp_discovery.c74 UINT16 xx; in sdpu_build_uuid_seq() local
85 for (xx = 0; xx < num_uuids; xx++, p_uuid_list++) in sdpu_build_uuid_seq()
105 xx = (UINT16)(p_out - p_len - 1); in sdpu_build_uuid_seq()
106 UINT8_TO_BE_STREAM (p_len, xx); in sdpu_build_uuid_seq()
285 UINT16 xx; in process_service_search_rsp() local
309 for (xx = orig; xx < p_ccb->num_handles; xx++) in process_service_search_rsp()
310 BE_STREAM_TO_UINT32 (p_ccb->handles[xx], p_reply); in process_service_search_rsp()
/system/bt/stack/btm/
Dbtm_sco.c402 UINT8 xx;
423 if ((xx = btm_handle_to_acl_index(acl_handle)) < MAX_L2CAP_LINKS)
425 p_acl = &btm_cb.acl_db[xx];
580 UINT16 xx;
604 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
617 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
625 for (xx = 0, p = &btm_cb.sco_cb.sco_db[0]; xx < BTM_MAX_SCO_LINKS; xx++, p++)
719 *p_sco_inx = xx;
744 UINT16 xx;
748 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
[all …]
Dbtm_pm.c136 int xx; in BTM_PmRegister() local
147 for(xx=0; xx<BTM_MAX_PM_RECORDS; xx++) in BTM_PmRegister()
150 if(btm_cb.pm_reg_db[xx].mask == BTM_PM_REC_NOT_USED) in BTM_PmRegister()
157 btm_cb.pm_reg_db[xx].cback = p_cb; in BTM_PmRegister()
159 btm_cb.pm_reg_db[xx].mask = mask; in BTM_PmRegister()
160 *p_pm_id = xx; in BTM_PmRegister()
385 int xx; in btm_pm_reset() local
396 for(xx=0; xx<BTM_MAX_PM_RECORDS; xx++) in btm_pm_reset()
398 btm_cb.pm_reg_db[xx].mask = BTM_PM_REC_NOT_USED; in btm_pm_reset()
441 UINT8 xx; in btm_pm_find_acl_ind() local
[all …]
Dbtm_inq.c1161 UINT16 xx; in BTM_InqDbFirst() local
1164 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) in BTM_InqDbFirst()
1449 UINT16 xx; in btm_clr_inq_db() local
1455 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) in btm_clr_inq_db()
1507 UINT16 xx; in btm_inq_find_bdaddr() local
1513 for (xx = 0; xx < p_inq->num_bd_entries; xx++, p_db++) in btm_inq_find_bdaddr()
1520 if (xx < p_inq->max_bd_entries) in btm_inq_find_bdaddr()
1543 UINT16 xx; in btm_inq_db_find() local
1546 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) in btm_inq_db_find()
1569 UINT16 xx; in btm_inq_db_new() local
[all …]
Dbtm_acl.c101 UINT16 xx; in btm_bda_to_acl() local
104 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_bda_to_acl()
134 UINT8 xx; in btm_handle_to_acl_index() local
136 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_handle_to_acl_index()
145 return(xx); in btm_handle_to_acl_index()
218 UINT8 xx; in btm_acl_created() local
238 for (xx = 0, p = &btm_cb.acl_db[0]; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_acl_created()
262 btm_pm_sm_alloc(xx); in btm_acl_created()
476 UINT16 xx; in btm_acl_device_down() local
478 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_acl_device_down()
[all …]
/system/bt/stack/bnep/
Dbnep_utils.c59 UINT16 xx; in bnepu_find_bcb_by_cid() local
63 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_find_bcb_by_cid()
86 UINT16 xx; in bnepu_find_bcb_by_bd_addr() local
90 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_find_bcb_by_bd_addr()
115 UINT16 xx; in bnepu_allocate_bcb() local
119 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++) in bnepu_allocate_bcb()
128 p_bcb->handle = xx + 1; in bnepu_allocate_bcb()
273 UINT16 xx; in bnepu_send_peer_our_filters() local
287 for (xx = 0; xx < p_bcb->sent_num_filters; xx++) in bnepu_send_peer_our_filters()
289 UINT16_TO_BE_STREAM (p, p_bcb->sent_prot_filter_start[xx]); in bnepu_send_peer_our_filters()
[all …]
Dbnep_api.c579 UINT16 xx; in BNEP_SetProtocolFilters() local
600 for (xx = 0; xx < num_filters; xx++) in BNEP_SetProtocolFilters()
602 p_bcb->sent_prot_filter_start[xx] = *p_start_array++; in BNEP_SetProtocolFilters()
603 p_bcb->sent_prot_filter_end[xx] = *p_end_array++; in BNEP_SetProtocolFilters()
638 UINT16 xx; in BNEP_SetMulticastFilters() local
659 for (xx = 0; xx < num_filters; xx++) in BNEP_SetMulticastFilters()
661 memcpy (p_bcb->sent_mcast_filter_start[xx], p_start_array, BD_ADDR_LEN); in BNEP_SetMulticastFilters()
662 memcpy (p_bcb->sent_mcast_filter_end[xx], p_end_array, BD_ADDR_LEN); in BNEP_SetMulticastFilters()
/system/bt/stack/l2cap/
Dl2c_utils.c56 int xx; in l2cu_allocate_lcb() local
59 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_allocate_lcb()
284 int xx; in l2cu_find_lcb_by_bd_addr() local
287 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_find_lcb_by_bd_addr()
1219 int xx; in l2cu_send_peer_info_rsp() local
1221 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_send_peer_info_rsp()
1224 if((xx >= L2CAP_ATT_CID - L2CAP_FIRST_FIXED_CHNL) && in l2cu_send_peer_info_rsp()
1225 (xx <= L2CAP_SMP_CID - L2CAP_FIRST_FIXED_CHNL)) in l2cu_send_peer_info_rsp()
1228 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp()
1229 p[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] |= 1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8); in l2cu_send_peer_info_rsp()
[all …]
Dl2c_link.c64 int xx; in l2c_link_hci_conn_req() local
84 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb_cur++) in l2c_link_hci_conn_req()
458 int xx; in l2c_link_hci_disc_comp() local
459 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2c_link_hci_disc_comp()
461 if (p_lcb->p_fixed_ccbs[xx] && p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) in l2c_link_hci_disc_comp()
464 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp()
467 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp()
470 if (p_lcb->p_fixed_ccbs[xx] == NULL) { in l2c_link_hci_disc_comp()
473 __func__, xx, in l2c_link_hci_disc_comp()
482 assert(p_lcb->p_fixed_ccbs[xx] != NULL); in l2c_link_hci_disc_comp()
[all …]
Dl2c_ucd.c57 UINT16 xx; in l2c_ucd_discover_cback() local
61 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2c_ucd_discover_cback()
130 UINT16 xx; in l2c_ucd_congestion_status_cback() local
134 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2c_ucd_congestion_status_cback()
272 UINT16 xx; in L2CA_UcdDeregister() local
287 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in L2CA_UcdDeregister()
301 for ( xx = 0; xx < MAX_L2CAP_CHANNELS; xx++ ) in L2CA_UcdDeregister()
670 UINT16 xx; in l2c_ucd_check_pending_info_req() local
679 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2c_ucd_check_pending_info_req()
/system/bt/btif/src/
Dbtif_rc.c2322 int xx = 0; in handle_get_capability_response() local
2338 for (xx = 0; xx < p_rsp->count; xx++) in handle_get_capability_response()
2341 if ((p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_STATUS_CHANGE)|| in handle_get_capability_response()
2342 (p_rsp->param.event_id[xx] == AVRC_EVT_TRACK_CHANGE)|| in handle_get_capability_response()
2343 (p_rsp->param.event_id[xx] == AVRC_EVT_APP_SETTING_CHANGE)) in handle_get_capability_response()
2346 p_event->event_id = p_rsp->param.event_id[xx]; in handle_get_capability_response()
2361 for (xx = 0; xx < p_rsp->count; xx++) in handle_get_capability_response()
2363 BTIF_TRACE_EVENT("%s : %d", __FUNCTION__, p_rsp->param.company_id[xx]); in handle_get_capability_response()
2561 UINT16 xx; in handle_notification_response() local
2564 for (xx = 0; xx < app_settings.num_attr; xx++) in handle_notification_response()
[all …]
/system/bt/bta/av/
Dbta_av_act.c457 int xx; in bta_av_find_lcb() local
461 for(xx=0; xx<BTA_AV_NUM_LINKS; xx++) in bta_av_find_lcb()
463 mask = 1 << xx; /* the used mask for this lcb */ in bta_av_find_lcb()
464 if ((mask & p_cb->conn_lcb) && 0 ==( bdcmp(p_cb->lcb[xx].addr, addr))) in bta_av_find_lcb()
466 p_lcb = &p_cb->lcb[xx]; in bta_av_find_lcb()
730 UINT8 xx; in bta_av_chk_notif_evt_id() local
743 for (xx=0; xx<p_bta_av_cfg->num_evt_ids; xx++) in bta_av_chk_notif_evt_id()
745 if (*p == p_bta_av_cfg->p_meta_evt_ids[xx]) in bta_av_chk_notif_evt_id()
750 if (xx == p_bta_av_cfg->num_evt_ids) in bta_av_chk_notif_evt_id()
1397 UINT16 xx; in bta_av_disable() local
[all …]
Dbta_av_main.c268 int xx; in bta_av_addr_to_scb() local
270 for(xx=0; xx<BTA_AV_NUM_STRS; xx++) in bta_av_addr_to_scb()
272 if(bta_av_cb.p_scb[xx]) in bta_av_addr_to_scb()
274 if(!bdcmp(bd_addr, bta_av_cb.p_scb[xx]->peer_addr)) in bta_av_addr_to_scb()
276 p_scb = bta_av_cb.p_scb[xx]; in bta_av_addr_to_scb()
320 int xx; in bta_av_alloc_scb() local
348 for(xx=0; xx<BTA_AV_NUM_STRS; xx++) in bta_av_alloc_scb()
350 if(bta_av_cb.p_scb[xx] == NULL) in bta_av_alloc_scb()
356 p_ret->hndl = (tBTA_AV_HNDL)((xx + 1) | chnl); in bta_av_alloc_scb()
357 p_ret->hdi = xx; in bta_av_alloc_scb()
[all …]
Dbta_av_ssm.c422 int i, xx; in bta_av_ssm_execute() local
437 for (xx = 0; xx < BTA_AV_NUM_STRS; xx++) in bta_av_ssm_execute()
439 if (bta_av_cb.p_scb[xx]) in bta_av_ssm_execute()
441 if (bta_av_cb.p_scb[xx]->state == BTA_AV_INCOMING_SST) in bta_av_ssm_execute()
443 bta_av_cb.p_scb[xx]->state = BTA_AV_INIT_SST; in bta_av_ssm_execute()
444 bta_av_cb.p_scb[xx]->coll_mask = 0; in bta_av_ssm_execute()
/system/bt/stack/gap/
Dgap_conn.c727 UINT16 xx; in gap_connect_ind() local
731 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) in gap_connect_ind()
740 if (xx == GAP_MAX_CONNECTIONS) in gap_connect_ind()
1112 UINT16 xx; in gap_find_ccb_by_cid() local
1116 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) in gap_find_ccb_by_cid()
1166 UINT16 xx; in gap_allocate_ccb() local
1170 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) in gap_allocate_ccb()
1178 p_ccb->gap_handle = xx; in gap_allocate_ccb()
1201 UINT16 xx; in gap_release_ccb() local
1221 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) in gap_release_ccb()
/system/bt/stack/hid/
Dhidh_conn.c93 int xx; in hidh_conn_reg() local
116 for (xx = 0; xx < HID_HOST_MAX_DEVICES; xx++) in hidh_conn_reg()
118 hh_cb.devices[xx].in_use = FALSE ; in hidh_conn_reg()
119 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
1071 UINT8 xx; in find_conn_by_cid() local
1073 for (xx = 0; xx < HID_HOST_MAX_DEVICES; xx++) in find_conn_by_cid()
1075 … if ((hh_cb.devices[xx].in_use) && (hh_cb.devices[xx].conn.conn_state != HID_CONN_STATE_UNUSED) in find_conn_by_cid()
1076 … && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid))) in find_conn_by_cid()
1080 return (xx); in find_conn_by_cid()
/system/bt/bta/ag/
Dbta_ag_rfc.c346 UINT8 xx; in bta_ag_is_server_closed() local
349 for (xx = 0; xx < BTA_AG_NUM_IDX; xx++) in bta_ag_is_server_closed()
351 if (p_scb->serv_handle[xx] != 0) in bta_ag_is_server_closed()

12