Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_dev.cc225 tBTM_SEC_DEV_REC* p_srec; in BTM_SecReadDevName() local
227 p_srec = btm_find_dev(bd_addr); in BTM_SecReadDevName()
228 if (p_srec != NULL) p_name = (char*)p_srec->sec_bd_name; in BTM_SecReadDevName()
Dbtm_sec.cc424 tBTM_SEC_SERV_REC* p_srec; in BTM_SetSecurityLevel() local
434 p_srec = &btm_cb.sec_serv_rec[0]; in BTM_SetSecurityLevel()
436 for (index = 0; index < BTM_SEC_MAX_SERVICE_RECORDS; index++, p_srec++) { in BTM_SetSecurityLevel()
438 if (p_srec->security_flags & BTM_SEC_IN_USE) { in BTM_SetSecurityLevel()
440 if (p_srec->psm == psm && p_srec->mx_proto_id == mx_proto_id && in BTM_SetSecurityLevel()
441 service_id == p_srec->service_id && p_name && in BTM_SetSecurityLevel()
442 (!strncmp(p_name, (char*)p_srec->orig_service_name, in BTM_SetSecurityLevel()
445 !strncmp(p_name, (char*)p_srec->term_service_name, in BTM_SetSecurityLevel()
449 if (p_srec->psm == psm && p_srec->mx_proto_id == mx_proto_id && in BTM_SetSecurityLevel()
450 service_id == p_srec->service_id) in BTM_SetSecurityLevel()
[all …]