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.cc61 tBTA_GATTC_SERV* p_srvc_cb);
118 void bta_gattc_init_cache(tBTA_GATTC_SERV* p_srvc_cb) { in bta_gattc_init_cache() argument
119 p_srvc_cb->gatt_database = gatt::Database(); in bta_gattc_init_cache()
120 p_srvc_cb->pending_discovery.Clear(); in bta_gattc_init_cache()
151 tBTA_GATTC_SERV* p_srvc_cb) { in bta_gattc_explore_next_service() argument
158 if (p_srvc_cb->pending_discovery.StartNextServiceExploration()) { in bta_gattc_explore_next_service()
160 p_srvc_cb->pending_discovery.CurrentlyExploredService(); in bta_gattc_explore_next_service()
172 p_srvc_cb->pending_discovery.DescriptorHandlesToRead(); in bta_gattc_explore_next_service()
178 if (p_srvc_cb->read_multiple_not_supported || descriptors.size() == 1) { in bta_gattc_explore_next_service()
207 bta_gattc_explore_srvc_finished(conn_id, p_srvc_cb); in bta_gattc_explore_next_service()
[all …]
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()
Dbta_gatts_act.cc301 void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB* p_srvc_cb, in bta_gatts_delete_service() argument
303 tBTA_GATTS_RCB* p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_delete_service()
307 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_delete_service()
309 if (GATTS_DeleteService(p_rcb->gatt_if, &p_srvc_cb->service_uuid, 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
331 tBTA_GATTS_RCB* p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_stop_service()
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()
[all …]
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,
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()
Dbta_gattc_int.h470 extern void bta_gattc_init_cache(tBTA_GATTC_SERV* p_srvc_cb);