Home
last modified time | relevance | path

Searched refs:BTM_SetSecurityLevel (Results 1 – 15 of 15) sorted by relevance

/system/bt/stack/pan/
Dpan_utils.cc128 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_NAP, sec_mask, in pan_register_with_sdp()
131 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_NAP, in pan_register_with_sdp()
140 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_GN, sec_mask, in pan_register_with_sdp()
143 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_GN, sec_mask, in pan_register_with_sdp()
152 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp()
155 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp()
/system/bt/stack/avct/
Davct_api.cc70 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_PSM, 0, in AVCT_Register()
72 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_PSM, 0, in AVCT_Register()
92 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_BR_PSM, in AVCT_Register()
94 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_BR_PSM, in AVCT_Register()
/system/bt/stack/hid/
Dhidh_api.cc465 if (!BTM_SetSecurityLevel(false, serv_name, BTM_SEC_SERVICE_HIDH_SEC_CTRL, in HID_HostSetSecurityLevel()
472 if (!BTM_SetSecurityLevel(true, serv_name, BTM_SEC_SERVICE_HIDH_SEC_CTRL, in HID_HostSetSecurityLevel()
479 if (!BTM_SetSecurityLevel(false, serv_name, BTM_SEC_SERVICE_HIDH_NOSEC_CTRL, in HID_HostSetSecurityLevel()
486 if (!BTM_SetSecurityLevel(true, serv_name, BTM_SEC_SERVICE_HIDH_NOSEC_CTRL, in HID_HostSetSecurityLevel()
493 if (!BTM_SetSecurityLevel(true, serv_name, BTM_SEC_SERVICE_HIDH_INTR, in HID_HostSetSecurityLevel()
500 if (!BTM_SetSecurityLevel(false, serv_name, BTM_SEC_SERVICE_HIDH_INTR, in HID_HostSetSecurityLevel()
Dhidd_api.cc131 if (!BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_HIDD_SEC_CTRL, sec_lvl, in HID_DevSetSecurityLevel()
137 if (!BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_HIDD_SEC_CTRL, sec_lvl, in HID_DevSetSecurityLevel()
143 if (!BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_HIDD_NOSEC_CTRL, in HID_DevSetSecurityLevel()
150 if (!BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_HIDD_NOSEC_CTRL, in HID_DevSetSecurityLevel()
157 if (!BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_HIDD_INTR, BTM_SEC_NONE, in HID_DevSetSecurityLevel()
163 if (!BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_HIDD_INTR, BTM_SEC_NONE, in HID_DevSetSecurityLevel()
/system/bt/bta/hf_client/
Dbta_hf_client_rfc.cc184 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_HF_HANDSFREE, in bta_hf_client_start_server()
245 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_HF_HANDSFREE, in bta_hf_client_rfc_do_open()
/system/bt/stack/avdt/
Davdt_api.cc97 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
99 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
103 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
105 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
109 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
111 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
Davdt_ccb_act.cc945 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP, in avdt_ccb_set_conn()
/system/bt/bta/ag/
Dbta_ag_rfc.cc250 BTM_SetSecurityLevel(false, "", bta_ag_sec_id[i], p_scb->serv_sec_mask, in bta_ag_start_servers()
333 BTM_SetSecurityLevel(true, "", bta_ag_sec_id[p_scb->conn_service], in bta_ag_rfc_do_open()
/system/bt/stack/sdp/
Dsdp_main.cc86 if (!BTM_SetSecurityLevel(false, SDP_SERVICE_NAME, BTM_SEC_SERVICE_SDP_SERVER, in sdp_init()
94 if (!BTM_SetSecurityLevel(true, SDP_SERVICE_NAME, BTM_SEC_SERVICE_SDP_SERVER, in sdp_init()
/system/bt/stack/include/
Dbtm_api.h1064 extern bool BTM_SetSecurityLevel(bool is_originator, const char* p_name,
/system/bt/stack/gatt/
Dgatt_main.cc125 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_ATT, BTM_SEC_NONE, BT_PSM_ATT, in gatt_init()
127 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_ATT, BTM_SEC_NONE, BT_PSM_ATT, in gatt_init()
/system/bt/main/shim/
Dbtm_api.h1619 bool BTM_SetSecurityLevel(bool is_originator, const char* p_name,
/system/bt/stack/gap/
Dgap_conn.cc272 if (!BTM_SetSecurityLevel((uint8_t)!is_server, p_serv_name, p_ccb->service_id, in GAP_ConnOpen()
/system/bt/bta/jv/
Dbta_jv_act.cc1349 !BTM_SetSecurityLevel(true, "", sec_id, sec_mask, BT_PSM_RFCOMM, in bta_jv_rfcomm_connect()
1664 !BTM_SetSecurityLevel(false, "JV PORT", sec_id, sec_mask, BT_PSM_RFCOMM, in bta_jv_rfcomm_start_server()
/system/bt/stack/btm/
Dbtm_sec.cc421 bool BTM_SetSecurityLevel(bool is_originator, const char* p_name, in BTM_SetSecurityLevel() function
2479 BTM_SetSecurityLevel(false, "RFC_MUX", BTM_SEC_SERVICE_RFC_MUX, in btm_sec_dev_reset()