Searched refs:is_server (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/rfcomm/ |
D | port_api.cc | 115 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()
|
D | port_int.h | 156 bool is_server; /* true if the server application */ member
|
D | port_rfc.cc | 953 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()
|
D | port_utils.cc | 258 if (p_port->is_server) p_port->dlci &= 0xfe; in port_release_port()
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 163 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/ |
D | gap_api.h | 165 bool is_server, const RawAddress* p_rem_bda,
|
D | port_api.h | 216 extern int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server,
|
/system/bt/btif/src/ |
D | btif_sock_l2cap.cc | 277 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/ |
D | commandline.cpp | 1335 int is_server = 0; in adb_commandline() local 1355 is_server = 1; in adb_commandline() 1478 if (is_server) { in adb_commandline()
|