Searched refs:p_srcb (Results 1 – 4 of 4) sorted by relevance
/system/bt/bta/gatt/ |
D | bta_gattc_utils.c | 237 if ((p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda)) == NULL) in bta_gattc_clcb_alloc() 238 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda); in bta_gattc_clcb_alloc() 240 if (p_clcb->p_rcb != NULL && p_clcb->p_srcb != NULL) in bta_gattc_clcb_alloc() 242 p_clcb->p_srcb->num_clcb ++; in bta_gattc_clcb_alloc() 288 tBTA_GATTC_SERV *p_srcb = NULL; in bta_gattc_clcb_dealloc() local 292 p_srcb = p_clcb->p_srcb; in bta_gattc_clcb_dealloc() 293 if (p_srcb->num_clcb) in bta_gattc_clcb_dealloc() 294 p_srcb->num_clcb --; in bta_gattc_clcb_dealloc() 300 if ( p_srcb->num_clcb == 0) in bta_gattc_clcb_dealloc() 302 p_srcb->connected = FALSE; in bta_gattc_clcb_dealloc() [all …]
|
D | bta_gattc_act.c | 101 void bta_gattc_reset_discover_st(tBTA_GATTC_SERV *p_srcb, tBTA_GATT_STATUS status); 694 APPL_TRACE_DEBUG("bta_gattc_conn server cache state=%d",p_clcb->p_srcb->state); in bta_gattc_conn() 705 p_clcb->p_srcb->connected = TRUE; in bta_gattc_conn() 707 if (p_clcb->p_srcb->mtu == 0) in bta_gattc_conn() 708 p_clcb->p_srcb->mtu = GATT_DEF_BLE_MTU_SIZE; in bta_gattc_conn() 711 if (p_clcb->p_srcb->p_srvc_cache == NULL || in bta_gattc_conn() 712 p_clcb->p_srcb->state != BTA_GATTC_SERV_IDLE) in bta_gattc_conn() 714 if (p_clcb->p_srcb->state == BTA_GATTC_SERV_IDLE) in bta_gattc_conn() 716 p_clcb->p_srcb->state = BTA_GATTC_SERV_LOAD; in bta_gattc_conn() 718 bta_gattc_reset_discover_st(p_clcb->p_srcb, BTA_GATT_OK); in bta_gattc_conn() [all …]
|
D | bta_gattc_cache.c | 52 tBTA_GATTC_DESCRIPTOR* bta_gattc_get_descriptor_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handle); 53 tBTA_GATTC_CHARACTERISTIC* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handl… 514 p_clcb->p_srcb->state = BTA_GATTC_SERV_SAVE; in bta_gattc_explore_srvc() 517 bta_gattc_cache_save(p_clcb->p_srcb, p_clcb->bta_conn_id); in bta_gattc_explore_srvc() 520 bta_gattc_reset_discover_st(p_clcb->p_srcb, BTA_GATT_OK); in bta_gattc_explore_srvc() 986 if (!p_clcb->p_srcb->p_srvc_cache || list_is_empty(p_clcb->p_srcb->p_srvc_cache)) in bta_gattc_search_service() 989 for (list_node_t *sn = list_begin(p_clcb->p_srcb->p_srvc_cache); in bta_gattc_search_service() 990 sn != list_end(p_clcb->p_srcb->p_srvc_cache); sn = list_next(sn)) { in bta_gattc_search_service() 1015 list_t* bta_gattc_get_services_srcb(tBTA_GATTC_SERV *p_srcb) { in bta_gattc_get_services_srcb() argument 1016 if (!p_srcb || !p_srcb->p_srvc_cache || list_is_empty(p_srcb->p_srvc_cache)) in bta_gattc_get_services_srcb() [all …]
|
D | bta_gattc_int.h | 327 tBTA_GATTC_SERV *p_srcb; /* server cache CB */ member 469 extern BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb, tB… 473 extern void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV *p_srcb, UINT16 conn_id, UINT16 star… 484 tBTA_GATTC_CHARACTERISTIC* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handl… 491 extern void bta_gattc_reset_discover_st(tBTA_GATTC_SERV *p_srcb, tBTA_GATT_STATUS status);
|