Home
last modified time | relevance | path

Searched refs:p_serv_rec (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/btm/
Dbtm_sec.c103 static BOOLEAN btm_serv_trusted(tBTM_SEC_DEV_REC *p_dev_rec, tBTM_SEC_SERV_REC *p_serv_rec);
212 static BOOLEAN btm_serv_trusted(tBTM_SEC_DEV_REC *p_dev_rec, tBTM_SEC_SERV_REC *p_serv_rec) in btm_serv_trusted() argument
214 if(BTM_SEC_IS_SERVICE_TRUSTED(p_dev_rec->trusted_mask, p_serv_rec->service_id)) in btm_serv_trusted()
1963 tBTM_SEC_SERV_REC *p_serv_rec = &btm_cb.sec_serv_rec[0]; in BTM_SetOutService() local
1965 btm_cb.p_out_serv = p_serv_rec; in BTM_SetOutService()
1968 for (int i = 0; i < BTM_SEC_MAX_SERVICE_RECORDS; i++, p_serv_rec++) in BTM_SetOutService()
1970 if ((p_serv_rec->security_flags & BTM_SEC_IN_USE) in BTM_SetOutService()
1971 && (p_serv_rec->service_id == service_id) in BTM_SetOutService()
1972 && (p_serv_rec->orig_mx_chan_id == mx_chan_id)) in BTM_SetOutService()
1975p_serv_rec->service_id, p_serv_rec->psm, p_serv_rec->mx_proto_id, p_serv_rec->orig_mx_chan_id); in BTM_SetOutService()
[all …]
Dbtm_ble.c963 tBTM_SEC_SERV_REC *p_serv_rec = btm_sec_find_first_serv (is_originator, psm); in btm_ble_start_sec_check() local
966 if (!p_serv_rec) in btm_ble_start_sec_check()
974 bd_addr, p_serv_rec->security_flags); in btm_ble_start_sec_check()