Home
last modified time | relevance | path

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

/external/adhd/cras/src/libcras/
Dcras_client.c222 cras_socket_state_t server_fd_state; member
370 switch (client->server_fd_state) { in server_fill_pollfd()
393 if (state == client->server_fd_state) in server_fd_move_to_state()
396 client->server_fd_state = state; in server_fd_move_to_state()
621 cras_socket_state_t old_state = client->server_fd_state; in disconnect_transition_action()
708 old_state = client->server_fd_state; in server_fd_dispatch()
710 switch (client->server_fd_state) { in server_fd_dispatch()
735 } else if (old_state != client->server_fd_state) { in server_fd_dispatch()
747 if (client->server_fd_state != CRAS_SOCKET_STATE_DISCONNECTED) in server_connect()
759 if (client->server_fd_state == CRAS_SOCKET_STATE_DISCONNECTED) in server_disconnect()
[all …]
/external/adhd/cras/src/tests/
Dcras_client_unittest.cc72 client_.server_fd_state = CRAS_SOCKET_STATE_CONNECTED; in SetUp()