Home
last modified time | relevance | path

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

/art/dt_fd_forward/
Ddt_fd_forward.cc83 state_(TransportState::kClosed), in FdForwardTransport()
88 bool FdForwardTransport::ChangeState(TransportState old_state, TransportState new_state) { in ChangeState()
123 if (!ChangeState(TransportState::kClosed, TransportState::kListenSetup)) { in SetupListen()
128 CHECK(ChangeState(TransportState::kListenSetup, TransportState::kListening)); in SetupListen()
143 if (ChangeState(TransportState::kListening, TransportState::kClosed) || in StopListening()
144 state_ == TransportState::kOpen) { in StopListening()
208 if (state_ != TransportState::kOpen || seq_num != current_seq_num_) { in ReadFully()
282 if (state_ != TransportState::kOpen) { in WriteFully()
372 while (!ChangeState(TransportState::kListening, TransportState::kOpening)) { in Accept()
373 if (state_ == TransportState::kClosed || in Accept()
[all …]
Ddt_fd_forward.h66 enum class TransportState { enum
106 bool ChangeState(TransportState old_state, TransportState new_state); // REQUIRES(state_mutex_);
142 TransportState state_; // GUARDED_BY(state_mutex_);