Home
last modified time | relevance | path

Searched refs:p_srcb (Results 1 – 4 of 4) sorted by relevance

/system/bt/bta/gatt/
Dbta_gattc_act.c701 APPL_TRACE_DEBUG("bta_gattc_conn server cache state=%d",p_clcb->p_srcb->state); in bta_gattc_conn()
712 p_clcb->p_srcb->connected = TRUE; in bta_gattc_conn()
714 if (p_clcb->p_srcb->mtu == 0) in bta_gattc_conn()
715 p_clcb->p_srcb->mtu = GATT_DEF_BLE_MTU_SIZE; in bta_gattc_conn()
718 if (p_clcb->p_srcb->p_srvc_cache == NULL || in bta_gattc_conn()
719 p_clcb->p_srcb->state != BTA_GATTC_SERV_IDLE) in bta_gattc_conn()
721 if (p_clcb->p_srcb->state == BTA_GATTC_SERV_IDLE) in bta_gattc_conn()
723 p_clcb->p_srcb->state = BTA_GATTC_SERV_LOAD; in bta_gattc_conn()
733 if (p_clcb->p_srcb->srvc_hdl_chg) in bta_gattc_conn()
735 p_clcb->p_srcb->srvc_hdl_chg = FALSE; in bta_gattc_conn()
[all …]
Dbta_gattc_utils.c238 if ((p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda)) == NULL) in bta_gattc_clcb_alloc()
239 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda); in bta_gattc_clcb_alloc()
241 if (p_clcb->p_rcb != NULL && p_clcb->p_srcb != NULL) in bta_gattc_clcb_alloc()
243 p_clcb->p_srcb->num_clcb ++; in bta_gattc_clcb_alloc()
289 tBTA_GATTC_SERV *p_srcb = NULL; in bta_gattc_clcb_dealloc() local
293 p_srcb = p_clcb->p_srcb; in bta_gattc_clcb_dealloc()
294 if (p_srcb->num_clcb) in bta_gattc_clcb_dealloc()
295 p_srcb->num_clcb --; in bta_gattc_clcb_dealloc()
301 if ( p_srcb->num_clcb == 0) in bta_gattc_clcb_dealloc()
303 p_srcb->connected = FALSE; in bta_gattc_clcb_dealloc()
[all …]
Dbta_gattc_cache.c610 p_clcb->p_srcb->state = BTA_GATTC_SERV_SAVE; in bta_gattc_explore_srvc()
1066 UINT16 bta_gattc_id2handle(tBTA_GATTC_SERV *p_srcb, tBTA_GATT_SRVC_ID *p_service_id, in bta_gattc_id2handle() argument
1069 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache; in bta_gattc_id2handle()
1164 BOOLEAN bta_gattc_handle2id(tBTA_GATTC_SERV *p_srcb, UINT16 handle, tBTA_GATT_SRVC_ID *p_service_id, in bta_gattc_handle2id() argument
1167 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache; in bta_gattc_handle2id()
1250 tBTA_GATTC_SERV *p_srcb = p_clcb->p_srcb; in bta_gattc_search_service() local
1251 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache; in bta_gattc_search_service()
1290 static tBTA_GATT_STATUS bta_gattc_find_record(tBTA_GATTC_SERV *p_srcb, in bta_gattc_find_record() argument
1298 tBTA_GATTC_CACHE *p_cache = p_srcb->p_srvc_cache; in bta_gattc_find_record()
1448 if (p_clcb->p_srcb && in bta_gattc_query_cache()
[all …]
Dbta_gattc_int.h373 tBTA_GATTC_SERV *p_srcb; /* server cache CB */ member
520 extern UINT16 bta_gattc_id2handle(tBTA_GATTC_SERV *p_srcb, tBTA_GATT_SRVC_ID *p_service_id, tBTA_GA…
521 extern BOOLEAN bta_gattc_handle2id(tBTA_GATTC_SERV *p_srcb, UINT16 handle, tBTA_GATT_SRVC_ID *servi…
524 extern BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb, tB…
525 extern tBTA_GATT_STATUS bta_gattc_pack_read_cb_data(tBTA_GATTC_SERV *p_srcb, tBT_UUID *p_descr_uuid…