/system/bt/bta/ag/ |
bta_ag_at.c | 44 void bta_ag_at_init(tBTA_AG_AT_CB *p_cb) 46 p_cb->p_cmd_buf = NULL; 47 p_cb->cmd_pos = 0; 62 void bta_ag_at_reinit(tBTA_AG_AT_CB *p_cb) 64 if (p_cb->p_cmd_buf != NULL) 66 GKI_freebuf(p_cb->p_cmd_buf); 67 p_cb->p_cmd_buf = NULL; 69 p_cb->cmd_pos = 0; 83 void bta_ag_process_at(tBTA_AG_AT_CB *p_cb) 90 for (idx = 0; p_cb->p_at_tbl[idx].p_cmd[0] != 0; idx++ [all...] |
/system/bt/stack/smp/ |
smp_act.c | 58 static void smp_update_key_mask (tSMP_CB *p_cb, UINT8 key_type, BOOLEAN recv) 61 __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key); 63 if (((p_cb->le_secure_connections_mode_is_used) || 64 (p_cb->smp_over_br)) && 69 p_cb->local_i_key &= ~key_type; 70 p_cb->local_r_key &= ~key_type; 73 if (p_cb->role == HCI_ROLE_SLAVE) 76 p_cb->local_i_key &= ~key_type 1940 tSMP_CB *p_cb = &smp_cb; local 2009 tSMP_CB *p_cb = &smp_cb; local [all...] |
smp_l2c.c | 92 tSMP_CB *p_cb = &smp_cb; local 101 if (memcmp(bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) == 0) 111 if(!p_cb->connect_initialized) 113 p_cb->connect_initialized = TRUE; 115 p_cb->role = L2CA_GetBleConnRole(bd_addr); 118 p_cb->local_r_key = p_cb->local_i_key = SMP_SEC_DEFAULT_KEY; 119 p_cb->loc_auth_req = p_cb->peer_auth_req = SMP_DEFAULT_AUTH_REQ; 120 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT 146 tSMP_CB *p_cb = &smp_cb; local 214 tSMP_CB *p_cb = &smp_cb; local 243 tSMP_CB *p_cb = &smp_cb; local 296 tSMP_CB *p_cb = &smp_cb; local [all...] |
smp_api.c | 132 tSMP_CB *p_cb = &smp_cb; local 136 __FUNCTION__, p_cb->state, p_cb->br_state, p_cb->flags); 137 if (p_cb->state != SMP_STATE_IDLE || p_cb->flags & SMP_PAIR_FLAGS_WE_STARTED_DD || 138 p_cb->smp_over_br) 145 p_cb->flags = SMP_PAIR_FLAGS_WE_STARTED_DD; 147 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); 152 smp_sm_event(p_cb, SMP_AUTH_CMPL_EVT, &status) 174 tSMP_CB *p_cb = &smp_cb; local 217 tSMP_CB *p_cb = &smp_cb; local 291 tSMP_CB *p_cb = & smp_cb; local 349 tSMP_CB *p_cb = & smp_cb; local 399 tSMP_CB *p_cb = & smp_cb; local 439 tSMP_CB *p_cb = &smp_cb; local 528 tSMP_CB *p_cb = &smp_cb; local 576 tSMP_CB *p_cb = &smp_cb; local [all...] |
smp_utils.c | 77 static BOOLEAN smp_parameter_unconditionally_valid(tSMP_CB *p_cb); 78 static BOOLEAN smp_parameter_unconditionally_invalid(tSMP_CB *p_cb); 81 typedef BOOLEAN (*tSMP_CMD_LEN_VALID)(tSMP_CB *p_cb); 83 static BOOLEAN smp_command_has_valid_fixed_length(tSMP_CB *p_cb); 106 typedef BOOLEAN (*tSMP_CMD_PARAM_RANGES_VALID)(tSMP_CB *p_cb); 108 static BOOLEAN smp_pairing_request_response_parameters_are_valid(tSMP_CB *p_cb); 109 static BOOLEAN smp_pairing_keypress_notification_is_valid(tSMP_CB *p_cb); 132 typedef BT_HDR * (*tSMP_CMD_ACT)(UINT8 cmd_code, tSMP_CB *p_cb); 134 static BT_HDR *smp_build_pairing_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 135 static BT_HDR *smp_build_confirm_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 359 tSMP_CB *p_cb = &smp_cb; local [all...] |
smp_keys.c | 46 static void smp_generate_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 47 static void smp_generate_ltk_cont(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 48 static void smp_generate_y(tSMP_CB *p_cb, tSMP_INT_DATA *p); 49 static void smp_generate_rand_vector (tSMP_CB *p_cb, tSMP_INT_DATA *p); 50 static void smp_process_stk(tSMP_CB *p_cb, tSMP_ENC *p); 51 static void smp_calculate_comfirm_cont(tSMP_CB *p_cb, tSMP_ENC *p); 52 static void smp_process_confirm(tSMP_CB *p_cb, tSMP_ENC *p); 53 static void smp_process_compare(tSMP_CB *p_cb, tSMP_ENC *p); 54 static void smp_process_ediv(tSMP_CB *p_cb, tSMP_ENC *p); 55 static BOOLEAN smp_calculate_legacy_short_term_key(tSMP_CB *p_cb, tSMP_ENC *output) 2226 tSMP_CB *p_cb = &smp_cb; local [all...] |
smp_int.h | 102 /*and saved in p_cb->rand */ 345 typedef void (*tSMP_ACT)(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 368 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 370 extern void smp_proc_sec_request(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 391 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 396 extern void smp_br_state_machine_event(tSMP_CB *p_cb, tSMP_BR_EVENT event, void *p_data); 402 extern void smp_send_pair_req(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 403 extern void smp_send_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 404 extern void smp_send_pair_fail(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 405 extern void smp_send_rand(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) [all...] |
/external/libnfc-nci/src/nfa/sys/ |
nfa_sys_ptim.c | 43 void nfa_sys_ptim_init (tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id) 45 GKI_init_timer_list (&p_cb->timer_queue); 46 p_cb->period = period; 47 p_cb->timer_id = timer_id; 61 void nfa_sys_ptim_timer_update (tPTIM_CB *p_cb) 74 if (new_ticks_count >= p_cb->last_gki_ticks) 76 period_in_ticks = (INT32) (new_ticks_count - p_cb->last_gki_ticks); 80 period_in_ticks = (INT32) (((UINT32) 0xffffffff - p_cb->last_gki_ticks) 85 GKI_update_timer_list (&p_cb->timer_queue, GKI_TICKS_TO_MS (period_in_ticks)); 87 p_cb->last_gki_ticks = new_ticks_count [all...] |
/system/bt/btif/src/ |
btif_sm.c | 81 btif_sm_cb_t *p_cb; local 89 p_cb = (btif_sm_cb_t *)osi_malloc(sizeof(btif_sm_cb_t)); 90 p_cb->state = initial_state; 91 p_cb->p_handlers = (btif_sm_handler_t*)p_handlers; 94 p_cb->p_handlers[initial_state](BTIF_SM_ENTER_EVT, NULL); 96 return (btif_sm_handle_t)p_cb; 110 btif_sm_cb_t *p_cb = (btif_sm_cb_t*)handle; local 112 if (p_cb == NULL) 117 osi_free(p_cb); 131 btif_sm_cb_t *p_cb = (btif_sm_cb_t*)handle local 158 btif_sm_cb_t *p_cb = (btif_sm_cb_t*)handle; local 188 btif_sm_cb_t *p_cb = (btif_sm_cb_t*)handle; local [all...] |
/system/bt/stack/gap/ |
gap_utils.c | 35 tGAP_INFO *p_cb = &gap_cb.blk[0]; local 38 for (x = 0; x < GAP_MAX_BLOCKS; x++, p_cb++) 40 if (!p_cb->in_use) 42 memset (p_cb, 0, sizeof (tGAP_INFO)); 44 p_cb->in_use = TRUE; 45 p_cb->index = x; 46 p_cb->p_data = (void *)NULL; 47 return (p_cb); 65 void gap_free_cb (tGAP_INFO *p_cb) 67 if (p_cb) 89 tGAP_INFO *p_cb = &gap_cb.blk[0]; local [all...] |
/external/libnfc-nci/src/nfa/ce/ |
nfa_ce_act.c | 51 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 60 if (p_cb->idx_cur_active == NFA_CE_LISTEN_INFO_IDX_NDEF) 63 (*p_cb->p_active_conn_cback) (NFA_CE_NDEF_WRITE_START_EVT, &conn_evt); 73 if (p_cb->idx_cur_active == NFA_CE_LISTEN_INFO_IDX_NDEF) 78 (*p_cb->p_active_conn_cback) (NFA_CE_NDEF_WRITE_CPLT_EVT, &conn_evt); 87 if (p_cb->idx_cur_active == NFA_CE_LISTEN_INFO_IDX_NDEF) 92 (*p_cb->p_active_conn_cback) (NFA_DATA_EVT, &conn_evt); 97 conn_evt.ce_data.handle = (NFA_HANDLE_GROUP_CE | ((tNFA_HANDLE)p_cb->idx_cur_active)); 100 (*p_cb->p_active_conn_cback) (NFA_CE_DATA_EVT, &conn_evt); 122 tNFA_CE_CB *p_cb = &nfa_ce_cb local 180 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 290 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 368 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 499 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 536 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 619 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 683 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 752 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 927 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 1041 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 1089 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 1167 tNFA_CE_CB *p_cb = &nfa_ce_cb; local 1311 tNFA_CE_CB *p_cb = &nfa_ce_cb; local [all...] |
/system/bt/bta/gatt/ |
bta_gatts_main.c | 65 tBTA_GATTS_CB *p_cb = &bta_gatts_cb; local 71 bta_gatts_api_disable(p_cb); 75 bta_gatts_register(p_cb, (tBTA_GATTS_DATA *) p_msg); 79 bta_gatts_start_if(p_cb, (tBTA_GATTS_DATA *) p_msg); 83 bta_gatts_deregister(p_cb, (tBTA_GATTS_DATA *) p_msg); 87 bta_gatts_create_srvc(p_cb, (tBTA_GATTS_DATA *) p_msg); 91 bta_gatts_indicate_handle(p_cb,(tBTA_GATTS_DATA *) p_msg); 95 bta_gatts_open(p_cb,(tBTA_GATTS_DATA *) p_msg); 99 bta_gatts_cancel_open(p_cb,(tBTA_GATTS_DATA *) p_msg); 103 bta_gatts_close(p_cb,(tBTA_GATTS_DATA *) p_msg) [all...] |
bta_gatts_utils.c | 64 UINT8 bta_gatts_alloc_srvc_cb(tBTA_GATTS_CB *p_cb, UINT8 rcb_idx) 70 if (!p_cb->srvc_cb[i].in_use) 72 p_cb->srvc_cb[i].in_use = TRUE; 73 p_cb->srvc_cb[i].rcb_idx = rcb_idx; 112 UINT8 bta_gatts_find_app_rcb_idx_by_app_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_IF server_if) 118 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if) 132 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) 138 if (p_cb->srvc_cb[i].in_use && 139 p_cb->srvc_cb[i].service_id == service_id [all...] |
/system/bt/btif/co/ |
bta_gatts_co.c | 55 btif_gatts_srv_chg_cb_t *p_cb= &btif_gatts_srv_chg_cb; local 57 if (!p_cb->enable) 59 memset(p_cb, 0, sizeof(btif_gatts_srv_chg_cb_t)); 60 p_cb->enable = TRUE; 70 btif_gatts_srv_chg_cb_t *p_cb= &btif_gatts_srv_chg_cb; local 76 for (i=0; i != p_cb->num_clients; ++i) 78 if (!memcmp(p_cb->srv_chg[i].bda, bda, sizeof(BD_ADDR))) 87 if (p_cb->num_clients < BTIF_GATTS_MAX_SRV_CHG_CLT_SIZE) 89 bdcpy(p_cb->srv_chg[p_cb->num_clients].bda, bda) [all...] |
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_act.c | 124 static void nfa_ee_update_route_size(tNFA_EE_ECB *p_cb) 129 p_cb->size_mask = 0; 134 if (p_cb->tech_switch_on & nfa_ee_tech_mask_list[xx]) 136 if (p_cb->tech_switch_off & nfa_ee_tech_mask_list[xx]) 138 if (p_cb->tech_battery_off & nfa_ee_tech_mask_list[xx]) 143 p_cb->size_mask += 5; 151 if (p_cb->proto_switch_on & nfa_ee_proto_mask_list[xx]) 153 if (p_cb->proto_switch_off & nfa_ee_proto_mask_list[xx]) 155 if (p_cb->proto_battery_off & nfa_ee_proto_mask_list[xx]) 160 p_cb->size_mask += 5 217 tNFA_EE_ECB *p_cb; local 498 tNFA_EE_ECB *p_cb= p_data->cfg_hdr.p_cb; local 533 tNFA_EE_ECB *p_cb = p_data->cfg_hdr.p_cb; local 579 tNFA_EE_ECB *p_cb = p_data->cfg_hdr.p_cb; local 626 tNFA_EE_ECB *p_cb = p_data->cfg_hdr.p_cb; local 729 tNFA_EE_ECB *p_cb; local 834 tNFA_EE_ECB *p_cb = p_data->connect.p_cb; local 876 tNFA_EE_ECB *p_cb = p_data->send_data.p_cb; local 915 tNFA_EE_ECB *p_cb = p_data->disconnect.p_cb; local 985 tNFA_EE_ECB *p_cb; local 1012 tNFA_EE_ECB *p_cb; local 1067 tNFA_EE_ECB *p_cb; local 1147 tNFA_EE_ECB *p_cb = NULL; local 1314 tNFA_EE_ECB *p_cb; local 1355 tNFA_EE_ECB *p_cb; local 1429 tNFA_EE_ECB *p_cb; local 1564 tNFA_EE_ECB *p_cb; local 1691 tNFA_EE_ECB *p_cb = NULL; local 1786 tNFA_EE_ECB *p_cb = nfa_ee_cb.ecb; local 1820 tNFA_EE_ECB *p_cb; local 2114 tNFA_EE_ECB *p_cb; local 2212 tNFA_EE_ECB *p_cb; local 2298 tNFA_EE_ECB *p_cb; local [all...] |
nfa_ee_main.c | 152 void nfa_ee_restore_one_ecb (tNFA_EE_ECB *p_cb) 158 NFA_TRACE_DEBUG4 ("nfa_ee_restore_one_ecb () nfcee_id:0x%x, ecb_flags:0x%x ee_status:0x%x ee_old_status: 0x%x", p_cb->nfcee_id, p_cb->ecb_flags, p_cb->ee_status, p_cb->ee_old_status); 159 if ((p_cb->nfcee_id != NFA_EE_INVALID) && (p_cb->ee_status & NFA_EE_STATUS_RESTORING) == 0 && (p_cb->ee_old_status & NFA_EE_STATUS_RESTORING) != 0) 161 p_cb->ee_old_status &= ~NFA_EE_STATUS_RESTORING; 162 mask = nfa_ee_ecb_to_mask(p_cb); 216 tNFA_EE_ECB *p_cb; local 278 tNFA_EE_ECB *p_cb; local 401 tNFA_EE_ECB *p_ret = NULL, *p_cb; local 436 tNFA_EE_ECB *p_ret = NULL, *p_cb; local 465 tNFA_EE_ECB *p_cb; local [all...] |
/external/libnfc-nci/src/nfa/int/ |
nfa_sys_ptim.h | 60 extern void nfa_sys_ptim_init (tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id); 71 extern void nfa_sys_ptim_timer_update (tPTIM_CB *p_cb); 83 extern void nfa_sys_ptim_start_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout); 94 extern void nfa_sys_ptim_stop_timer (tPTIM_CB *p_cb, TIMER_LIST_ENT *p_tle);
|
/external/libnfc-nci/src/nfc/nfc/ |
nfc_test.c | 57 tNFC_CONN_CB *p_cb = nfc_find_conn_cb_by_handle (NCI_TEST_ID); local 59 if (p_data && p_cb && (p_data->offset >= (NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE))) 61 status = nfc_ncif_send_data (p_cb, p_data);
|
/system/bt/bta/hh/ |
bta_hh_act.c | 191 tBTA_HH_DEV_CB *p_cb = bta_hh_cb.p_cur; local 196 if ((result == SDP_SUCCESS) && (p_cb != NULL)) 199 if (p_cb->sec_mask) 203 APPL_TRACE_EVENT("bta_hh_sdp_cback: p_cb: %d result 0x%02x, \ 205 p_cb, result, attr_mask,p_cb->hid_handle); 209 if (bta_hh_tod_spt(p_cb, sdp_rec->sub_class)) 212 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) 215 if(HID_HostAddDev (p_cb->addr, attr_mask, &hdl) == HID_SUCCESS) 219 bta_hh_cb.cb_index[hdl] = p_cb->index 271 tBTA_HH_DEV_CB *p_cb = bta_hh_cb.p_cur; local [all...] |
bta_hh_int.h | 336 extern void bta_hh_sm_execute(tBTA_HH_DEV_CB *p_cb, UINT16 event, 340 extern void bta_hh_api_disc_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data); 341 extern void bta_hh_open_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data); 342 extern void bta_hh_close_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data); 343 extern void bta_hh_data_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA * p_data); 344 extern void bta_hh_ctrl_dat_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA * p_data); 345 extern void bta_hh_start_sdp(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data); 346 extern void bta_hh_sdp_cmpl(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data); 347 extern void bta_hh_write_dev_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data); 348 extern void bta_hh_get_dscp_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data) [all...] |
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki_buffer.c | 54 tGKI_COM_CB *p_cb = &gki_cb.com; local 63 p_cb->pool_start[id] = (UINT8 *)p_mem; 64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total); 67 p_cb->pool_size[id] = act_size; 69 p_cb->freeq[id].size = (UINT16) tempsize; 70 p_cb->freeq[id].total = total; 71 p_cb->freeq[id].cur_cnt = 0; 72 p_cb->freeq[id].max_cnt = 0; 82 p_cb->freeq[id].p_first = hdr; 95 p_cb->freeq[id].p_last = hdr1 104 tGKI_COM_CB *p_cb = &gki_cb.com; local 148 tGKI_COM_CB *p_cb = &gki_cb.com; local 365 tGKI_COM_CB *p_cb = &gki_cb.com; local 509 tGKI_COM_CB *p_cb = &gki_cb.com; local 712 tGKI_COM_CB *p_cb = &gki_cb.com; local 1103 tGKI_COM_CB *p_cb = &gki_cb.com; local 1148 tGKI_COM_CB *p_cb = &gki_cb.com; local 1178 tGKI_COM_CB *p_cb = &gki_cb.com; local 1210 tGKI_COM_CB *p_cb = &gki_cb.com; local 1351 tGKI_COM_CB *p_cb = &gki_cb.com; local 1424 tGKI_COM_CB *p_cb = &gki_cb.com; local 1478 tGKI_COM_CB *p_cb = &gki_cb.com; local [all...] |
/external/libnfc-nci/src/gki/common/ |
gki_buffer.c | 54 tGKI_COM_CB *p_cb = &gki_cb.com; local 63 p_cb->pool_start[id] = (UINT8 *)p_mem; 64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total); 67 p_cb->pool_size[id] = act_size; 69 p_cb->freeq[id].size = (UINT16) tempsize; 70 p_cb->freeq[id].total = total; 71 p_cb->freeq[id].cur_cnt = 0; 72 p_cb->freeq[id].max_cnt = 0; 82 p_cb->freeq[id].p_first = hdr; 95 p_cb->freeq[id].p_last = hdr1 104 tGKI_COM_CB *p_cb = &gki_cb.com; local 148 tGKI_COM_CB *p_cb = &gki_cb.com; local 365 tGKI_COM_CB *p_cb = &gki_cb.com; local 509 tGKI_COM_CB *p_cb = &gki_cb.com; local 712 tGKI_COM_CB *p_cb = &gki_cb.com; local 1103 tGKI_COM_CB *p_cb = &gki_cb.com; local 1148 tGKI_COM_CB *p_cb = &gki_cb.com; local 1178 tGKI_COM_CB *p_cb = &gki_cb.com; local 1210 tGKI_COM_CB *p_cb = &gki_cb.com; local 1351 tGKI_COM_CB *p_cb = &gki_cb.com; local 1424 tGKI_COM_CB *p_cb = &gki_cb.com; local 1478 tGKI_COM_CB *p_cb = &gki_cb.com; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_nci.c | 179 static BOOLEAN nfc_hal_nci_receive_nci_msg (tNFC_HAL_NCIT_CB *p_cb, UINT8 byte) 184 switch (p_cb->rcv_state) 189 p_cb->rcv_state = NFC_HAL_RCV_NCI_HDR_ST; 190 p_cb->rcv_len = NCI_MSG_HDR_SIZE; 193 if ((p_cb->p_rcv_msg = (NFC_HDR *) GKI_getpoolbuf (NFC_HAL_NCI_POOL_ID)) != NULL) 196 p_cb->p_rcv_msg->len = 0; 197 p_cb->p_rcv_msg->event = 0; 198 p_cb->p_rcv_msg->offset = 0; 200 *((UINT8 *) (p_cb->p_rcv_msg + 1) + p_cb->p_rcv_msg->offset + p_cb->p_rcv_msg->len++) = byte 480 tNFC_HAL_NCIT_CB *p_cb = &(nfc_hal_cb.ncit_cb); local [all...] |
/external/libnfc-nci/src/nfa/dm/ |
nfa_dm_ndef.c | 87 tNFA_DM_CB *p_cb = &nfa_dm_cb; local 91 if (p_cb->p_ndef_handler[hdlr_idx]) 93 GKI_freebuf (p_cb->p_ndef_handler[hdlr_idx]); 94 p_cb->p_ndef_handler[hdlr_idx] = NULL; 110 tNFA_DM_CB *p_cb = &nfa_dm_cb; local 116 if (p_cb->p_ndef_handler[i] != NULL) 118 GKI_freebuf (p_cb->p_ndef_handler[i]); 119 p_cb->p_ndef_handler[i] = NULL; 136 tNFA_DM_CB *p_cb = &nfa_dm_cb; local 145 if (p_cb->p_ndef_handler[NFA_NDEF_DEFAULT_HANDLER_IDX] 243 tNFA_DM_CB *p_cb = &nfa_dm_cb; local 342 tNFA_DM_CB *p_cb = &nfa_dm_cb; local 367 tNFA_DM_CB *p_cb = &nfa_dm_cb; local [all...] |
/system/bt/bta/hl/ |
bta_hl_sdp.c | 185 tBTA_HL_APP_CB *p_cb = BTA_HL_GET_APP_CB_PTR(0); local 190 if ((p_cb->sup_feature.app_role_mask == BTA_HL_MDEP_ROLE_MASK_SOURCE) && 191 (!p_cb->sup_feature.advertize_source_sdp)) 198 if (p_cb->sup_feature.app_role_mask == BTA_HL_MDEP_ROLE_MASK_SINK) 204 if (p_cb->sup_feature.app_role_mask != BTA_HL_MDEP_ROLE_MASK_SOURCE) 211 result &= SDP_AddServiceClassIdList(p_cb->sdp_handle, num_services, svc_class_id_list); 218 proto_elem_list[0].params[0] = p_cb->ctrl_psm; 222 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list); 224 result &= SDP_AddProfileDescriptorList(p_cb->sdp_handle, profile_uuid, version); 232 add_proto_list.list_elem[0].params[0] = p_cb->data_psm 388 tBTA_HL_APP_CB *p_cb = BTA_HL_GET_APP_CB_PTR(app_idx); local [all...] |