Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sec.cc495 tBTM_SEC_SERV_REC* p_srec; in btm_sec_set_security_level() local
507 p_srec = &btm_cb.sec_serv_rec[0]; in btm_sec_set_security_level()
509 for (index = 0; index < BTM_SEC_MAX_SERVICE_RECORDS; index++, p_srec++) { in btm_sec_set_security_level()
511 if (p_srec->security_flags & BTM_SEC_IN_USE) { in btm_sec_set_security_level()
513 if (p_srec->psm == psm && p_srec->mx_proto_id == mx_proto_id && in btm_sec_set_security_level()
514 service_id == p_srec->service_id && p_name && in btm_sec_set_security_level()
515 (!strncmp(p_name, (char*)p_srec->orig_service_name, in btm_sec_set_security_level()
518 !strncmp(p_name, (char*)p_srec->term_service_name, in btm_sec_set_security_level()
522 if (p_srec->psm == psm && p_srec->mx_proto_id == mx_proto_id && in btm_sec_set_security_level()
523 service_id == p_srec->service_id) in btm_sec_set_security_level()
[all …]
Dbtm_dev.cc219 tBTM_SEC_DEV_REC* p_srec; in BTM_SecReadDevName() local
221 p_srec = btm_find_dev(bd_addr); in BTM_SecReadDevName()
222 if (p_srec != NULL) p_name = (char*)p_srec->sec_bd_name; in BTM_SecReadDevName()