Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sock_sco.cc110 sco_socket_t* sco_socket = sco_socket_establish_locked(true, NULL, sock_fd); in btsock_sco_listen() local
111 if (!sco_socket) return BT_STATUS_FAIL; in btsock_sco_listen()
113 BTM_RegForEScoEvts(sco_socket->sco_handle, connection_request_cb); in btsock_sco_listen()
114 listen_sco_socket = sco_socket; in btsock_sco_listen()
125 sco_socket_t* sco_socket = in btsock_sco_connect() local
128 return (sco_socket != NULL) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btsock_sco_connect()
136 sco_socket_t* sco_socket = NULL; in sco_socket_establish_locked() local
146 sco_socket = sco_socket_new(); in sco_socket_establish_locked()
147 if (!sco_socket) { in sco_socket_establish_locked()
154 &sco_socket->sco_handle, connect_completed_cb, in sco_socket_establish_locked()
[all …]