/external/bluetooth/bluedroid/bta/gatt/ |
H A D | bta_gatts_utils.c | 93 tBTA_GATTS_RCB *p_reg; local 95 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++) 97 if (p_reg->in_use && p_reg->gatt_if == server_if) 98 return p_reg;
|
H A D | bta_gatts_act.c | 884 tBTA_GATTS_RCB *p_reg; local 891 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if); 893 if (p_reg && p_reg->p_cback) 908 (*p_reg->p_cback)(evt, &cb_data);
|
/external/bluetooth/bluedroid/bta/ar/ |
H A D | bta_ar.c | 101 void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id) argument 126 AVDT_Register(p_reg, bta_ar_avdt_cback);
|
/external/libnfc-nci/src/nfa/sys/ |
H A D | nfa_sys_main.c | 127 void nfa_sys_register (UINT8 id, const tNFA_SYS_REG *p_reg) argument 129 nfa_sys_cb.reg[id] = (tNFA_SYS_REG *) p_reg; 137 if (p_reg->proc_nfcc_pwr_mode)
|
/external/bluetooth/bluedroid/stack/mcap/ |
H A D | mca_api.c | 116 ** If the given p_reg->ctrl_psm is 0, this handle is INT only. 121 tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback) argument 128 WC_ASSERT(p_reg != NULL ); 131 MCA_TRACE_API2 ("MCA_Register: ctrl_psm:0x%x, data_psm:0x%x", p_reg->ctrl_psm, p_reg->data_psm); 133 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL) 135 if (p_reg->ctrl_psm) 137 if (L2C_INVALID_PSM(p_reg->ctrl_psm) || L2C_INVALID_PSM(p_reg->data_psm)) 148 if (L2CA_Register(p_reg [all...] |
H A D | mca_main.c | 513 tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg) argument 523 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG));
|
/external/bluetooth/bluedroid/bta/sys/ |
H A D | bta_sys_main.c | 545 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) argument 547 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg;
|
/external/bluetooth/bluedroid/stack/avdt/ |
H A D | avdt_api.c | 113 void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback) argument 122 BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, 124 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, 152 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG));
|
/external/bluetooth/bluedroid/stack/gatt/ |
H A D | gatt_cl.c | 428 if (p_clcb->p_reg->app_cb.p_disc_res_cb) 429 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); 486 if (p_clcb->p_reg->app_cb.p_disc_res_cb) 487 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); 643 tGATT_REG *p_reg; local 687 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) 689 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) 703 for (i = 0, p_reg [all...] |
H A D | gatt_main.c | 318 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr) argument 360 GATT_TRACE_ERROR1("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if); 366 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE); 828 tGATT_REG *p_reg; local 835 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++) 837 if (p_reg->in_use) 839 if (p_bg_dev && gatt_is_bg_dev_for_app(p_bg_dev, p_reg->gatt_if)) 840 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, TRUE); 842 if (p_reg [all...] |
H A D | gatt_api.c | 150 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 156 if (p_reg == NULL) 162 p_app_uuid128 = &p_reg->app_uuid128; 400 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 405 if (p_reg == NULL) 410 p_app_uuid128 = &p_reg->app_uuid128; 470 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 476 if (p_reg == NULL) 604 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 609 if ( (p_reg 674 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 718 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 772 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 824 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 893 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 981 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1055 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1187 tGATT_REG *p_reg; local 1236 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1320 tGATT_REG *p_reg; local 1360 tGATT_REG *p_reg; local 1396 tGATT_REG *p_reg; local 1514 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1547 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1579 tGATT_REG *p_reg; local [all...] |
H A D | gatt_int.h | 383 tGATT_REG *p_reg; /* owner of this CLCB */ member in struct:__anon1167 525 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr);
|
H A D | gatt_utils.c | 1325 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1327 if (!p_reg ) 1329 GATT_TRACE_ERROR0 ("p_reg not found discard request"); 1333 if ( p_reg->in_use && 1334 p_reg->app_cb.p_req_cb) 1336 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); 1471 tGATT_REG *p_reg = NULL; local 1476 p_reg = &gatt_cb.cl_rcb[ii]; 1477 if ( (ii < GATT_MAX_APPS) && (p_reg->in_use) ) 1478 return(p_reg); 1528 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 2104 tGATT_REG *p_reg=NULL; local 2297 gatt_add_bg_dev_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initator) argument 2452 gatt_remove_bg_dev_from_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initiator) argument 2522 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 2594 tGATT_REG *p_reg; local 2639 tGATT_REG *p_reg; local 2706 tGATT_REG *p_reg = &gatt_cb.cl_rcb[0]; local [all...] |
/external/bluetooth/bluedroid/bta/hh/ |
H A D | bta_hh_le.c | 230 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) argument 234 if (p_reg->status == BTA_GATT_OK) 236 bta_hh_cb.gatt_if = p_reg->client_if;
|
/external/bluetooth/bluedroid/bta/include/ |
H A D | bta_av_api.h | 495 tBTA_AV_REG *p_reg; /* action function to register VDP */ member in struct:__anon698
|