Home
last modified time | relevance | path

Searched refs:sec_mask (Results 1 – 25 of 43) sorted by relevance

12

/system/bt/bta/hf_client/
Dbta_hf_client_api.cc52 tBTA_STATUS BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK* p_cback, tBTA_SEC sec_mask, in BTA_HfClientEnable() argument
55 return bta_hf_client_api_enable(p_cback, sec_mask, features, p_service_name); in BTA_HfClientEnable()
79 void BTA_HfClientOpen(const RawAddress& bd_addr, tBTA_SEC sec_mask, in BTA_HfClientOpen() argument
93 p_buf->sec_mask = sec_mask; in BTA_HfClientOpen()
/system/bt/stack/pan/
Dpan_utils.cc64 uint32_t pan_register_with_sdp(uint16_t uuid, uint8_t sec_mask, in pan_register_with_sdp() argument
103 if (sec_mask) { in pan_register_with_sdp()
128 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_NAP, sec_mask, in pan_register_with_sdp()
132 sec_mask, BT_PSM_BNEP, BTM_SEC_PROTO_BNEP, 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()
153 sec_mask, BT_PSM_BNEP, BTM_SEC_PROTO_BNEP, in pan_register_with_sdp()
156 sec_mask, BT_PSM_BNEP, BTM_SEC_PROTO_BNEP, in pan_register_with_sdp()
Dpan_api.cc129 tPAN_RESULT PAN_SetRole(uint8_t role, uint8_t* sec_mask, in PAN_SetRole() argument
151 if (!sec_mask) in PAN_SetRole()
154 p_sec = sec_mask; in PAN_SetRole()
Dpan_int.h119 extern uint32_t pan_register_with_sdp(uint16_t uuid, uint8_t sec_mask,
/system/bt/bta/ag/
Dbta_ag_api.cc93 void BTA_AgRegister(tBTA_SERVICE_MASK services, tBTA_SEC sec_mask, in BTA_AgRegister() argument
98 FROM_HERE, base::Bind(&bta_ag_api_register, services, sec_mask, features, in BTA_AgRegister()
131 void BTA_AgOpen(uint16_t handle, const RawAddress& bd_addr, tBTA_SEC sec_mask) { in BTA_AgOpen() argument
134 data.api_open.sec_mask = sec_mask; in BTA_AgOpen()
Dbta_ag_int.h121 tBTA_SEC sec_mask; member
129 tBTA_SEC sec_mask; member
296 extern void bta_ag_api_register(tBTA_SERVICE_MASK services, tBTA_SEC sec_mask,
Dbta_ag_main.cc568 .api_open.sec_mask = p_scb->cli_sec_mask}; in bta_ag_resume_open()
656 void bta_ag_api_register(tBTA_SERVICE_MASK services, tBTA_SEC sec_mask, in bta_ag_api_register() argument
665 data.api_register.sec_mask = sec_mask; in bta_ag_api_register()
/system/bt/bta/hh/
Dbta_hh_api.cc62 void BTA_HhEnable(tBTA_SEC sec_mask, tBTA_HH_CBACK* p_cback) { in BTA_HhEnable() argument
66 LOG_INFO(LOG_TAG, "%s sec_mask:0x%x p_cback:%p", __func__, sec_mask, p_cback); in BTA_HhEnable()
73 p_buf->sec_mask = sec_mask; in BTA_HhEnable()
126 tBTA_SEC sec_mask) { in BTA_HhOpen() argument
132 p_buf->sec_mask = sec_mask; in BTA_HhOpen()
Dbta_hh_int.h111 uint8_t sec_mask; member
119 uint8_t sec_mask; member
225 uint8_t sec_mask; /* security mask */ member
/system/bt/bta/jv/
Dbta_jv_api.cc264 void BTA_JvL2capConnect(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capConnect() argument
275 Bind(&bta_jv_l2cap_connect, conn_type, sec_mask, role, in BTA_JvL2capConnect()
333 void BTA_JvL2capStartServer(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capStartServer() argument
343 Bind(&bta_jv_l2cap_start_server, conn_type, sec_mask, role, in BTA_JvL2capStartServer()
535 tBTA_JV_STATUS BTA_JvRfcommConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvRfcommConnect() argument
545 Bind(&bta_jv_rfcomm_connect, sec_mask, role, remote_scn, in BTA_JvRfcommConnect()
590 tBTA_JV_STATUS BTA_JvRfcommStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvRfcommStartServer() argument
606 Bind(&bta_jv_rfcomm_start_server, sec_mask, role, local_scn, in BTA_JvRfcommStartServer()
Dbta_jv_int.h153 extern void bta_jv_l2cap_connect(int32_t type, tBTA_SEC sec_mask,
163 int32_t type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, uint16_t local_psm,
171 extern void bta_jv_rfcomm_connect(tBTA_SEC sec_mask, tBTA_JV_ROLE role,
177 extern void bta_jv_rfcomm_start_server(tBTA_SEC sec_mask, tBTA_JV_ROLE role,
/system/bt/bta/pan/
Dbta_pan_api.cc111 p_buf->user_sec_mask = p_user_info->sec_mask; in BTA_PanSetRole()
119 p_buf->gn_sec_mask = p_gn_info->sec_mask; in BTA_PanSetRole()
127 p_buf->nap_sec_mask = p_nap_info->sec_mask; in BTA_PanSetRole()
/system/bt/stack/avct/
Davct_api.cc55 uint8_t sec_mask) { in AVCT_Register() argument
63 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_PSM, 0, in AVCT_Register()
65 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_PSM, 0, in AVCT_Register()
77 BTM_SetSecurityLevel(true, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_BR_PSM, in AVCT_Register()
79 BTM_SetSecurityLevel(false, "", BTM_SEC_SERVICE_AVCTP, sec_mask, AVCT_BR_PSM, in AVCT_Register()
/system/bt/bta/av/
Dbta_av_api.cc62 void BTA_AvEnable(tBTA_SEC sec_mask, tBTA_AV_FEAT features, in BTA_AvEnable() argument
73 p_buf->sec_mask = sec_mask; in BTA_AvEnable()
158 tBTA_SEC sec_mask, uint16_t uuid) { in BTA_AvOpen() argument
161 (use_rc) ? "true" : "false", sec_mask, uuid); in BTA_AvOpen()
170 p_buf->sec_mask = sec_mask; in BTA_AvOpen()
Dbta_av_main.cc240 bta_av_cb.sec_mask = p_data->api_enable.sec_mask; in bta_av_api_enable()
525 reg.sec_mask = bta_av_cb.sec_mask; in bta_av_api_register()
538 bta_av_cb.sec_mask, BTA_ID_AV); in bta_av_api_register()
541 (uint8_t)(bta_av_cb.sec_mask & (~BTA_SEC_AUTHORIZE)), in bta_av_api_register()
692 bta_av_cb.sec_mask, BTA_ID_AV); in bta_av_api_register()
695 (uint8_t)(bta_av_cb.sec_mask & (~BTA_SEC_AUTHORIZE)), in bta_av_api_register()
1403 dprintf(fd, " Security mask: 0x%x\n", bta_av_cb.sec_mask); in bta_debug_av_dump()
1453 dprintf(fd, " Security mask: 0x%x\n", p_scb->q_info.open.sec_mask); in bta_debug_av_dump()
1460 dprintf(fd, " Security mask: 0x%x\n", p_scb->open_api.sec_mask); in bta_debug_av_dump()
1467 dprintf(fd, " Security mask: 0x%x\n", p_scb->sec_mask); in bta_debug_av_dump()
/system/bt/stack/include/
Davdt_api.h280 sec_mask(0), in AvdtpRcb()
289 sec_mask = 0; in Reset()
297 uint8_t sec_mask; /* Security mask for BTM_SetSecurityLevel() */ variable
903 uint8_t channel_index, uint8_t sec_mask,
Davct_api.h139 extern void AVCT_Register(uint16_t mtu, uint16_t mtu_br, uint8_t sec_mask);
/system/bt/bta/include/
Dbta_jv_api.h532 void BTA_JvL2capConnect(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role,
578 void BTA_JvL2capStartServer(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role,
704 tBTA_JV_STATUS BTA_JvRfcommConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role,
737 tBTA_JV_STATUS BTA_JvRfcommStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role,
Dbta_ar_api.h101 extern void bta_ar_reg_avct(uint16_t mtu, uint16_t mtu_br, uint8_t sec_mask,
Dbta_hf_client_api.h276 tBTA_STATUS BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK* p_cback, tBTA_SEC sec_mask,
306 void BTA_HfClientOpen(const RawAddress& bd_addr, tBTA_SEC sec_mask,
Dbta_pan_api.h60 tBTA_SEC sec_mask; /* security setting for the role */ member
Dbta_hh_api.h314 extern void BTA_HhEnable(tBTA_SEC sec_mask, tBTA_HH_CBACK* p_cback);
339 tBTA_SEC sec_mask);
Dbta_ag_api.h503 void BTA_AgRegister(tBTA_SERVICE_MASK services, tBTA_SEC sec_mask,
533 void BTA_AgOpen(uint16_t handle, const RawAddress& bd_addr, tBTA_SEC sec_mask);
/system/bt/bta/ar/
Dbta_ar.cc182 void bta_ar_reg_avct(uint16_t mtu, uint16_t mtu_br, uint8_t sec_mask, in bta_ar_reg_avct() argument
188 AVCT_Register(mtu, mtu_br, sec_mask); in bta_ar_reg_avct()
/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()
961 uint8_t sec_mask, tAVDT_CTRL_CBACK* p_cback) { in AVDT_ConnectReq() argument
967 bd_addr.ToString().c_str(), channel_index, sec_mask); in AVDT_ConnectReq()
987 evt.connect.sec_mask = sec_mask; in AVDT_ConnectReq()
1221 dprintf(fd, " Security mask: 0x%x\n", avdtp_cb.rcb.sec_mask); in stack_debug_avdtp_api_dump()

12