Home
last modified time | relevance | path

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

/system/bt/bta/gatt/
Dbta_gattc_cache.cc69 tBTA_GATTC_SERV* p_srvc_cb);
117 void bta_gattc_init_cache(tBTA_GATTC_SERV* p_srvc_cb) { in bta_gattc_init_cache() argument
118 p_srvc_cb->gatt_database = gatt::Database(); in bta_gattc_init_cache()
119 p_srvc_cb->pending_discovery.Clear(); in bta_gattc_init_cache()
150 tBTA_GATTC_SERV* p_srvc_cb) { in bta_gattc_explore_next_service() argument
157 if (!p_srvc_cb->pending_discovery.StartNextServiceExploration()) { in bta_gattc_explore_next_service()
158 bta_gattc_explore_srvc_finished(conn_id, p_srvc_cb); in bta_gattc_explore_next_service()
162 const auto& service = p_srvc_cb->pending_discovery.CurrentlyExploredService(); in bta_gattc_explore_next_service()
170 tBTA_GATTC_SERV* p_srvc_cb) { in bta_gattc_explore_srvc_finished() argument
180 p_srvc_cb->gatt_database = p_srvc_cb->pending_discovery.Build(); in bta_gattc_explore_srvc_finished()
[all …]
Dbta_gatts_main.cc86 tBTA_GATTS_SRVC_CB* p_srvc_cb = bta_gatts_find_srvc_cb_by_srvc_id( in bta_gatts_hdl_event() local
89 if (p_srvc_cb != NULL) in bta_gatts_hdl_event()
90 bta_gatts_delete_service(p_srvc_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
98 tBTA_GATTS_SRVC_CB* p_srvc_cb = bta_gatts_find_srvc_cb_by_srvc_id( in bta_gatts_hdl_event() local
101 if (p_srvc_cb != NULL) in bta_gatts_hdl_event()
102 bta_gatts_stop_service(p_srvc_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
Dbta_gatts_act.cc302 void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB* p_srvc_cb, in bta_gatts_delete_service() argument
304 tBTA_GATTS_RCB* p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_delete_service()
308 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_delete_service()
310 if (GATTS_DeleteService(p_rcb->gatt_if, &p_srvc_cb->service_uuid, in bta_gatts_delete_service()
311 p_srvc_cb->service_id)) { in bta_gatts_delete_service()
313 memset(p_srvc_cb, 0, sizeof(tBTA_GATTS_SRVC_CB)); in bta_gatts_delete_service()
330 void bta_gatts_stop_service(tBTA_GATTS_SRVC_CB* p_srvc_cb, in bta_gatts_stop_service() argument
332 tBTA_GATTS_RCB* p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_stop_service()
335 GATTS_StopService(p_srvc_cb->service_id); in bta_gatts_stop_service()
337 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_stop_service()
[all …]
Dbta_gatts_int.h166 extern void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB* p_srvc_cb,
168 extern void bta_gatts_stop_service(tBTA_GATTS_SRVC_CB* p_srvc_cb,
Dbta_gattc_act.cc1094 tBTA_GATTC_SERV* p_srvc_cb = bta_gattc_find_srvr_cache(remote_bda); in bta_gattc_process_api_refresh() local
1095 if (p_srvc_cb) { in bta_gattc_process_api_refresh()
1097 if (p_srvc_cb->connected && p_srvc_cb->num_clcb != 0) { in bta_gattc_process_api_refresh()
1101 if (p_clcb->in_use && p_clcb->p_srcb == p_srvc_cb) { in bta_gattc_process_api_refresh()
1113 p_srvc_cb->gatt_database.Clear(); in bta_gattc_process_api_refresh()
Dbta_gattc_int.h445 extern void bta_gattc_init_cache(tBTA_GATTC_SERV* p_srvc_cb);