Lines Matching refs:p_srcb
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()
1019 return p_srcb->p_srvc_cache; in bta_gattc_get_services_srcb()
1028 tBTA_GATTC_SERV *p_srcb = p_clcb->p_srcb; in bta_gattc_get_services() local
1030 return bta_gattc_get_services_srcb(p_srcb); in bta_gattc_get_services()
1048 const tBTA_GATTC_SERVICE* bta_gattc_get_service_for_handle_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 ha… in bta_gattc_get_service_for_handle_srcb() argument
1049 const list_t *services = bta_gattc_get_services_srcb(p_srcb); in bta_gattc_get_service_for_handle_srcb()
1060 tBTA_GATTC_CHARACTERISTIC* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handl… in bta_gattc_get_characteristic_srcb() argument
1061 const tBTA_GATTC_SERVICE* service = bta_gattc_get_service_for_handle_srcb(p_srcb, handle); in bta_gattc_get_characteristic_srcb()
1082 tBTA_GATTC_SERV *p_srcb = p_clcb->p_srcb; in bta_gattc_get_characteristic() local
1083 return bta_gattc_get_characteristic_srcb(p_srcb, handle); in bta_gattc_get_characteristic()
1086 tBTA_GATTC_DESCRIPTOR* bta_gattc_get_descriptor_srcb(tBTA_GATTC_SERV *p_srcb, UINT16 handle) { in bta_gattc_get_descriptor_srcb() argument
1087 const tBTA_GATTC_SERVICE* service = bta_gattc_get_service_for_handle_srcb(p_srcb, handle); in bta_gattc_get_descriptor_srcb()
1113 tBTA_GATTC_SERV *p_srcb = p_clcb->p_srcb; in bta_gattc_get_descriptor() local
1114 return bta_gattc_get_descriptor_srcb(p_srcb, handle); in bta_gattc_get_descriptor()
1327 if (!p_clcb->p_srcb || p_clcb->p_srcb->p_srvc_list || /* no active discovery */ in bta_gattc_get_gatt_db()
1328 !p_clcb->p_srcb->p_srvc_cache) { in bta_gattc_get_gatt_db()
1332 bta_gattc_get_gatt_db_impl(p_clcb->p_srcb, start_handle, end_handle, db, count); in bta_gattc_get_gatt_db()
1521 bta_gattc_generate_cache_file_name(fname, p_clcb->p_srcb->server_bda); in bta_gattc_cache_load()
1558 bta_gattc_rebuild_cache(p_clcb->p_srcb, num_attr, attr); in bta_gattc_cache_load()