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()
166 << ", scn=" << std::to_string(scn) << ", is_server=" << is_server in RFCOMM_CreateConnection()
196 p_port->is_server = is_server; in RFCOMM_CreateConnection()
215 if (is_server) { in RFCOMM_CreateConnection()
231 << ", 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.cc957 if ((p_port->state == PORT_STATE_OPENING) && (p_port->is_server)) { in port_rfc_closed()
1006 p_port->uuid, p_port->bd_addr.ToString().c_str(), 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()
260 if (!BTM_SetSecurityLevel((uint8_t)!is_server, p_serv_name, p_ccb->service_id, in GAP_ConnOpen()
286 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.cc272 char is_server, int flags) { in btsock_l2cap_alloc_l() argument
278 security |= is_server ? BTM_SEC_IN_ENCRYPT : BTM_SEC_OUT_ENCRYPT; in btsock_l2cap_alloc_l()
280 security |= is_server ? BTM_SEC_IN_AUTHENTICATE : BTM_SEC_OUT_AUTHENTICATE; in btsock_l2cap_alloc_l()
282 security |= is_server ? BTM_SEC_IN_MITM : BTM_SEC_OUT_MITM; in btsock_l2cap_alloc_l()
294 sock->server = is_server; in btsock_l2cap_alloc_l()
/system/core/adb/
Dcommandline.cpp1336 int is_server = 0; in adb_commandline() local
1356 is_server = 1; in adb_commandline()
1479 if (is_server) { in adb_commandline()