Home
last modified time | relevance | path

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

/system/bt/stack/pan/
Dpan_utils.cc127 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_NAP, sec_mask, in pan_register_with_sdp()
130 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_NAP, in pan_register_with_sdp()
139 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_GN, sec_mask, in pan_register_with_sdp()
142 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_GN, sec_mask, in pan_register_with_sdp()
151 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp()
154 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp()
/system/bt/stack/avct/
Davct_api.cc62 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_PSM, 0, in AVCT_Register()
64 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_PSM, 0, in AVCT_Register()
75 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_BR_PSM, in AVCT_Register()
77 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_BR_PSM, in AVCT_Register()
/system/bt/stack/hid/
Dhidd_api.cc133 if (!BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_HIDD_SEC_CTRL, sec_lvl, in HID_DevSetSecurityLevel()
139 if (!BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_HIDD_SEC_CTRL, sec_lvl, in HID_DevSetSecurityLevel()
145 if (!BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_HIDD_NOSEC_CTRL, in HID_DevSetSecurityLevel()
152 if (!BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_HIDD_NOSEC_CTRL, in HID_DevSetSecurityLevel()
159 if (!BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_HIDD_INTR, BTM_SEC_NONE, in HID_DevSetSecurityLevel()
165 if (!BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_HIDD_INTR, BTM_SEC_NONE, in HID_DevSetSecurityLevel()
Dhidh_api.cc469 if (!BTM_SetSecurityLevel(false, serv_name, BTM_SEC_SERVICE_HIDH_SEC_CTRL, in HID_HostSetSecurityLevel()
476 if (!BTM_SetSecurityLevel(true, serv_name, BTM_SEC_SERVICE_HIDH_SEC_CTRL, in HID_HostSetSecurityLevel()
483 if (!BTM_SetSecurityLevel(false, serv_name, BTM_SEC_SERVICE_HIDH_NOSEC_CTRL, in HID_HostSetSecurityLevel()
490 if (!BTM_SetSecurityLevel(true, serv_name, BTM_SEC_SERVICE_HIDH_NOSEC_CTRL, in HID_HostSetSecurityLevel()
497 if (!BTM_SetSecurityLevel(true, serv_name, BTM_SEC_SERVICE_HIDH_INTR, in HID_HostSetSecurityLevel()
504 if (!BTM_SetSecurityLevel(false, serv_name, BTM_SEC_SERVICE_HIDH_INTR, in HID_HostSetSecurityLevel()
/system/bt/bta/hf_client/
Dbta_hf_client_rfc.cc179 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_HF_HANDSFREE, in bta_hf_client_start_server()
240 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_HF_HANDSFREE, in bta_hf_client_rfc_do_open()
/system/bt/stack/avdt/
Davdt_api.cc89 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
91 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
95 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
97 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
102 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
104 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVDTP_NOSEC, BTM_SEC_NONE, in AVDT_Register()
Davdt_ccb_act.cc932 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVDTP, in avdt_ccb_set_conn()
/system/bt/bta/ag/
Dbta_ag_rfc.cc271 BTM_SetSecurityLevel(false, "", bta_ag_sec_id[i], p_scb->serv_sec_mask, in bta_ag_start_servers()
347 BTM_SetSecurityLevel(true, "", bta_ag_sec_id[p_scb->conn_service], in bta_ag_rfc_do_open()
/system/bt/stack/mcap/
Dmca_api.cc143 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_MCAP_CTRL, in MCA_Register()
152 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_MCAP_DATA, in MCA_Register()
325 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_MCAP_CTRL, sec_mask, in MCA_ConnectReq()
682 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_MCAP_DATA, p_ccb->sec_mask, in MCA_DataChnlCfg()
Dmca_cact.cc177 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_MCAP_DATA, in mca_ccb_snd_rsp()
478 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_MCAP_DATA, in mca_ccb_hdl_rsp()
/system/bt/stack/sdp/
Dsdp_main.cc89 if (!BTM_SetSecurityLevel(false, SDP_SERVICE_NAME, BTM_SEC_SERVICE_SDP_SERVER, in sdp_init()
97 if (!BTM_SetSecurityLevel(true, SDP_SERVICE_NAME, BTM_SEC_SERVICE_SDP_SERVER, in sdp_init()
/system/bt/stack/gatt/
Dgatt_main.cc129 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_ATT, BTM_SEC_NONE, BT_PSM_ATT, in gatt_init()
131 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_ATT, BTM_SEC_NONE, BT_PSM_ATT, in gatt_init()
/system/bt/stack/include/
Dbtm_api.h1379 extern bool BTM_SetSecurityLevel(bool is_originator, const char* p_name,
/system/bt/stack/gap/
Dgap_conn.cc215 if (!BTM_SetSecurityLevel((uint8_t)!is_server, p_serv_name, p_ccb->service_id, in GAP_ConnOpen()
/system/bt/bta/jv/
Dbta_jv_act.cc1530 BTM_SetSecurityLevel(true, "", sec_id, cc->sec_mask, BT_PSM_RFCOMM, in bta_jv_rfcomm_connect()
1851 BTM_SetSecurityLevel(false, "JV PORT", sec_id, rs->sec_mask, in bta_jv_rfcomm_start_server()
/system/bt/stack/btm/
Dbtm_sec.cc455 bool BTM_SetSecurityLevel(bool is_originator, const char* p_name, in BTM_SetSecurityLevel() function
2876 BTM_SetSecurityLevel(false, "RFC_MUX", BTM_SEC_SERVICE_RFC_MUX, in btm_sec_dev_reset()