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
135 if (p_mcb && !p_mcb->is_initiator && !is_server) in RFCOMM_CreateConnection()
142 scn, dlci, is_server, mtu, p_mcb); in RFCOMM_CreateConnection()
146 if (!is_server) { in RFCOMM_CreateConnection()
150 if (p_port->is_server == false) { in RFCOMM_CreateConnection()
170 scn, dlci, is_server, mtu, p_mcb, p_port); in RFCOMM_CreateConnection()
198 p_port->is_server = is_server; in RFCOMM_CreateConnection()
216 if (is_server) { in RFCOMM_CreateConnection()
232 if (p_port->is_server) { in RFCOMM_CreateConnection()
1283 if (p_port->is_server && (p_port->rfc.state != RFC_STATE_OPENED)) { in port_write()
Dport_int.h156 bool is_server; /* true if the server application */ member
Dport_rfc.cc953 if ((p_port->state == PORT_STATE_OPENING) && (p_port->is_server)) { in port_rfc_closed()
1002 p_port->uuid, p_port->bd_addr.ToString().c_str(), p_port->is_server); in port_rfc_closed()
Dport_utils.cc258 if (p_port->is_server) p_port->dlci &= 0xfe; in port_release_port()
/system/bt/stack/gap/
Dgap_conn.cc163 bool is_server, const RawAddress* p_rem_bda, uint16_t psm, in GAP_ConnOpen() argument
188 } else if (!is_server) { in GAP_ConnOpen()
194 if (!p_ccb->rem_addr_specified && !is_server) { in GAP_ConnOpen()
214 if (!is_server) in GAP_ConnOpen()
243 if (!BTM_SetSecurityLevel((uint8_t)!is_server, p_serv_name, p_ccb->service_id, in GAP_ConnOpen()
269 if (is_server) { in GAP_ConnOpen()
/system/bt/stack/include/
Dgap_api.h165 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.cc277 char is_server, int flags) { in btsock_l2cap_alloc_l() argument
283 security |= is_server ? BTM_SEC_IN_ENCRYPT : BTM_SEC_OUT_ENCRYPT; in btsock_l2cap_alloc_l()
285 security |= is_server ? BTM_SEC_IN_AUTHENTICATE : BTM_SEC_OUT_AUTHENTICATE; in btsock_l2cap_alloc_l()
287 security |= is_server ? BTM_SEC_IN_MITM : BTM_SEC_OUT_MITM; in btsock_l2cap_alloc_l()
299 sock->server = is_server; in btsock_l2cap_alloc_l()
/system/core/adb/
Dcommandline.cpp1335 int is_server = 0; in adb_commandline() local
1355 is_server = 1; in adb_commandline()
1478 if (is_server) { in adb_commandline()