Home
last modified time | relevance | path

Searched refs:is_server (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/rfcomm/
Dport_api.cc104 int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server, in RFCOMM_CreateConnection() argument
113 << ", is_server=" << is_server in RFCOMM_CreateConnection()
123 if (p_mcb && !p_mcb->is_initiator && !is_server) { in RFCOMM_CreateConnection()
132 if (!is_server) { in RFCOMM_CreateConnection()
136 if (!p_port->is_server) { in RFCOMM_CreateConnection()
143 << ", is_server=" << is_server << ", mtu=" << mtu in RFCOMM_CreateConnection()
157 << ", scn=" << std::to_string(scn) << ", is_server=" << is_server in RFCOMM_CreateConnection()
188 p_port->is_server = is_server; in RFCOMM_CreateConnection()
205 if (is_server) { in RFCOMM_CreateConnection()
217 << ", scn=" << std::to_string(scn) << ", is_server=" << is_server in RFCOMM_CreateConnection()
[all …]
Dport_int.h139 bool is_server; /* true if the server application */ member
Dport_rfc.cc954 if ((p_port->state == PORT_STATE_OPENING) && (p_port->is_server)) { in port_rfc_closed()
1005 << ", is_server=" << p_port->is_server; in port_rfc_closed()
Dport_utils.cc262 if (p_port->is_server) p_port->dlci &= 0xfe; in port_release_port()
/system/bt/stack/gap/
Dgap_conn.cc169 bool is_server, const RawAddress* p_rem_bda, uint16_t psm, in GAP_ConnOpen() argument
195 } else if (!is_server) { in GAP_ConnOpen()
201 if (!p_ccb->rem_addr_specified && !is_server) { in GAP_ConnOpen()
231 if (!is_server) in GAP_ConnOpen()
272 if (!BTM_SetSecurityLevel((uint8_t)!is_server, p_serv_name, p_ccb->service_id, in GAP_ConnOpen()
285 if (is_server) { in GAP_ConnOpen()
/system/bt/stack/include/
Dgap_api.h176 bool is_server, const RawAddress* p_rem_bda,
Dport_api.h184 extern int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server,
/system/bt/btif/src/
Dbtif_sock_l2cap.cc292 char is_server, int flags) { in btsock_l2cap_alloc_l() argument
298 security |= is_server ? BTM_SEC_IN_ENCRYPT : BTM_SEC_OUT_ENCRYPT; in btsock_l2cap_alloc_l()
300 security |= is_server ? BTM_SEC_IN_AUTHENTICATE : BTM_SEC_OUT_AUTHENTICATE; in btsock_l2cap_alloc_l()
302 security |= is_server ? BTM_SEC_IN_MITM : BTM_SEC_OUT_MITM; in btsock_l2cap_alloc_l()
314 sock->server = is_server; in btsock_l2cap_alloc_l()
/system/core/adb/client/
Dcommandline.cpp1518 bool is_server = false; in adb_commandline() local
1538 is_server = true; in adb_commandline()
1660 if (is_server) { in adb_commandline()