Home
last modified time | relevance | path

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

/system/bt/stack/rfcomm/
Dport_api.c109 int RFCOMM_CreateConnection (UINT16 uuid, UINT8 scn, BOOLEAN is_server, in RFCOMM_CreateConnection() argument
135 if (p_mcb && !p_mcb->is_initiator && !is_server) in RFCOMM_CreateConnection()
140 scn, dlci, is_server, mtu, p_mcb); in RFCOMM_CreateConnection()
144 if (!is_server && ((p_port = port_find_port (dlci, bd_addr)) != NULL)) in RFCOMM_CreateConnection()
147 if (p_port->is_server == FALSE) in RFCOMM_CreateConnection()
161 scn, dlci, is_server, mtu, p_mcb, p_port); in RFCOMM_CreateConnection()
188 p_port->is_server = is_server; in RFCOMM_CreateConnection()
206 if( is_server ) in RFCOMM_CreateConnection()
223 if (p_port->is_server) in RFCOMM_CreateConnection()
1390 if (p_port->is_server && (p_port->rfc.state != RFC_STATE_OPENED)) in port_write()
Dport_int.h161 BOOLEAN is_server; /* TRUE if the server application */ member
Dport_utils.c259 if(p_port->is_server) in port_release_port()
Dport_rfc.c1050 if ((p_port->state == PORT_STATE_OPENING) && (p_port->is_server)) in port_rfc_closed()
/system/bt/stack/gap/
Dgap_conn.c123 UINT16 GAP_ConnOpen (char *p_serv_name, UINT8 service_id, BOOLEAN is_server, in GAP_ConnOpen() argument
147 else if (!is_server) in GAP_ConnOpen()
154 if (!p_ccb->rem_addr_specified && !is_server) in GAP_ConnOpen()
169 if (!is_server) in GAP_ConnOpen()
174 if (!is_server) in GAP_ConnOpen()
191 if (!BTM_SetSecurityLevel ((UINT8)!is_server, p_serv_name, in GAP_ConnOpen()
219 if (is_server) in GAP_ConnOpen()
/system/bt/btif/src/
Dbtif_sock_l2cap.c301 char is_server, int flags) in btsock_l2cap_alloc_l() argument
308 security |= is_server ? BTM_SEC_IN_ENCRYPT : BTM_SEC_OUT_ENCRYPT; in btsock_l2cap_alloc_l()
310 security |= is_server ? BTM_SEC_IN_AUTHENTICATE : BTM_SEC_OUT_AUTHENTICATE; in btsock_l2cap_alloc_l()
312 security |= is_server ? BTM_SEC_IN_MITM : BTM_SEC_OUT_MITM; in btsock_l2cap_alloc_l()
330 sock->server = is_server; in btsock_l2cap_alloc_l()
373 char is_server, int flags) in btsock_l2cap_alloc() argument
378 ret = btsock_l2cap_alloc_l(name, addr, is_server, flags); in btsock_l2cap_alloc()
/system/bt/stack/include/
Dgap_api.h145 extern UINT16 GAP_ConnOpen (char *p_serv_name, UINT8 service_id, BOOLEAN is_server,
Dport_api.h220 BOOLEAN is_server, UINT16 mtu,
/system/core/adb/
Dcommandline.cpp955 int is_server = 0; in adb_commandline() local
991 is_server = 1; in adb_commandline()
1074 if (is_server) { in adb_commandline()