Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sec.c521 tBTM_SEC_SERV_REC *p_srec; in btm_sec_set_security_level() local
551 p_srec = &btm_cb.sec_serv_rec[0]; in btm_sec_set_security_level()
553 for (index = 0; index < BTM_SEC_MAX_SERVICE_RECORDS; index++, p_srec++) in btm_sec_set_security_level()
556 if (p_srec->security_flags & BTM_SEC_IN_USE) in btm_sec_set_security_level()
559 if (p_srec->psm == psm && in btm_sec_set_security_level()
560 p_srec->mx_proto_id == mx_proto_id && in btm_sec_set_security_level()
561 service_id == p_srec->service_id && in btm_sec_set_security_level()
563 (!strncmp (p_name, (char *) p_srec->orig_service_name, in btm_sec_set_security_level()
565 !strncmp (p_name, (char *) p_srec->term_service_name, in btm_sec_set_security_level()
568 if (p_srec->psm == psm && in btm_sec_set_security_level()
[all …]
Dbtm_dev.c223 tBTM_SEC_DEV_REC *p_srec; in BTM_SecReadDevName() local
225 if ((p_srec = btm_find_dev(bd_addr)) != NULL) in BTM_SecReadDevName()
226 p_name = (char *)p_srec->sec_bd_name; in BTM_SecReadDevName()