Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Dcras_client_unittest.cc65 client_.server_fd_state = CRAS_SOCKET_STATE_CONNECTED; in SetUp()
294 client_.server_fd_state = CRAS_SOCKET_STATE_CONNECTED; in TEST_F()
346 client.server_fd_state = CRAS_SOCKET_STATE_CONNECTED; in TEST()
/external/adhd/cras/src/libcras/
Dcras_client.c224 cras_socket_state_t server_fd_state; member
463 switch (client->server_fd_state) { in server_fill_pollfd()
486 if (state == client->server_fd_state) in server_fd_move_to_state()
489 client->server_fd_state = state; in server_fd_move_to_state()
710 cras_socket_state_t old_state = client->server_fd_state; in disconnect_transition_action()
792 old_state = client->server_fd_state; in server_fd_dispatch()
794 switch (client->server_fd_state) { in server_fd_dispatch()
819 } else if (old_state != client->server_fd_state) { in server_fd_dispatch()
831 if (client->server_fd_state != CRAS_SOCKET_STATE_DISCONNECTED) in server_connect()
843 if (client->server_fd_state == CRAS_SOCKET_STATE_DISCONNECTED) in server_disconnect()
[all …]