Home
last modified time | relevance | path

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

/art/dt_fd_forward/
Ddt_fd_forward.cc81 state_(TransportState::kClosed), in FdForwardTransport()
86 bool FdForwardTransport::ChangeState(TransportState old_state, TransportState new_state) { in ChangeState()
121 if (!ChangeState(TransportState::kClosed, TransportState::kListenSetup)) { in SetupListen()
126 CHECK(ChangeState(TransportState::kListenSetup, TransportState::kListening)); in SetupListen()
141 if (ChangeState(TransportState::kListening, TransportState::kClosed) || in StopListening()
142 state_ == TransportState::kOpen) { in StopListening()
206 if (state_ != TransportState::kOpen || seq_num != current_seq_num_) { in ReadFully()
280 if (state_ != TransportState::kOpen) { in WriteFully()
365 while (!ChangeState(TransportState::kListening, TransportState::kOpening)) { in Accept()
366 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_);