Lines Matching refs:is_originator
87 tBTM_SEC_SERV_REC* btm_sec_find_first_serv(bool is_originator, uint16_t psm);
117 bool is_originator);
411 bool BTM_SetSecurityLevel(bool is_originator, const char* p_name, in BTM_SetSecurityLevel() argument
466 if (is_originator) { in BTM_SetSecurityLevel()
523 index, service_id, logbool(is_originator).c_str(), psm, mx_proto_id, in BTM_SetSecurityLevel()
783 p_dev_rec->is_originator = true; in btm_sec_bond_by_transport()
1102 p_dev_rec->is_originator = false; in BTM_SetEncryption()
1428 bool is_originator) { in btm_sec_is_upgrade_possible() argument
1429 uint16_t mtm_check = is_originator ? BTM_SEC_OUT_MITM : BTM_SEC_IN_MITM; in btm_sec_is_upgrade_possible()
1471 bool is_originator) { in btm_sec_check_upgrade() argument
1477 if (btm_sec_is_upgrade_possible(p_dev_rec, is_originator)) { in btm_sec_check_upgrade()
1490 const RawAddress& bd_addr, uint16_t security_required, bool is_originator, in btm_sec_l2cap_access_req_by_requirement() argument
1496 logbool(is_originator).c_str()); in btm_sec_l2cap_access_req_by_requirement()
1508 if ((!is_originator) && (security_required & BTM_SEC_MODE4_LEVEL4)) { in btm_sec_l2cap_access_req_by_requirement()
1539 (!btm_sec_is_upgrade_possible(p_dev_rec, is_originator)))) { in btm_sec_l2cap_access_req_by_requirement()
1542 if (is_originator) { in btm_sec_l2cap_access_req_by_requirement()
1593 if (is_originator) { in btm_sec_l2cap_access_req_by_requirement()
1608 p_dev_rec->sec_flags, (is_originator) ? "initiator" : "acceptor"); in btm_sec_l2cap_access_req_by_requirement()
1622 p_dev_rec->is_originator = is_originator; in btm_sec_l2cap_access_req_by_requirement()
1669 btm_sec_check_upgrade(p_dev_rec, is_originator); in btm_sec_l2cap_access_req_by_requirement()
1703 bool is_originator, in btm_sec_l2cap_access_req() argument
1709 LOG_DEBUG("is_originator:%d, psm=0x%04x", is_originator, psm); in btm_sec_l2cap_access_req()
1712 tBTM_SEC_SERV_REC* p_serv_rec = btm_sec_find_first_serv(is_originator, psm); in btm_sec_l2cap_access_req()
1731 p_serv_rec->security_flags, is_originator); in btm_sec_l2cap_access_req()
1737 bd_addr, security_required, is_originator, p_callback, p_ref_data); in btm_sec_l2cap_access_req()
1764 bool is_originator, in btm_sec_mx_access_request() argument
1774 bd_addr, is_originator, security_required, p_callback, p_ref_data); in btm_sec_mx_access_request()
1793 (!btm_sec_is_upgrade_possible(p_dev_rec, is_originator)))) { in btm_sec_mx_access_request()
1796 if (is_originator) { in btm_sec_mx_access_request()
1835 btm_sec_queue_mx_request(bd_addr, BT_PSM_RFCOMM, is_originator, in btm_sec_mx_access_request()
1848 if ((!is_originator) && ((security_required & BTM_SEC_MODE4_LEVEL4) || in btm_sec_mx_access_request()
1895 btm_sec_check_upgrade(p_dev_rec, is_originator); in btm_sec_mx_access_request()
1900 p_dev_rec->is_originator = is_originator; in btm_sec_mx_access_request()
3649 logbool(p_dev_rec->is_originator).c_str()); in btm_sec_connected()
3651 p_dev_rec->is_originator) { in btm_sec_connected()
4408 tBTM_SEC_SERV_REC* btm_sec_find_first_serv(bool is_originator, uint16_t psm) { in btm_sec_find_first_serv() argument
4412 if (is_originator && btm_cb.p_out_serv && btm_cb.p_out_serv->psm == psm) { in btm_sec_find_first_serv()
4788 bool is_originator) { in btm_sec_set_serv_level4_flags() argument
4790 is_originator ? BTM_SEC_OUT_LEVEL4_FLAGS : BTM_SEC_IN_LEVEL4_FLAGS; in btm_sec_set_serv_level4_flags()
4893 p_dev_rec->is_originator) { in btm_sec_set_peer_sec_caps()