Searched defs:p_reg (Results 1 - 14 of 14) sorted by relevance

/system/bt/bta/gatt/
H A Dbta_gatts_utils.c92 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 Dbta_gatts_act.c920 tBTA_GATTS_RCB *p_reg; local
934 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if);
936 if (p_reg && p_reg->p_cback)
952 (*p_reg->p_cback)(evt, &cb_data);
/system/bt/bta/ar/
H A Dbta_ar.c101 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/stack/mcap/
H A Dmca_api.c116 ** 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 assert(p_reg != NULL );
131 MCA_TRACE_API ("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 Dmca_main.c518 tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg) argument
528 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG));
/system/bt/bta/sys/
H A Dbta_sys_main.c548 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) argument
550 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg;
/system/bt/stack/avdt/
H A Davdt_api.c109 void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback) argument
115 BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask,
117 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask,
140 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG));
/system/bt/stack/gatt/
H A Dgatt_cl.c439 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);
663 tGATT_REG *p_reg; local
707 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++)
709 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION))
723 for (i = 0, p_reg
[all...]
H A Dgatt_main.c345 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport) argument
384 GATT_TRACE_ERROR("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if);
390 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE);
492 tGATT_REG *p_reg=NULL; local
501 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++)
503 if (p_reg->in_use)
505 if (p_reg->app_cb.p_congestion_cb)
507 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if);
508 (*p_reg
921 tGATT_REG *p_reg; local
[all...]
H A Dgatt_api.c150 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
156 if (p_reg == NULL)
162 p_app_uuid128 = &p_reg->app_uuid128;
401 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
406 if (p_reg == NULL)
411 p_app_uuid128 = &p_reg->app_uuid128;
471 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
477 if (p_reg == NULL)
605 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
610 if ( (p_reg
676 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
725 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
779 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
834 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
903 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
991 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1065 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1201 tGATT_REG *p_reg; local
1250 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1335 tGATT_REG *p_reg; local
1376 tGATT_REG *p_reg; local
1419 tGATT_REG *p_reg; local
1539 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1575 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1607 tGATT_REG *p_reg; local
[all...]
H A Dgatt_int.h396 tGATT_REG *p_reg; /* owner of this CLCB */ member in struct:__anon877
554 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport);
H A Dgatt_utils.c1409 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1411 if (!p_reg )
1413 GATT_TRACE_ERROR ("p_reg not found discard request");
1417 if ( p_reg->in_use &&
1418 p_reg->app_cb.p_req_cb)
1420 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data);
1563 tGATT_REG *p_reg = NULL; local
1571 p_reg = &gatt_cb.cl_rcb[ii - 1];
1573 if (!p_reg->in_use) {
1578 return p_reg;
1625 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2204 tGATT_REG *p_reg=NULL; local
2402 gatt_add_bg_dev_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initator) argument
2557 gatt_remove_bg_dev_from_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initiator) argument
2627 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2699 tGATT_REG *p_reg; local
2763 tGATT_REG *p_reg = &gatt_cb.cl_rcb[0]; local
[all...]
/system/bt/bta/hh/
H A Dbta_hh_le.c240 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) argument
244 if (p_reg->status == BTA_GATT_OK)
246 bta_hh_cb.gatt_if = p_reg->client_if;
/system/bt/bta/include/
H A Dbta_av_api.h507 tBTA_AV_REG *p_reg; /* action function to register VDP */ member in struct:__anon344

Completed in 226 milliseconds