/system/bt/stack/gatt/ |
H A D | gatt_api.c | 149 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 155 if (p_reg == NULL) 161 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 675 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 724 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 778 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 833 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 901 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 990 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1054 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1190 tGATT_REG *p_reg; local 1241 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1321 tGATT_REG *p_reg; local 1362 tGATT_REG *p_reg; local 1405 tGATT_REG *p_reg; local 1521 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1557 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1589 tGATT_REG *p_reg; local [all...] |
H A D | gatt_utils.c | 1464 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 1466 if (!p_reg ) 1468 GATT_TRACE_ERROR ("p_reg not found discard request"); 1472 if ( p_reg->in_use && 1473 p_reg->app_cb.p_req_cb) 1475 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); 1618 tGATT_REG *p_reg = NULL; local 1626 p_reg = &gatt_cb.cl_rcb[ii - 1]; 1628 if (!p_reg->in_use) { 1633 return p_reg; 1680 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 2257 tGATT_REG *p_reg=NULL; local 2458 gatt_add_bg_dev_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initator) argument 2613 gatt_remove_bg_dev_from_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initiator) argument 2683 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local 2755 tGATT_REG *p_reg; local 2819 tGATT_REG *p_reg = &gatt_cb.cl_rcb[0]; local [all...] |
H A D | gatt_cl.c | 439 if (p_clcb->p_reg->app_cb.p_disc_res_cb) 440 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); 500 if (p_clcb->p_reg->app_cb.p_disc_res_cb) 501 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); 667 tGATT_REG *p_reg; local 712 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) 714 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) 728 for (i = 0, p_reg [all...] |
H A D | gatt_main.c | 373 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport) argument 415 GATT_TRACE_ERROR("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if); 421 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE); 523 tGATT_REG *p_reg=NULL; local 532 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++) 534 if (p_reg->in_use) 536 if (p_reg->app_cb.p_congestion_cb) 538 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); 539 (*p_reg 952 tGATT_REG *p_reg; local [all...] |
H A D | gatt_int.h | 396 tGATT_REG *p_reg; /* owner of this CLCB */ member in struct:__anon918 535 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport);
|
/system/bt/bta/gatt/ |
H A D | bta_gatts_utils.c | 92 tBTA_GATTS_RCB *p_reg; local 94 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++) 96 if (p_reg->in_use && p_reg->gatt_if == server_if) 97 return p_reg;
|
H A D | bta_gatts_act.c | 897 tBTA_GATTS_RCB *p_reg; local 911 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if); 913 if (p_reg && p_reg->p_cback) 929 (*p_reg->p_cback)(evt, &cb_data);
|
/system/bt/bta/include/ |
H A D | bta_ar_api.h | 63 extern void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id);
|
H A D | bta_av_api.h | 518 tBTA_AV_REG *p_reg; /* action function to register VDP */ member in struct:__anon341
|
/system/bt/stack/mcap/ |
H A D | mca_api.c | 114 ** If the given p_reg->ctrl_psm is 0, this handle is INT only. 119 tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback) argument 126 assert(p_reg != NULL ); 129 MCA_TRACE_API ("MCA_Register: ctrl_psm:0x%x, data_psm:0x%x", p_reg->ctrl_psm, p_reg->data_psm); 131 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL) 133 if (p_reg->ctrl_psm) 135 if (L2C_INVALID_PSM(p_reg->ctrl_psm) || L2C_INVALID_PSM(p_reg->data_psm)) 146 if (L2CA_Register(p_reg [all...] |
H A D | mca_main.c | 518 tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg) argument 528 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG));
|
H A D | mca_int.h | 316 extern tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg);
|
/system/bt/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);
|
/system/bt/bta/sys/ |
H A D | bta_sys_main.c | 521 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) argument 523 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg;
|
H A D | bta_sys.h | 226 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg);
|
/system/bt/stack/avdt/ |
H A D | avdt_api.c | 91 void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback) argument 97 BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, 99 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, 122 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG));
|
/system/bt/stack/include/ |
H A D | mca_api.h | 259 ** If the given p_reg->ctrl_psm is 0, this handle is INT only. 264 extern tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback);
|
H A D | avdt_api.h | 435 extern void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback);
|
/system/bt/bta/av/ |
H A D | bta_av_main.c | 325 if(p_bta_av_cfg->p_act_tbl == NULL || p_bta_av_cfg->p_reg == NULL) 731 (*p_bta_av_cfg->p_reg)(&cs, p_service_name, p_scb);
|
/system/bt/bta/hh/ |
H A D | bta_hh_le.c | 368 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) argument 372 if (p_reg->status == BTA_GATT_OK) 374 bta_hh_cb.gatt_if = p_reg->client_if;
|