Home
last modified time | relevance | path

Searched refs:p_srvc_cb (Results 1 – 6 of 6) sorted by relevance

/aosp12/system/bt/bta/gatt/
H A Dbta_gattc_cache.cc119 p_srvc_cb->gatt_database = gatt::Database(); in bta_gattc_init_cache()
120 p_srvc_cb->pending_discovery.Clear(); in bta_gattc_init_cache()
221 p_srvc_cb->gatt_database = p_srvc_cb->pending_discovery.Build(); in bta_gattc_explore_srvc_finished()
239 p_srvc_cb->srvc_disc_count = 0; in bta_gattc_explore_srvc_finished()
275 if (p_srvc_cb == nullptr) { in bta_gattc_sdp_callback()
403 p_srvc_cb->pending_discovery.AddService( in bta_gattc_disc_res_cback()
444 if (p_srvc_cb && in bta_gattc_disc_cmpl_cback()
446 p_srvc_cb->srvc_disc_count++; in bta_gattc_disc_cmpl_cback()
459 if (!p_srvc_cb) return; in bta_gattc_disc_cmpl_cback()
697 tBTA_GATTC_SERV* p_srvc_cb = p_clcb->p_srcb; in bta_gattc_read_ext_prop_desc_cmpl() local
[all …]
H A Dbta_gatts_main.cc83 tBTA_GATTS_SRVC_CB* p_srvc_cb = bta_gatts_find_srvc_cb_by_srvc_id( in bta_gatts_hdl_event() local
86 if (p_srvc_cb != NULL) in bta_gatts_hdl_event()
87 bta_gatts_delete_service(p_srvc_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
95 tBTA_GATTS_SRVC_CB* p_srvc_cb = bta_gatts_find_srvc_cb_by_srvc_id( in bta_gatts_hdl_event() local
98 if (p_srvc_cb != NULL) in bta_gatts_hdl_event()
99 bta_gatts_stop_service(p_srvc_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
H A Dbta_gatts_act.cc301 void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB* p_srvc_cb, in bta_gatts_delete_service() argument
307 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_delete_service()
310 p_srvc_cb->service_id)) { in bta_gatts_delete_service()
312 memset(p_srvc_cb, 0, sizeof(tBTA_GATTS_SRVC_CB)); in bta_gatts_delete_service()
329 void bta_gatts_stop_service(tBTA_GATTS_SRVC_CB* p_srvc_cb, in bta_gatts_stop_service() argument
334 GATTS_StopService(p_srvc_cb->service_id); in bta_gatts_stop_service()
336 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_stop_service()
369 tBTA_GATTS_SRVC_CB* p_srvc_cb; in bta_gatts_indicate_handle() local
377 p_srvc_cb = in bta_gatts_indicate_handle()
380 if (p_srvc_cb) { in bta_gatts_indicate_handle()
[all …]
H A Dbta_gatts_int.h169 extern void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB* p_srvc_cb,
171 extern void bta_gatts_stop_service(tBTA_GATTS_SRVC_CB* p_srvc_cb,
H A Dbta_gattc_act.cc1157 tBTA_GATTC_SERV* p_srvc_cb = bta_gattc_find_srvr_cache(remote_bda); in bta_gattc_process_api_refresh() local
1158 if (p_srvc_cb) { in bta_gattc_process_api_refresh()
1160 if (p_srvc_cb->connected && p_srvc_cb->num_clcb != 0) { in bta_gattc_process_api_refresh()
1164 if (p_clcb->in_use && p_clcb->p_srcb == p_srvc_cb) { in bta_gattc_process_api_refresh()
1176 p_srvc_cb->gatt_database.Clear(); in bta_gattc_process_api_refresh()
H A Dbta_gattc_int.h470 extern void bta_gattc_init_cache(tBTA_GATTC_SERV* p_srvc_cb);