Home
last modified time | relevance | path

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

/system/bt/stack/rfcomm/
Dport_api.cc115 int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server, in RFCOMM_CreateConnection() argument
124 << ", is_server=" << is_server in RFCOMM_CreateConnection()
134 if (p_mcb && !p_mcb->is_initiator && !is_server) { in RFCOMM_CreateConnection()
143 if (!is_server) { in RFCOMM_CreateConnection()
147 if (!p_port->is_server) { in RFCOMM_CreateConnection()
154 << ", is_server=" << is_server << ", mtu=" << mtu in RFCOMM_CreateConnection()
168 << ", scn=" << std::to_string(scn) << ", is_server=" << is_server in RFCOMM_CreateConnection()
199 p_port->is_server = is_server; in RFCOMM_CreateConnection()
216 if (is_server) { in RFCOMM_CreateConnection()
228 << ", scn=" << std::to_string(scn) << ", is_server=" << is_server in RFCOMM_CreateConnection()
[all …]
Dport_int.h156 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()
259 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.h177 bool is_server, const RawAddress* p_rem_bda,
Dport_api.h216 extern int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server,
/system/bt/btif/src/
Dbtif_sock_l2cap.cc286 char is_server, int flags) { in btsock_l2cap_alloc_l() argument
292 security |= is_server ? BTM_SEC_IN_ENCRYPT : BTM_SEC_OUT_ENCRYPT; in btsock_l2cap_alloc_l()
294 security |= is_server ? BTM_SEC_IN_AUTHENTICATE : BTM_SEC_OUT_AUTHENTICATE; in btsock_l2cap_alloc_l()
296 security |= is_server ? BTM_SEC_IN_MITM : BTM_SEC_OUT_MITM; in btsock_l2cap_alloc_l()
308 sock->server = is_server; in btsock_l2cap_alloc_l()
/system/core/adb/client/
Dcommandline.cpp1416 bool is_server = false; in adb_commandline() local
1436 is_server = true; in adb_commandline()
1558 if (is_server) { in adb_commandline()